quickstart guide. You can get one of these up and running in Digital Ocean in about 5 minutes
meseta.dev/serverkit-ga...
quickstart guide. You can get one of these up and running in Digital Ocean in about 5 minutes
meseta.dev/serverkit-ga...
I created something to help with making servers with GameMaker: ServerKit, An open source tool to manage GameMaker servers using a cPanel-like web UI Built using GameMaker and GML A docker image is also available for easy deployment. skgm.meseta.dev
gamemaker devs, do you know about the fabled "s" variable?
Here's a walkthrough for how to build your first website using GameMaker
Rejoice, gamedevs! the internet is ours for the taking. No longer must we be held back by our domain-specific languages. GML can make websites too now.
meseta.dev/server-make-...
I've released it. It's MIT license, you can now make websites in GameMaker
htgm.meseta.dev
Need a GC-friendly priority queue for your A* path finding or character initiative turn order tracking in gamemaker? Here's a GML MinHeap and MaxHeap implementation to replace ds_priority. Finally you don't need to touch any more ds_ datastructures
meseta.dev/libraries-mi...
Pushed a new post on GameMaker exception handling, and how despite people thinking try/catch is the literal scourge, it's can be redeemed if you throw with constructors and use exception inheritance to avoid the pitfall of overbroad exception catching: meseta.dev/gamemaker-ex...
Sentinels are values you return to signify a lack of something. GameMaker is cursed when it comes to sentinels, its built-in functions return a grab-bag of "undefined", noone, and sometimes -100
But we can do better with Abstract Base Constructors!
meseta.dev/gamemaker-se...
Lol, I just reinvented PHP in Gamemaker
Using HTMX, it dynamically loads bits of DOM rendered in GML into the page. So it's doing SSR, but the server is written in, of all languages, GML
With a little work, we should be able to make an approximation of MVVM
Today, I have another task for the GML HTTP server. So I'm updating it - adding type annotations that are part of Feather, support for deflate content-encoding, and a few other goodies as well I have some even dumber things planned for this
As well as allowing the sharding service (responsible for managing the fleet of gamemaker servers) to control which room the server is running, or to send the server Idle when it's not being used
Since HTTP and REST in particular are the kings of server-side stacks (or perhaps at least the common denominator), it made sense to give GameMaker the ability to be an HTTP server
For example, in our MMO backend, we use this to provide kubernetes /healthz healthchecks.
Why did I do this? A couple years ago when I was experimenting with running GameMaker on the server, in particular inside kubernetes, I realized that one of the key things that prevent it from being used as part of server stacks is not having a nice way to interface with it
Want to see a dumb thing I made? A full on web server (HTTP/1.1) written in GML, using raw TCP socket handling
Since I'm on vacation, I spent a little time updating it to use all the new goodness in the GameMaker Beta Runtime 2023.1100 than make all the string-parsing nicer.
a laptop running Gamemaker on a treadmill
Waiting for Gamemaker to run, so I can run Gamemaker while I run
Ralph Wiggum saying "I'm helping"
supermarket isle in China, selling Hoegaarden beer for 6.9 RMB
In other good news, my local supermarket sells Hoegaarden beer, which I quite like, for ยฅ6.90, which is like $1 USD
much fun times could be had
glad to be here. Who should I follow here?
well that's ominous
Damn, ok, so for my first post gotta be a bit more shitposty
I'm currently in China, where the English translators are doing much better these days than the "engrish" that was prevalent a couple decades ago, but it's quite amusing when they don't use euphemisms that native speakers would