Sign in

Yuan Gao

@meseta.dev
156 followers 38 following 20 posts

GameDev, working on an MMO and trying force better tools onto indie devs Website: meseta.dev Former birdsite: x.com/mesetatron

PostsRepliesMedia
Yuan Gao @meseta.dev · 28/12/2023
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
skgm.meseta.dev
ServerKit GameMaker
An open source control panel to allow easy updating and administration of GameMaker servers.
130
Yuan Gao @meseta.dev · 24/12/2023
gamemaker devs, do you know about the fabled "s" variable?
120
Yuan Gao @meseta.dev · 23/12/2023
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-...
meseta.dev
HyperText GameMaker: Make Websites in GameMaker
Making websites in GameMaker is easier than you think. Let's look at using HyperText GameMaker to make a simple website
051
Yuan Gao @meseta.dev · 22/12/2023
I've released it. It's MIT license, you can now make websites in GameMaker htgm.meseta.dev
htgm.meseta.dev
HyperText GameMaker
A web-server framework for GameMaker written in pure GML.
040
Yuan Gao @meseta.dev · 11/12/2023
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...
meseta.dev
MinHeap Priority Queues, an alternative for ds_priority
A modern GC-friendly version of ds_priority based on arrays and structs
021
Yuan Gao @meseta.dev · 11/12/2023
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...
meseta.dev
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
021
Yuan Gao @meseta.dev · 09/12/2023
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...
meseta.dev
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
020
Yuan Gao @meseta.dev · 30/11/2023
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
051
Yuan Gao @meseta.dev · 30/11/2023
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.
100
Yuan Gao @meseta.dev · 04/08/2023
Waiting for Gamemaker to run, so I can run Gamemaker while I run
a laptop running Gamemaker on a treadmill
050
Yuan Gao @meseta.dev · 18/07/2023
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
supermarket isle in China, selling Hoegaarden beer for 6.9 RMB
000
Yuan Gao @meseta.dev · 17/06/2023
well that's ominous
020
Yuan Gao @meseta.dev · 17/06/2023
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
Chinese sign that has an English translation that reads "No dog shitting here please"
240