Yuan Gao
banner
meseta.dev
Yuan Gao
@meseta.dev
GameDev, working on an MMO and trying force better tools onto indie devs

Website: https://meseta.dev
Former birdsite: https://x.com/mesetatron
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
December 28, 2023 at 9:42 AM
gamemaker devs, do you know about the fabled "s" variable?
December 24, 2023 at 7:00 AM
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-...
December 23, 2023 at 1:32 AM
I've released it. It's MIT license, you can now make websites in GameMaker

htgm.meseta.dev
December 22, 2023 at 10:48 PM
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...
MinHeap Priority Queues, an alternative for ds_priority
A modern GC-friendly version of ds_priority based on arrays and structs
meseta.dev
December 11, 2023 at 6:30 PM
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...
Exception Inheritance in GML
GameMaker's try/catch exceptions are rife with potential pitfalls. We can do better using exception inheritance to avoid overbroad catching
meseta.dev
December 11, 2023 at 1:12 AM
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...
Sentinels and Abstract Base Constructors in GML
When it comes to returning values that indicate the absence of a thing, "undefined" can be problematic, let's explore some other options
meseta.dev
December 9, 2023 at 11:52 PM
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
November 30, 2023 at 2:17 PM
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.
November 30, 2023 at 7:29 AM
Waiting for Gamemaker to run, so I can run Gamemaker while I run
August 4, 2023 at 1:24 AM
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
July 18, 2023 at 1:59 PM
well that's ominous
June 17, 2023 at 2:13 PM
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
June 17, 2023 at 2:08 PM