This is a post about how to call a function from a parent constructor in a same-named function in a child constructor and how static
works in GameMaker Language in general.
Tag Archives: gamemaker
GameMaker: trace/log function with position information
Have you ever wanted to automatically show file+line in your debug output so that you don't have to guess which of three places did a line reading "oh no" come out?
Continue readingGameMaker: DIY closures
GameMaker Language currently doesn't have closures.
It might in GMRT (proposal), but for now you cannot do something like this
function get_enemies_below_hp(_enemies, _threshold) { return array_filter(_enemies, function(_enemy) { return _enemy.hp < _threshold; }); }
because _threshold
is not visible inside the inner function.
But there are some ways around that.
Continue readingGameMaker: Homing missiles
This is a post about doing homing missiles in GameMaker!
Continue readingGameMaker: Windows extensions FAQ
This is a little FAQ for various Windows-specific extensions for GameMaker that I make!
Continue readingBuilding a better localization system for GameMaker
We recently added localization support to Ghost Croquet!
In doing so, I have also improved the localization system that I use in my projects (and perhaps you could too).
This is a post about the process, architecture, and challenges.
Continue readingSome extensions are now GM8.1-compatible
Thanks to my further advancements[?] in technology, some of my extensions can be used in even older GameMaker versions, such as GameMaker 8.1.
Continue readingGameMaker: filtering strings
Alternatively titled "string_letters
but for any kind of character".
Variable references in GameMaker (2023 edition)
It's been 5 years since my "variable references in GameMaker" post and people are still interested in passing variables by reference, so this I'm giving the idea a little refresh with new tools that are now available.
Continue readingGameMaker: “Can you make a game in an old GM version?”
Does it belong in a museum... or my game?
This is a post about practicality of using variously old GameMaker versions and what it'll take to make your project run correctly for most users.
Continue reading