A small post about using System.IO.Compression.DeflateStream
for compressing data in C# (and Haxe-C#).
GameMaker: a buffer pretty-printing function
Output sample
Ever work in GameMaker and find yourself thinking "I wish I could log the contents of this buffer without pausing and staring at it in the debugger"?
Continue readingFast approximate arctan2/atan2 function
(click to interact)
The unbelievable horrors of Discord account security
A small sample of people's pleas to Discord - from Twitter
Should you open any Discord tweet and scroll past the usual meme and good time responses, you'll see no less than a few pleas for help - even more if you look at their mentions.
So how did we get here and how does it keep getting worse - with even competent users losing their accounts and servers to hackers?
Continue readingMaking a non-Euclidean game in Godot
I made a game with non-Euclidean mechanics for "Stop Waiting For Godot" game jam last weekend!
You can check it out on itch.io (this includes a web version) and find the source code on GitHub.
This is a post about how I did it and my first-time experiences with Godot.
Continue readingWeighted “choose” function
A little post about a little GameMaker script to randomly return one of the values while minding their "weights" - in other words, a "biased" version of choose.
Continue readingC/C++: Making a very tiny DLL (in Visual Studio)
Having been making native extensions for GameMaker for years, there is one thing that always bothered me: although the code is often minimal (some of my smaller extensions have less than 100 lines of code!), the DLLs still come out to 70..100KB OR have to depend on Microsoft Visual C++ Runtime Redistributable, which is non-preferable for games that should "just run".
Having finally figured it out, I decided to write a small post about the matter.
Continue readingC/C++: printf() without standard library (on Windows)
If you are developing a C++ application without use of standard library (be it a driver, shellcode, or just a tiny DLL), you might have noticed that this also means that you don't get to use the standard formatted output function. This is a post about getting around that through use of WinAPI.
Continue reading“Making a Godot game in GameMaker” breakdown
Click to watch the video on YouTube (or on Twitter, Reddit)
For this April Fools I made a small video showing me create and run a Godot project in GameMaker!
It's a good goof, but what if I told you that the video is not edited?
This is a post about how that had been accomplished.
Continue readingForager in retrospect
In light of recent news (original wording on archive) of the game's multiplayer update being canceled and overall uncertainty about the game's future, I look back at the game, the announcement, and how did this even happen.
Continue reading