r/gamemaker • • 14h ago

Discussion Building a custom engine inspired by the nostalgic GameMaker 8

Thumbnail gallery
35 Upvotes

My first programming language was GML on the old good gamemaker 8. It was years ago, and since then Ive been coding in many other languages, including c++ on Arduino and mostly C# for desktop and mobile apps.

For the past few years I'm working on my own game engine - long story short, I started it as a C# version of gm8 (where you code in c# instead of gml), then abandoned it for a long time, then took a personal challenge of developing my own scripting language from scratch, and then I came back to the engine and combined my new language in it, instead of C#.

This project is open source! [GitHub link]

Anyway, the interesting part is that for one who used GameMaker 8, it would be extremely nostalgic to see this engine, which is heavily inspired by it. The IDE, the events system, the function names and the architecture - all feels and looks like gm8! gm8 was a very special game editor - it was so smooth and not ram-eating, and once you launched you was ready to work - it didn't force you to first create a project, give it a name and save files to the disc before you can write a single line of code - it just, was there - and you could start working and see where it goes and save stuff later or close without saving if it didn't turn into something interesting. All of these are small things that I did my best to restore in my engine.

Not that it gonna compete somehow with modern GM - it's just a hobby project I'm doing for fun, and wanted to share here. And if you know C# - you can help developing this, as it's fully open source (mit). I already have a few contributors here and there who help me with this (no AI code - i love coding by myself, and i want this project to stay retro both in what it becomes and the way it is built).

Finally, a few technical details: the engine, the interpreter of the scripting lang, and the IDE, are all written in C#. The IDE is built on WinForms, and the backend engine is MonoGame (so unlike old gm8 - this engine is cross platform!).


r/gamemaker • • 4h ago

Help! I can't create an account

2 Upvotes

Hello!! I'm interested in teaching myself to make games, but whenever i try to press 'register/sign in', the tab says 'failed to open page' and 'A server with the specified hostname could not be found'.

For reference, I use duckduckgo.


r/gamemaker • • 8h ago

Resource free sfx pack for jams (jumps, hits, pickups, menu sounds) and a tiny gml function so repeated sounds don't feel robotic

3 Upvotes

i put together a free starter set of game sounds: jump, land, dash, pickups, hurt, enemy hit, doors, chests, checkpoint, menu clicks and so on. wav and ogg with the same file names, all leveled to the same loudness.

i made it with godot and unity in mind, but the files drop straight into gamemaker. one thing that helps a lot with short sfx is a little pitch variation, so a coin or a jump doesn't sound identical every time:

function sfx(_snd) {
    var _id = audio_play_sound(_snd, 10, false);
    audio_sound_pitch(_id, random_range(0.94, 1.06));
    return _id;
}

then sfx(snd_jump) wherever you need it.

https://willosuna.itch.io/free-game-ui-sound-pack

it's name your own price, free works fine, and commercial use is ok.


r/gamemaker • • 17h ago

Resolved How to make enemies not fall off edges

5 Upvotes

I'm trying to work on games again and learn gamemaker and have done everything else myself and used tutorials when stuck but when it came to enemies I just don't know how to make them not fall off. If anyone can help I would appreciate it very much!


r/gamemaker • • 1d ago

Game My first game has a steam store page!

Post image
21 Upvotes

I just finished publishing my steam store page for my first game "STRIL: Last Stand". I've been a big fan of the GameMaker software for many years now and I'm very proud to finally have something to show to the public. Naturally I wanted to show my project here in the subreddit that has been an inspiration for many years.

The game started as a simple idea of an air defense tower defense and grew to be more of an survival RTS. A big hurdle has been to limit my scope and not let the feature creep bog me down too much, this has always been a problem of mine. This time I've tried to keep it simple as I usually slog down into simulation of systems and miniscule details.

Pushing into the brand new territory of marketing... (shudder when I write the word) I'm not sure how to proceed other than to post about my game now. It's a bit overwhelming but surely necessary to pass through these new sensations and gain some experience.

Feel free to ask me questions. Please check out my steam page and the trailer I put together!


r/gamemaker • • 1d ago

Resolved Does this look like a bench?

Post image
67 Upvotes

I don’t know why but it looks kind of like a fence, how can I make it looks like a bench?


r/gamemaker • • 1d ago

Resolved Why do you need opera to sign in to GameMaker?

5 Upvotes

Im just trying to sign in and maybe export my game but it leads me to a download site for opera. Do I need this and/or why do I need this?


r/gamemaker • • 1d ago

Help! callback does

Post image
5 Upvotes

In this script, i declare a function so that a time source can call back to it. (the function is only called when the fast_decrease is properly called, so that's not the problem) However, it says that "Time source callback must be a method or function" even though it is.


r/gamemaker • • 1d ago

Resolved interface in the current version of GameMaker?

Post image
13 Upvotes

Does anyone know how to bring back this interface in the current version of GameMaker?


r/gamemaker • • 1d ago

Quick Questions Quick Questions

2 Upvotes

Quick Questions

  • Before asking, search the subreddit first, then try google.
  • Ask code questions. Ask about methodologies. Ask about tutorials.
  • Try to keep it short and sweet.
  • Share your code and format it properly please.
  • Please post what version of GMS you are using please.

You can find the past Quick Question weekly posts by clicking here.


r/gamemaker • • 2d ago

Game I'm learning how to create game animations, so I decided to experiment with chest opening animations for different rarity tiers. Here's the result!

Post image
85 Upvotes

The process of creating animations is actually really interesting, I never paid much attention to it before, since I'm usually focused on coding. But since I love everything related to rarity tiers and RNG, it was twice as fun to create animations for them. Looting has to look good!


r/gamemaker • • 3d ago Bravo

Game I can't believe I'm finally doing it, my dream game.

Post image
409 Upvotes

I've been making games (mostly) with Gamemaker for about 15 years now. But this is the first time I really feel like I'm making something truly special, and the feeling still hasn't faded away like all the other ones. I've been working on this one for a bit more than 2 years now and I'm starting to get really proud. To the point where I'm starting to show it and talk about it in real-life.

The Steam page just went live: https://store.steampowered.com/app/5449480/Orio/

I wanted you guys to be the first ones I publicly share the game with.

So, as you can see from the GIF, Orio is a puzzle-platformer with 2D portals which changes the direction of the gravity, depending on how the two of them face each other. That means every players and objects have their own gravity direction. I think it's easier shown rather than explained so I'll leave it as that. Also, if the two portal happen to have different sizes, they also change the size of whatever goes through them. Basically, you come out of the other portal with the same proportion as the portals. The collision handling for when the player is in-between portals was a challenge I wasn't prepared for. But, even though I don't see myself as particularly smart, I am extremely resilient. I couldn't tell you how many times I've opened the game in debug mode, went line by line in the multitudes of loops while taking notes. It had become a morning routine at some point. Anyway. ..

The portal views are camera views drawn to surfaces instead of viewports. Each one films what's in front of the other portal, and a shader draws it into the it's "back" side, with a shader that removes what's outside of the portal circle. That was really fun to get working.

When the player goes into a portal, it instantly teleports him and the camera to the other one.

I'd be really happy to talk more about it. Anything really. Ask me anything!


r/gamemaker • • 2d ago

Help! Where to start with a metroidbrania.

1 Upvotes

Hi Reddit!

I want to start designing my first honest to God game, and I have been working on a Metroidbrania idea for a while. I'd like a 2d JRPG art-style, but no combat, just puzzle solving. I am essentially a complete beginning, so wondering if anyone has any tutorials or starting points they could point me towards? Thanks!


r/gamemaker • • 2d ago

Resolved Limiting my game to two “sound channels”

1 Upvotes

My game is styled after early NES games (original I know), and I want it to replicate the NES’s sound limitations too. The console is limited to two sound channels. So if the BGM uses both, any additional sound effects would have to interrupt one of the BGM tracks.

The only way I could think to implement this would be to have a bool that temporarily mutes one of the BGM tracks when set to true? Though that would still allow multiple sfx to play at once, and I feel like it would be extremely prone to desyncing.

That’s the only idea I have so far for implementation. All help is appreciated!


r/gamemaker • • 3d ago

Help! Loadout UI layout

Post image
5 Upvotes

I've been working on making a loadout menu for my game, but I can't decide which layout I like better. Help me decide - Which do you prefer?


r/gamemaker • • 3d ago

Help! First time using Html5

Post image
24 Upvotes

When I open the game in the browser, it doesn’t work properly. The game loads on the title screen, but none of the textures are rendered.
However, the objects logic still works, since they can still interact with the mouse even though their textures are bugged (you can see in the gif).
When I click the Play button, the room_goto command is executed, but the next room also has issues, the music doesn’t play, and the entire screen turns black.

The first part of the video shows how the game is supposed to work.


r/gamemaker • • 3d ago

Help! Need help making a custom keybinding system

2 Upvotes

I am relatively new to game maker and have been following the manual as well as some tutorials to try and make a little RPG game thingie just to get better at the engine. I have made a menu system following a youtube tutorial (https://www.youtube.com/watch?v=xLasKr0ekHY) and created a script which creates an ini file that stores all the key values. I now need help to combine this system with the menu so that you can bind values to each key.

//--------------------------initialization script------------------------
ini_open("Stuff");
ini_write_real("Controls", "left_key", vk_left);
ini_write_real("Controls", "right_key", vk_right);
ini_write_real("Controls", "up_key", vk_up);
ini_write_real("Controls", "down_key", vk_down);

global.left_key = ini_read_real("Controls", "left_key", 0);
global.right_key = ini_read_real("Controls", "right_key", 0);
global.up_key = ini_read_real("Controls", "up_key", 0);
global.down_key = ini_read_real("Controls", "down_key", 0);

ini_close();

window_set_fullscreen(true);

//---------------------menu step event----------------------
//reads the keybinds from the ini file
ini_open("Stuff");
up_key = keyboard_check_pressed(global.up_key);
down_key = keyboard_check_pressed(global.down_key);
ini_close();
interact_key = keyboard_check_pressed(vk_enter);

//store num of options in menu
op_length = array_length(option[menu_lvl]); 

//move
pos += down_key - up_key;
if pos >= op_length {pos = 0}
if pos < 0 {pos = op_length-1}

//using pos
if interact_key {

var _StMl = menu_lvl;

switch(menu_lvl) {
case 0:
switch(pos) {

//play
case 0:
room_goto(rm_test_day);
audio_play_sound(snd_select_temp, 1, false);
break;

case 1: //settings
menu_lvl = 1;
audio_play_sound(snd_select_temp, 1, false);
break;

case 2: //creds
audio_play_sound(snd_select_temp, 1, false);
break;

case 3:
if show_question("End game?") {
game_end();
}
else {show_message("Okay!")}
audio_play_sound(snd_select_temp, 1, false);
break;

}
break;

case 1: switch(pos) {
case 0: //window size
audio_play_sound(snd_select_temp, 1, false);
break;

case 1: //Fullscreen
if window_get_fullscreen() {
window_set_fullscreen(false)}
else {window_set_fullscreen(true)}
audio_play_sound(snd_select_temp, 1, false);
break;

case 2: //Controls
audio_play_sound(snd_select_temp, 1, false);
break;

case 3: //Brightness
audio_play_sound(snd_select_temp, 1, false);
break;

case 4: //Back
audio_play_sound(snd_select_temp, 1, false);
menu_lvl = 0;
break;
}
}

if _StMl != menu_lvl {pos = 0}
//store num of options in menu
op_length = array_length(option[menu_lvl]); 

}

r/gamemaker • • 3d ago

Help! shaun/sarah spalding complete platformer assets

Thumbnail youtube.com
0 Upvotes

so ive recently picked up on gamemaker, started out with gms official tutorial, gave up then, began saraj's old tutorial on the platformer. now, i dont want to draw the tile set myself, so i decided to ask whether someone has all the assets from that series. help is appreciated


r/gamemaker • • 3d ago

Resolved [Update] Draw_Set_align resetting issues?

2 Upvotes

r/gamemaker • • 3d ago

Help! How to know which layer particles will appear on without using part_system_create_layer?

2 Upvotes

I have particles I made as an asset that I want to display in a certain part of my game. I need them to be on a layer below my player and enemy instances. So I started out using part_system_create_layer, which seemed to work fine, but I think the only way to destroy them in this case is using part_system_destroy, which also makes all the particles on screen instantly disappear. That's not ideal, so I looked at the GM documentation and saw that part_emitter_destroy destroys the emitter without killing off particles that were already generated. I made a separate object that creates the particle system and emitter, then created an instance of it on the layer I wanted the particles to appear on. But somehow the particles get created on the highest layer above all other instances. Are particles always automatically created on top of everything else in Gamemaker? Or am I just misunderstanding the fundamentals of how they work?


r/gamemaker • • 4d ago

Help! In your personal opinion, is it better to do these checks here, in the draw event (I believe using more VRAM however I could be wrong) or would it be better to do these checks in the step event, thus creating a new instance variable (and using more RAM)?

Post image
14 Upvotes

Apologies if I used the wrong flair, not exactly an urgent request.

I understand the performance difference is, at most generous, negligible and imperceptible , but I'm curious of the argument either way.


r/gamemaker • • 4d ago

Help! What would be the best way to make a West of Loathing style inventory?

3 Upvotes

Hellooo everyone :) I'm currently working on a game in a similar style to West of Loathing, think simple art and writing that both takes itself very seriously, and completely unseriously. I want to implement a similar inventory to the game as WoL where its mostly a list of essential items the player can collect and view at will. What would be the best way to go about that? Links to tutorials are very much welcome :P I've been using gamemaker for a bit but I'm still not the beeest at coding in it.


r/gamemaker • • 4d ago

Help! How do I make a "match"?

0 Upvotes

Ok, so to explain more, what I mean is that I want to start making each gamemode I had in mind for my game (starting with deathmatch), and since the player count and the teams might be variable depending on the settings made beforehand, I wanted to see how i can make a match in one map (for now I just have one room) by having a player per team variable (Mainly because team compositions must be all-equal in size) to assign each player into a team.

For example, a 6-player game with 3 teams would be [2, 2, 2] and [3, 3] if it was 2 teams instead. Thing is; the way I've done my respawn system is by placing "waypoint" objects and assign them a team in the variable definitions. SINCE the way I'd want matches to work (eventually) is that a player could have any color they want, I need a way to assign each a team before spawning each "soldier". (I'm up for remaking the whole thing if this is unnecessarily complicated/impossible)

I've thought of having a prop layout for each gamemode (Specially since a 8-player deathmatch with everyone having their own team would need more a global waypoint than a team-based one...)
Another thing I've also thought about was how should I approach the teams! Since each team should have its own variables (Like member count, score, total kills, etc.), I assume the best way to do this is by making a struct for each.

For now I just have an "oGameManager" object I thought of using for most of the information I'd want to save (like statistics), but I feel like a better way for this kind of moment is a "oMatchManager" or something. Though I'm not sure if this should happen before or after the match or just have a loading screen in between. (I'm sorry if I asked too many questions)


r/gamemaker • • 4d ago

WorkInProgress Work In Progress Weekly

4 Upvotes

"Work In Progress Weekly"

You may post your game content in this weekly sticky post. Post your game/screenshots/video in here and please give feedback on other people's post as well.

Your game can be in any stage of development, from concept to ready-for-commercial release.

Upvote good feedback! "I liked it!" and "It sucks" is not useful feedback.

Try to leave feedback for at least one other game. If you are the first to comment, come back later to see if anyone else has.

Emphasize on describing what your game is about and what has changed from the last version if you post regularly.

*Posts of screenshots or videos showing off your game outside of this thread WILL BE DELETED if they do not conform to reddit's and /r/gamemaker's self-promotion guidelines.