Welcome to my website. This website is currently being run on a Very Simple Web Server.
If you're looking for my portfolio you can find it here.
Recently I've been working on a procedual level generator for Gamemaker that uses gamemaker rooms as templates for placing room segments into the level. The system works really well, except for one small bump in the road: every time you want to test your new rooms you need to copy the rooms folder in your project to the datafiles folder.
My first atempt was to use gml_pragma and steal Yellow After Life's recursive folder copy script to move them around, but gml_pragma runs after the compiler loads all the files into memory, and so the changes wouldn't go into effect untill the next to you ran your code.
The next thought was to change the file path where the game would look for the files. During development the path could be "D:\Git\MetroGnome\rooms", and then be just set to "\rooms" before the game is compiled into an executable. This worked but wasn't as simple as it should have been
Finally i found out about a series of special names you could call .bat files to have them run during crucial moments when you would not usually be able to take any action. One such name is pre_build_step.bat, which allows you to run code before the build step is taken. Before Gamemaker loads the project files into memory for building.
The command required to move the files can be found below. It's a simple xcopy command using %~dp0 to get the path to the directory that the .bat file is being run in
xcopy "%~dp0\rooms" "%~dp0datafiles\rooms" /y /s /i
17 25 01 22
I recently picked up the web export for Gamemaker Studio 2 on sale, as did a few people I know. I was unsure of how easy it would be to work with as I'd heard that it was broken or buggy and that many people couldn't get it to work on websites at all.
What I found instead is that it works really well, but needs to be handled differently in some situations, most of which aren't well documented or explained in the documentation. So I've created a small tutorial to run someone new to the web export through, to get them up to speed and developing for HTML as quickly as possible.
You can find that tutorial here.
14 06 21
The last few days i've been making a computer from scratch in GMS:2. You can download it over on my projects page.
Crapple OS is fully capable of saving, loading, running and editing file. For writing programs it uses my very own custom language called JANK, which you can find documentation included in the download .zip.
A a quirk to be careful of is that there is some weirdness to writing code in the very first and last line, and so its standard practive to leave these blank.
25 04 21
For this game jam, our team increased by one Kyle (Standard Imperial). This time we created a Tron disk wars style game where you gain points by lowering a chess style timer by keeping the disk on your opponent's side of the map.
You can find the game here.
25 04 21
Br👁an and I once again participated in GM(48). This time we created a Luftaurser clone that involved plane jacking and giant diseased love intrests.
22 01 21
Yep, the title says it all.
Jack Black narrated a minecraft book written by the guy that wrote World War Z. They released it for free for a bit, and I keep my free copy here.
Go support the madlads on Amazon or something, i dunno.
09 12 20 17 01 22
Each post on this website has a set of numbers along the bottom, ranging from three to six sets of two. These numbers indicate when the post was originally posted and when it was last updated.
These dates are set out in a DD MM YY for posts that have not been edited. For posts that have been edited within the same month the revision day is placed between the post day and the post month with a DD DD MM YY format. If revised in a diffrent month, the original post month is moved before the revision day and the revision month is put between the revision day and the year in a DD MM DD MM YY format. If the revision is during a diffrent year, the original post date is put before the revision date in this format DD MM YY DD MM YY.
This probably doesn't make much sense, not that it matters as most people dont need to know when a post was revised, and if they do need to know, they usually need only to know if the post has been revised or not.
05 11 20
Br👁an and I participated in the 36th GM(48) together and placed 20th, creating a base-building tower-defence game where you defend agaisnt waves of mutant cows and chickens.
24 10 05 11 20
The other day in the office while having technical difficulties with the resident printer, I had a thought, Paper Jam. One could make Paper Jam, not as in a printer malfunction, but as in a spread made of paper.
A while ago, while watching a video about making alcohol from toilet paper, I learnt that paper is mostly made of cellulose. Cellulose in turn is just many molecules of glucose connected together. This implies then that jam, usually being made of about 50% sugar, could then be made out of paper.
Similar to the above mentioned video, the cellulose would need to be broken down into glucose using a base solution and cellulase. Then pectin could be added to the mixture to turn the mixture into a jelly. Paper isn't made to be eaten, but most sources agree that it is mostly safe to eat. In theory, no other steps would need to be taken if all ingredients used were food grade and safe for consumption.
In the end, this is all theory and though it's fairly simple i'm no chemist. One day though, I would like to try to make paper jam without using a printer.
21 07 20