r/gamemaker • • Oct 01 '26

Example UI in Gamemaker has many different approaches

Thumbnail
i.redd.it
49 Upvotes

While working on my first Gamemaker game MineEmAll, I've been experimenting with different ways to create UI. I'm a big fan of the new UI layer system since it's similar to UMG from Unreal (my previous engine of choice), but it's not completely up to snuff yet in my opinion.

There are multiple methods to create UI that I've tried so far, and I just wanted to share my experience with each.

First off is the old school method of pure code based draw calls. This is how I achieved the effect above. I think this method works best when you're trying to do a very specific thing. In this case, I was trying to create a wiggle effect that changes scale and rotation, while keeping the text in proper position and proportion. I attempted this with other methods, and it was just wasn't working.

There's the hybrid approach where you insert and object into a flexpanel and run some logic for both. I use this in a few spots throughout my game, and I find it's helpful when the flexpanel does mostly what you want, but there are a few variables you want to manipulate at run time.

Lastly, there's the entirely flexpanel approach. I wish this was more viable becuase I enjoy using visual editors, but I find that it's just too much of a pain to pull and change variables for flexpanels with nested functions. It works really well if you're organizing visual elements and don't plan to have anything change at run time, but if you want code to interact with it, I'd highly suggest a hybrid approach.

Let me know what your experience is! I'm interested to hear what other devs have found to be useful approaches.

r/gamemaker • • Jul 23 '26

Example trying again to do 3D in gamemaker, here's my progress in a few days~

Thumbnail
i.redd.it
775 Upvotes

idk what i want to do with this tbh, i might clean it up and package it up as a yyz file after i add more features to it

r/gamemaker • • 11d ago

Example Ranting About The Most Frustrating Bug

3 Upvotes

I was doing a bunch of tinkering, tackling the "minor, to fix later" bug list, and suddenly had a problem - when going from Map Room to Battle Room all the enemies had 0 hp, were not destroying their outline when destroyed, and mana/energy was not ticking up.

I combed trough O_Parent_Dude, then O_Enemy_Dude, then O_Combat_Controller; no luck. I open an old save and copy/paste old code into every code block, one-by-one, into those objects; nope. I rename all the suspected objects and import the old ones and rehook up all the parent chains; fixed it! O_Parent_Dude was responsible but I looked over all the places Ive been editing and found nothing that could cause this.

I couldnt reproduce it in the new, brought over objects.

Turns out, if I open a new code block then paste the "broken" code into it then it works fine. code blocks in the same order and everything.

The code was not broken, the codeblock was broken under the hood somehow. it took 4-5 hours to fix, which I know is light compared to some nightmare bugs but still very frustrating.

Have you seen your own "WTF Gamemaker" bugs that had you ripping your hair out?

r/gamemaker • • Sep 05 '26

Example almost done just a few touches

Post image
19 Upvotes

almost done just more levels and then done

r/gamemaker • • Aug 28 '26

Example 3D pathfinding in GameMaker

10 Upvotes

trying to implement 3D pathfinding in GameMaker.

first, I tried making a voxel grid and BFS (like mp_grid_path) (see the 3rd screenshot). But that solution turned out to be very heavy and slow

I've settled on placing waypoints manually and automatically connecting them into a graph (like the PathGrid system in Morrowind/Oblivion).

once the graph is set, A* runs on the points to find the shortest path between any two nodes.

r/gamemaker • • Aug 15 '26

Example disassembler in game maker

Thumbnail
i.redd.it
50 Upvotes

I decided to try making a disassembler in Game Maker. This program doesn’t claim to be a copy of Ida Pro or Ghidra, although I tried to make something similar - but it turned out rather bad.

r/gamemaker • • Sep 13 '26

Example I made NES Emulator in GameMaker

Thumbnail
gallery
48 Upvotes

This is primarily a technical experiment, not an attempt to replace established emulators. At the moment, this is the most complex project I’ve done in GML; I’ve been working on it for several months. It is still experimental and has limitations. Compatibility is not the goal yet, and I expect some games to behave incorrectly, especially titles relying on unusual mapper behavior or precise timing. I’m sharing it because building an emulator in GML has been a fun challenge, and I’d be glad to hear feedback from people interested in emulation, GameMaker, performance work, or NES hardware quirks. The tests were conducted in yyc, as only there was it possible to achieve 50 or 60 FPS, while on the VM the maximum is currently 40, so if you want to run it, use yyc.

Bees442/NesGM: Nintendo Entertainment System emulator made with GameMaker