r/gamemaker • • 1d 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.


r/gamemaker • • 4d 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 • • 22h ago

Game My brother and I are making a hand-drawn and hand-animated game about birds and foraging in GameMaker!

Thumbnail youtu.be
42 Upvotes

My brother and I have been working on a game called Oilbird in GameMaker for a few years now.

Oilbird is an entirely hand-drawn and hand-animated roguelike deckbuilder where you hire a crew of birds and forage your way through a sacred valley at the helm of a giant moving bathhouse. It’s Over the Garden Wall meets Spirited Away meets Root in video game form.

The very beginning of the idea came about three years ago, although it was a drastically different concept back then, with really the only thing in common being placing units on a board using cards. We hadn't used GameMaker before, but we made a very barebones prototype that revolved around connecting units together, and this helped us get to grips with the engine (although we're still learning in many ways!) and better understand what we actually wanted to make. Here's an old screenshot!

Very Early Prototype

At around this stage we stopped working on the project for a bit, but always kept it in the back of our minds and wondered how we might fix some of the design flaws we'd encountered. After about a year we started working on it again, using the previous prototype as a base and taking it in a new direction (although ultimately all of previous code got rewritten as we learnt better practices).

The second iteration was much closer to the current version, where we'd figured out a good chunk of the mechanics (with a few notable omissions), but the theme and visual style were still a bit vague and not quite as distinct as we wanted.

Second Prototype

Realising that we both loved birds and that they made for great foragers, we locked in on the birds as the main theme for the characters rather than the misc weird folks we had, which made things feel a bit more concise. We also experimented with lots of different visual styles but never found quite the right look until we stumbled across a box of old pastels and then it all started to fit together!

Oilbird

One of the challenges has been developing a game with very high resolution artwork and finding the best practices within GameMaker for doing so. Every asset is made at 8K resolution, and except in the case of larger assets and animations, is imported into the game at that resolution. We found scaling assets down within the engine (to 4K, 1080 etc.) often produces slightly cleaner results than scaling the assets beforehand (perhaps someone who knows more could explain why!), although we will have to see how scalable this is performance-wise once more content is added. We'll probably find it's ultimately not feasible to have assets with this many pixels, but right now the performance is good on mid-range machines and fairly optimised code.

Other technical hurdles include organising data in ways that allow us to quickly add and test out ideas and designs, specifically with extensive use of constructors for cards, ingredients, and many other object types.

Shout if you have any questions... also we have a Kickstarter and Steam page if you want to learn more! Thanks :)


r/gamemaker • • 18h ago

Game New blood and giblets

Post image
6 Upvotes

Today I juiced up the destruction effects of the common enemy type, the mutant walker.

On death I destroy the walker instance and spawn a couple of giblets and each giblet creates a part system by code and a particle which is additionally shaped and defined to look like blood falling to the ground. After the giblet hits the ground, it is destroyed as well, but before that I draw its sprite to the permanent decal surface to make it persistent. This technique makes for some epic battlefields where you can seen every body part and slain enemy, as well as track marks, bullet holes and whatever else you want to draw there.

The unique giblet part system is garbage collected in the clean up event to make sure no memory leak forms. The reason for not using a general and persistent part system is because of depth layering, the part system follows the giblet depth and therefore layers it self correctly relative to everything else drawn.

What do you think of my new blood effects?


r/gamemaker • • 15h ago

Help! Pixel art

3 Upvotes

I’ve always wanted to make games, so I started learning and yap. But turns out I suck at pixel art. If you have any tips on how to make things look better or what to do learn to do it better please tell me. Also if I took an art class next year, would it help?


r/gamemaker • • 23h ago

Help! Trigger Multiple Text Boxes based on Player's X-Coordinates in a Single Room

2 Upvotes

Hi everyone.

I'm new to Gamemaker and more complicated coding like this (have some CSS and HTML experience from years back). I've been working with tutorials on Youtube (mostly Peyton Burnham & Friendly Cosmonaut), which cover a lot, but I'm struggling to get the above topic to work and I'm not finding a ton of useful help online. It seems like it should be simple enough, but my child mind apparently needs step-by-step instructions. Anyone got a solution for this?

I'm using Burnham's tetbox tutorial as a base.

Here is the code for my obj_textbox object.

CREATE:

global.in_dialogue = true;
depth = -9999;

//---------THE TEXT---------// 

page = 0; 
page_number = 0; 

text[0] = "I'm so glad you're back!" 
text[1] = "I've been waiting for you." 
text[2] = "I've missed you very much..." 

text_length[0] = string_length(text[0]); 
draw_char = 0; 
text_spd = 1; 

setup = false;

DRAW:

accept_key = keyboard_check_pressed(vk_space) or mouse_check_button_pressed(mb_left);

textbox_x = camera_get_view_x( view_camera[0] )+ 10;
textbox_y = camera_get_view_y( view_camera[0] ) + 250;

//---------SETUP---------//
if setup == false
{

setup = true;
draw_set_font(global.font_main);
draw_set_valign(fa_top);
draw_set_halign(fa_left);

//--------LOOP THRU PAGES---------//
page_number = array_length(text);
for(var p = 0; p < page_number; p++)
{

//---------Find how many characters on each page and store that # in the "text_length" array---------//
text_length[p] = string_length(text[p]);

//---------Get the x position for the textbox---------//
//--------No Character (center textbox on screen)---------//
text_x_offset[p] = 44;

}

}


//---------TYPING TEXT---------//
if draw_char < text_length [page]
{
draw_char += text_spd;
draw_char = clamp(draw_char, 0, text_length[page]);
}


//--------FLIP THRU PAGES----------//

if accept_key
{

//----------IF TYPING IS DONE---------//
if draw_char == text_length[page]
{

//---------NEXT PAGE---------//
if page < page_number-1
{
page++;
draw_char = 0;
}
//--------DESTROY TEXTBOX---------//
else
{
instance_destroy();
}

}
//---------IF TYPING NOT DONE---------//
else
{
draw_char = text_length[page];
}
}

//---------TEXTBOX PARAMETERS---------//

textbox_width = 200;
textbox_height = 64;
border = 8;
line_sep = 12;

line_width = textbox_width - border*2;
textb_spr = spr_textbox;
textb_img = 0;
textb_img_spd = 1/60;

//--------DRAW TEXTBOX---------//
textb_img += textb_img_spd;
textb_spr_w = ( sprite_get_width(textb_spr) / 2 )
textb_spr_h = ( sprite_get_height(textb_spr) / 2 );

//---------BACK OF TEXTBOX---------//
draw_sprite_ext(textb_spr, textb_img, textbox_x + text_x_offset[page], textbox_y, textbox_width/textb_spr_w, textbox_height/textb_spr_h, 0, c_white, 1);

//---------DRAW TEXT---------//
var _drawtext = string_copy(text[page], 1, draw_char);
draw_text_ext(textbox_x + text_x_offset[page] + border + 5, textbox_y + border + 

DESTROY:

global.in_dialogue = false;

if (text_length[0])
{
instance_destroy();
}

r/gamemaker • • 23h ago

Help! Pre-loading sequences?

2 Upvotes

I'm working on my first game, and I've managed to tackle 99% of the problems I've encountered, but this one is a royal pain no matter what I try.

I have a sequence with a sprite animation for transitioning from one room to the next. If I run it in macOS, it's perfectly fine. BUT my target is HTML5, and when I run it there, the first time the sequence runs its framerate is heavily reduced. After that, it runs perfectly fine.

I've tried prefetching a sprite from the texture page with all its component sprites in it, and I've even tried to run the sequence on the game's opening room on a 9999-depth layer beneath everything else, so it's invisible but it would technically already have run by the time I call it up.

Y'all have any ideas? I'm really new at this, so it's very possible I've missed something obvious. It's only annoying and not game-breaking, so I can live with it if I have to, but it feels so fixable that it's killing me.

Thanks a ton!


r/gamemaker • • 17h ago

Help! Im unable to download game maker

Post image
0 Upvotes

Each time i click on download for Windows something pops and closes instanly


r/gamemaker • • 1d ago

Resolved Need help for a letter writing mechanic.

3 Upvotes

To put it bluntly, I want to bring the entire English dictionary into a switch case statement, preferably within a month. I know that's not feasible, but I wanna get as close as I can...

The basic idea is that I'm making a letter writing minigame like in Animal Crossing. In AC, you'd write a letter and it would get scored based on certain criteria. Capital letters, punctuation, that would give you points, repeating words would take away, stuff like that. I'm gonna do that too, but I wanna take it a step further. Instead of just giving a general score, I wanna give individual gradings for different emotions, which means assigning different emotion scores to individual words. So to really narrow it down, I just need a list of all the main "emotional" words that fit within happy, sad, angry, etc.

This is less a programming question and more of a game design/grammar question, but I can't be the first who's thought to do something like this. If it's not feasible to sift through the entire English dictionary, I at least wanna know how to fake a system like this, because it's definitely been done before.


r/gamemaker • • 1d ago

Community Have you ever felt that for every game you have an idea to make, there's already an identical or similar one that's much more famous?

4 Upvotes

If the answer is yes, how do you deal with that? Like, without having that fear of your game being biased and becoming an exact copy of an existing game? How do you manage to come up with the idea without the game being biased?


r/gamemaker • • 2d ago

Resolved Pixelite equivalent for gamemaker?

7 Upvotes

I was looking up lighting systems for 2d pixel art games and I came across Pixelite, which uses ray tracing and creates beautiful scenes, but sadly it's only available for unity. Does anyone know of any similar resources for gamemaker I can use (needn't necessarily be ray traced, just very good lighting systems even if it takes a decent hit on the gpu like with pixelite)?


r/gamemaker • • 2d ago

Resolved How to subtract something from a value when a condition is met instead of continuing to subtract forever until the condition ends

4 Upvotes

I'm hoping there's a simple solution to this and I've just been working so long my brain has turned to mush. Basically I'm making a game with a needs system, I'm trying to make it so that when your hunger stat is below 70, your happiness stat subtracts by 10. I have:

if global.hunger < 70

{global.happy -= 10;}

I understand why this is wrong and what is happening, but I do not know an alternative to what I am trying to do. I'd be super grateful if someone could help.


r/gamemaker • • 2d ago

Help! Can't get the right sprite for my enemy

5 Upvotes

I am making a turn based game, I have been following the rpg tutorial but I want the object enemy instance for the battle room to use a different sprite than the sprite of the enemy it took its data from. Ive searched online and tried everything I could think of. I cant just set the battle room enemy to the sprite cause then Id need to make a new room for every new enemy I add, but when I tried to find a response online I couldn't find an answer that wasnt that or unrelated to my specific problem. Please help give me advice, Im new to game development

Code for the non-battle enemy
Code for the non-battle enemy
Code for the non-battle enemy
Code for the battle enemy

r/gamemaker • • 2d ago

Tutorial [FREE] 50 pixel art space backgrounds: nebulae, galaxies, planets (up to 4K, commercial use OK)

Thumbnail kebap-guy.itch.io
4 Upvotes

I made a free pack of 50 pixel art space backgrounds and wanted to share it here.

- Nebulae, ring nebulae, galaxies, twin galaxies, star clusters, planets and moons

- Every picture in 3 sizes: 480x270 (original pixels), 1920x1080 and 3840x2160, all pixel-sharp

- No sign-up, direct download

License: free for personal and commercial games and videos, credit welcome but not required. Just don't resell them as an asset pack.

They're drawn procedurally by my own pixel art planet tool, no AI image generation.

Download: https://kebap-guy.itch.io/free-pixel-space-backgrounds


r/gamemaker • • 3d ago

Game Firin' it up!

Post image
7 Upvotes

A lil showcase of a couple of flamethrower tanks firin' it up.

The flames and explosions are created with the particle system using code. The burn marks, tire marks, trees and other "permanent" decals are drawn to an uncleared surface. This is an easy and lightweight method to draw all kinds of decals.

Shadows are opaque inverted sprites drawn to a separate and cleared surface, with a lower resolution to save v-ram, and then the surface is drawn with low alpha.


r/gamemaker • • 2d ago

Resolved Any good RTS templates out there?

2 Upvotes

The title says it all. Any of you know about good Real Time Strategy template/examples? I can't find any out there.


r/gamemaker • • 3d ago

Discussion Building a custom engine inspired by the nostalgic GameMaker 8

Thumbnail gallery
64 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 • • 3d ago

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

7 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 • • 3d ago

Resolved 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 • • 3d ago

Resolved How to make enemies not fall off edges

6 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 • • 4d ago

Game My first game has a steam store page!

Post image
28 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 • • 4d ago

Resolved Does this look like a bench?

Post image
86 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 • • 4d ago

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

10 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 • • 4d ago

Help! callback does

Post image
7 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.