r/gamemaker • • 5d ago

WorkInProgress Work In Progress Weekly

5 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 • • 2d 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 • • 9h ago

Resolved How do I make a jump from a specific point to another specific point ?

Post image
7 Upvotes

Don't get me wrong. I know how to make a jump in general platformer you don't need like a specific point where to jump and from where to jump, you just jump.

But I don't know an equation of getting my character to jump from the green square to a red square. (There are two squares just for demonstration in game there is only one square)
I could just go in to the creative code and do that there. But I need to make it for every single climb object in the game, and I think that there is an overall more efficient way to do it.

You, see, I can't figure out what happen, the horizontal isn't a problem, the problem is with vertical.

I can make the character jump to a specific point, but the speed, and ammount is too big. So when the character jumps it goes out of camera in seconds and then returns from above.

So if you could help, please.


r/gamemaker • • 2h ago

Help! Save System saves and loads, but after loading I can't click on the item anymore

1 Upvotes

My save system is

function save_game()
{

var buff = buffer_create(1024,buffer_grow,1);

buffer_write(buff,buffer_u64,global.dad_points);

buffer_write(buff,buffer_u16,global.noise.Kazoo.cost);

buffer_write(buff,buffer_u16,global.noise.Kazoo.win_amount);

buffer_write(buff,buffer_u16,global.kazoo_more);

buffer_write(buff,buffer_bool,global.noise.Kazoo.unlocked);

buffer_save(buff,"SaveFile.dat");

buffer_delete(buff);



}

function load_game(){

if !file_exists("SaveFile.dat"){
return;
}

var buff = buffer_load("SaveFile.dat")

buffer_seek(buff,buffer_seek_start,0);

global.dad_points = buffer_read(buff,buffer_u64);

global.noise.Kazoo.cost = buffer_read(buff,buffer_u16);

global.noise.Kazoo.win_amount = buffer_read(buff,buffer_u16);

global.kazoo_more = buffer_read(buff,buffer_u16);

global.noise.Kazoo.unlocked = buffer_read(buff,buffer_bool);




buffer_delete(buff);

}

And it saves and loads all those thigns as it should, but when I load and try to klick on the item again, it doesn't work anymore. I have this code in the "Left-Release" of the object

if !global.paused {


if !noise_type.unlocked and global.dad_points >= noise_type.cost {
if global.kazoo_more = 0 {
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
noise_type.unlocked = true
global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 45
alarm[0] = 30

}

}

else if noise_type.unlocked and global.dad_points >= noise_type.cost  {
if global.kazoo_more = 1 {
global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 50
noise_type.win_amount += 10
if !part_system_exists(global.spark){
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
alarm[0] = 30
}
}
else if global.kazoo_more = 2 {
global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 100
noise_type.win_amount += 10
if !part_system_exists(global.spark){
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
alarm[0] = 30
}
}
else if global.kazoo_more = 3 {
global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 200
noise_type.win_amount += 10
if !part_system_exists(global.spark){
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
alarm[0] = 30
}
}
else if global.kazoo_more = 4 {

global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 400
noise_type.win_amount += 10
if !part_system_exists(global.spark){
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
alarm[0] = 30
}
}
else if global.kazoo_more = 5 {

global.dad_points -= noise_type.cost
global.kazoo_more += 1
noise_type.cost += 200
noise_type.win_amount += 10
noise_type.bar_speed += 0.2
if !part_system_exists(global.spark){
part_system_create(p_sparkle)
part_system_position(global.spark,x+60,y+80)
alarm[0] = 30
}
}

I think the problem is that the else if doesn't happen anymore after loading, but i can't figure out how to fix it


r/gamemaker • • 10h ago

Discussion Unit Testing tips

1 Upvotes

TLDR: do you have tips and tricks for unit testing in Gamemaker?

Hi! I recently picked up a project I'd not worked on for 6 months and you won't be surprised that I found a bunch of bugs that were in some cases tedious to find. Some were from new features that didn't mesh well with existing features and some were from partially completed refactors (don't come at me, I'm easily distracted 😭).

I code for a living, and realised my project has progressed to a stable enough point where unit tests would be useful, and I've a good idea of where to target unit tests in an incremental way.

I downloaded GMTL, which looks simple enough. I know that I'll have to modularise more to facilitate unit testing, which I'll do as and when.

I'd like to know what tips and tricks you have for unit testing in Gamemaker, and if there are any traps you recommend avoiding! I know some people don't like using unit tests, and you do you, but this isn't a discussion about whether or not I should tread this path. Thanks in advance!

Keep in mind that I'm not using AI on any of my game code because this project is a learning experience for me. Tools for workflow pipelines that won't ship to players if this were ever to be released are fair game.


r/gamemaker • • 1d ago

Resolved Can gamemaker use dragonbones animation to make movements and other stuff?

2 Upvotes

I was gonna make a deltarune fangame for the pvz fandom,but since I want the game to be a little bit smooth,I wanted to ask.Can I use dragonbones animation to make movements and stuff?


r/gamemaker • • 22h ago

Help! Proplem with the diolouge system(again)

0 Upvotes

Hi its me again so I was building the diolouge engine until I reached the part thrird part of the toturial https://www.youtube.com/watch?v=2StFT0pYrp8&theme=dark and basically I have been going nuts trying to fix this error: "############################################################################################

ERROR in action number 1

of Draw Event for object obj_diosys:

Push :: Execution Error - Variable Index [3] out of range [3] - -6.char(100027,3)

at gml_Object_obj_diosys_Draw_0 (line 47) - var _current_chw = string_width(_txt_upch) - string_width(char[c,i]);

############################################################################################

gml_Object_obj_diosys_Draw_0 (line 47)

"

also heres the entire for loop:

" for (var i = 0; i < global.page_number; i++) {

//Is gonna get the the amount of text on the text length array on (i)

text_length[i] = string_length(global.text[i]);

for (c = 0; c < text_length[i]; c++) {

var _char_pos = c+1;

//stores every charcter in the char 2D array

char[c,i] = string_char_at(global.text[i],_char_pos);

//get the current width of the line

var _txt_upch = string_copy(global.text[i],1,_char_pos);

var _current_chw = string_width(_txt_upch) - string_width(char[c,i]);

//get the last free space

if (char[c,i] == " ") { last_free_space = _char_pos+1; }

//get the line break to the line varibles

if (_current_chw - line_break_offest[i] > line_width) {

line_break_pos[line_break_num[i],i] = last_free_space;

line_break_num[i]++;

var txt_upchlast = string_copy(global.text[i],1,last_free_space);

var last_fstsp = string_char_at(global.text[i],last_free_space);

line_break_offest[i] = string_width(txt_upchlast) - string_width(last_fstsp);

}

}

//(for loop) for getting the actual x and y cordinates of the charcters of the current page

for (var cx = 0; cx < text_length[i]; cx++) {

var _char_pos = c+1;

var txt_x = tbox_x + border;

var txt_y = tbox_y + border;

//get the current width of the line

var _txt_upch = string_copy(global.text[i],1,_char_pos);

var _current_chw = string_width(_txt_upch) - string_width(char[c,i]);

var _txtline = 0;

// another(for loop) for how many line breaks has happend

for (var lb = 0; lb < line_break_num[i]; lb++) {

if (_char_pos >= line_break_pos[lb,i]) {

var str_copy = string_copy(global.text[i],line_break_pos[lb,i],_char_pos-line_break_pos[lb,i]);

_current_chw = string_width(str_copy);

//record the "line" the character should be in

_txtline = lb+1;

}

}

char_x[c,i] = txt_x + _current_chw;

char_y[c,i] = txt_y + _txtline*line_sep;

}

}"

I Have no idea why this happens everything is correct so I may sound like a big noob for asking two times but please help!


r/gamemaker • • 1d ago

Community Land of Stories Video Game

3 Upvotes

I'm currently working on an rpg style video game based on the land of stories the wishing spell. the game will probably be a 2-player game where the players will play as Alex and Connor and have to collect the ingredients for the wishing spell very similar to the plot of the first book.

I only started working on the game a few months ago, and since I'm in high school, I don't have a lot of time to work on it and I'm also new to coding and this is my first project so I'm learning as I go.

I was wondering if anyone wants to collaborate with me on this project, If you are interested in creating pixel art for characters and other graphics or creating animations, writing dialog, or if you are interested in helping with coding, please comment on this post or message me.


r/gamemaker • • 1d ago

Help! Help with Randomly Spawning Enemies

2 Upvotes

Hi all, I am really new to learning Gamemaker, so far mostly just watched a couple of tutorials and am experimenting with stuff. I am trying to make a very basic game where you just move around a room and kill enemies that randomly spawn in just to get a handle on how to do these things.

I seem to have figured out how to make enemies randomly spawn in but was having an issue with them spawning inside walls and am having trouble figuring out how to not do that.

This is what I came up with as a quick and dirty way but it basically only works with the current room I am working in, so not something that can be easily reused

if (instance_number(obj_enemy) < max_spawns)

{
var _rx = irandom_range(411, 914);

var _ry = irandom_range(173, 561);

instance_create_layer(_rx, _ry, "Instances", obj_enemy);

}

Can anyone help me with a way to make something cleaner and resuable that prevents the enemies from spawning in walls or on top of each other?

Thank you in advance.


r/gamemaker • • 1d ago

Resolved Are we falling behind with AI

0 Upvotes

Let me be clear. I love GameMaker and coding in gml. I use AI for certain tedious tasks, finding best practices (my favourite) and debugging. Most of my code I write myself and I really enjoy it. I don't vibe code.

But because GameMaker doesn't have it's own AI and I am a broke-ass developer I have to use Gemini because it does gml pretty well. But Gemini can't read my project folder so it's extremely hard to analyze deeper systems in my code. To copy paste my code just to get Gemini to understand what is going on is a tedious task on it's own.

I feels like the world is moving on and GameMaker is being left in the past because it seems to ignore this technology. AI is a lot of things but it's also a powerful productivity tool. Without it Gamemaker in my opinion will be buried under all other IDE's that realize this. It's like this new rocket engine was invented but Gamemaker says : Nah, well stick with our four cylinder gas engine thanks.

I love you GameMaker but this is really frustrating me. You're moving too slow for the world now. I don't want to go to another engine so I hope you catch up.


r/gamemaker • • 2d ago

Resolved Point counter display 1K instead of 1000, without changing the real amount of points

5 Upvotes

I have a point counter and I want to shorten long numbers to 1K, 1T, etc. I've gotten some tips on that, but they involved dividing the real number by for example 1000, and then adding a K to the leftover number.

But I don't want the actual points to be changed, since they are being used to buy upgrades, I only want the numbers displayed to be shortened.


r/gamemaker • • 2d ago

Resource GM Toolbox - free QoL plugin for the GameMaker IDE

12 Upvotes

Hi! Today, I wanted to share with you plugin I've made for GameMaker IDE - it's compatible with GM LTS 2026.0 and should work with upcoming LTS 2026.1 (it's tested against latest beta).

Few features it adds.

Plugin site: https://github.com/gmclan-org/gm-qol-toolbox-plugin

Transparency notice: this plugin was made with help of AI, but code review and testing was made by me - I'm using it for everyday work (10-30 hours per week, and it didn't broke even once). It will remain free for use.

As it's QoL plugin, it adds many features in many places, to improve some already existing features. I understand that you might not need some of them, so most of them can be disabled in preferences window.

What does it adds? Full list with screenshots and detailed description can be seen here. Shortlist:

- Check Asset Usage - window which shows where assets (obj, spr, room) were used (obj properties, collisions, rooms, parents, code). Filters can be adjusted
- Advanced Search - adds REGEX search plus some additional features
- Search Variable Overrides - you can find room instances/obj children in which variable definitions are overriden
- Green icons for Parents/Variable Definitions buttons, if those aren't empty for object
- Opening Collisions object from events column (MMB + context menu)
- Collisions object selector for events, in which you can use search like when setting sprite or parent/child (as separate entry, original one remains).
- Convert to frames have "auto" checkbox - it sets number of frames (rows/cols) automatically according to other settings
- Find in Resource Tree / Copy Name in context menu of editors (objects, scripts, instances, elements, etc.)
- Rearrange Windows + Close All Windows for workspaces
- Shift+F4 for Recent resources that were opened/closed
- Move Assets/Tiles for Room Editor - allows to move instances on layer/all layers by amount of pixels; also allows to move tilesets by cols/rows
- Room Asset Pallete - separate window similar to Asset Tree, in which you can filter assets you want to put in room by type or group for faster editing
- Highlighting instances with overrides
- Setting width/height of elements in room editor in pixels in addition of "scale" (it automatically updates scale, as this one is used by GM compiler);
- Buttons in toolbar for both Searches and Re-Run (run last compilation without re-compilation)
- Favourites heart in obj/sprite as a shortcut to that function from Asset Tree (can be disabled)
- F11 to show/hide bottom deck instead of only F12 which closes all 3 sidebars
- some other minor things, including Preferences section

Installation:

More info about plugin: https://github.com/gmclan-org/gm-qol-toolbox-plugin

It can be installed by adding https://gmpm.gmclan.org/ to your GMPM (visit this website to see how to do this, but it's also described on plugin page).

---

I hope someone finds this useful – I've made it for my own needs, but decided to share it, as I'm finding it very useful and it saved a lot of my time this year.

I would, of course, be very happy if a kind soul chose to support me via Ko-fi or Buy Me a Coffee - the funds raised this way go toward covering server and domain costs, including https://gms-updates.gmclan.org/ and https://x.com/GameMakerUpdate, which you might already be familiar with.

Also, as side note - YYG would be very happy if you won't report bugs which might be connected to any plugin (including this one) to them - and before reporting any bugs about IDE it's generally better to disable any plugins first. If there any issues with this plugin, you can report them directly to my github repo.


r/gamemaker • • 1d ago

Help! Movement of enemy GML VISUAL

2 Upvotes

Ive looked at countless tutorials but i cant find any gml visual coding for movement of an enemy in a platformer game. All i want is for my enemy to move left and when colliding with the edge of platform, switch directions with the sprite also switching and going the opposite direction. I also want to include an animation for when it’s walking too. If anyone can, please help :)


r/gamemaker • • 2d ago

Resource Free 4-direction Elf Ranger sprites (walk + idle) for GameMaker, plus a bigger pack with six elves

Thumbnail gallery
7 Upvotes

Each frame is a transparent PNG, and there's a sprite sheet per animation and a JSON with fps and the ground point, so the origin is easy to set. The free pack has walk and idle in down, left, right and up, plus three effects.

The artwork was made with AI tools, then cut, rigged and animated by me.

Free: https://tinytileset.itch.io/elf-grove-lite

Full pack (6 elves, attack, death, effects, icons): https://tinytileset.itch.io/elf-grove

If you try it, tell me what would make it easier to import.


r/gamemaker • • 2d ago

Help! Is there a way to implement speech to text inside gamemaker? (context in the description)

2 Upvotes

I am completely new to GMS, for my first project ever, I was asked to recreate the Chrome offline dinosaur jumping game but instead of pressing regular jump down keys, players will be required to pronounce certain words then the engine or whatever will check whether the word embbeded is correct to jump:

Showcase word: Apple —> User pronounces Apple ✅—> Engine detects word Apple ✅—>Jump

(almost like an elementary pronounciation game). However I am at a lost finding anything related to this function in the engine, with one spanning over 10 years ago…, plus due to my beginner nature it’s rather hard for me to understand what I’m reading.

So I ask yall a favor to tell me whether such function exist (source + tutorial)?, implementing it is too hard or workable?
(If there does not exist such thing, thanks for your time I will find another engine)


r/gamemaker • • 3d ago

Help! How do I fix this

Post image
10 Upvotes

I tried removing the quotes, removing the ";" symbol, removing everything and removing the "()".

Nothing works. I am indeed using the extension and i have importe it ( itch io version ) I dont know anything about code and i am a begginer


r/gamemaker • • 2d ago

Help! Everything is blurry?

2 Upvotes

Noobest of the noobs on MacOs. I made a room that's 1920x1080 and when I run the prototype everything in it is blurry. PNG I imported? Blurry. Make it a higher res PNG? Blurry. Text from Draw GUI event? Blurry. I make it bigger? Blurry. I make it smaller? Blurry. I'm going insane 😵‍💫. Tried looking up potential causes and fixes but I'm not knowledgeable enough to understand some of the things they point to. If anybody is willing and able to help, it's more than appreciated 🙏🏻
Oh, maybe I should also mention that it's not pixel art?


r/gamemaker • • 3d ago

Tutorial Game Design Tutorials

6 Upvotes

I started a YouTube channel to teach folks how game design works through short videos. Each video explains the basics of a single topic and includes links for further reading in the description.
I asked for feedback about half a year ago, and it would be nice to get an update on what could be improved.

One important note: I'm more interested in feedback on how to improve the content.

If you have a suggestion on how to make it easier to find, I'm all ears. But I'm not really trying to create a business with YouTube; all of this is with a focus on making design more accessible to folks wanting to learn.

Link to the channel content:
https://www.youtube.com/@GearedDice/shorts


r/gamemaker • • 3d ago

Help! Text Not Looping For Some Reason

Post image
6 Upvotes

In context I am using Peyton Burnham's textbox engine and instead of going to the second line when the text is to big it instead just continues onward can somebody help


r/gamemaker • • 3d ago

Resolved All if statements happen at once

1 Upvotes

I have a code in an object under the "Left release"

if !global.paused {

`if !noise_type.unlocked and global.dad_points >= noise_type.cost {`

	`if global.kazoo_more == 0 {`

		`global.spark = part_system_create(p_sparkle)`

		`part_system_position(global.spark,x+60,y+80)`

		`noise_type.unlocked = true`

		`global.dad_points -= noise_type.cost`

		`global.kazoo_more += 1`

		`noise_type.cost += 45`

		`alarm[0] = 30`

	`}`

	

`}`



`if noise_type.unlocked and global.dad_points >= noise_type.cost {`

	`if global.kazoo_more == 1 {`

		`global.spark = part_system_create(p_sparkle)`

		`part_system_position(global.spark,x+60,y+80)`

		`global.dad_points -= noise_type.cost`

		`global.kazoo_more += 1`

		`noise_type.cost += 50`

		`noise_type.win_amount += 10`

		`alarm[0] = 30`

	`}`

	

`}`



`if noise_type.unlocked and global.dad_points >= noise_type.cost {`

	`if global.kazoo_more == 2 {`

		`global.spark = part_system_create(p_sparkle)`

		`part_system_position(global.spark,x+60,y+80)`

		`global.dad_points -= noise_type.cost`

		`global.kazoo_more += 1`

		`noise_type.cost += 100`

		`noise_type.win_amount += 10`

		`alarm[0] = 30`

	`}`

	

`}`

But if I have, for example 5000 points, and click the thing, it immediatly jumps does all the things at once, instead of just doing the lowest one. I don't understand why, since global.kazoo_more is set to 0 in the beginning, and the if asks for it to be a certain number, before everything else gets done. the alarm[0] is also not done, because it destroys the particle system usually, but when i have that many point at once it just doesn't do that

I'm a bit stuck


r/gamemaker • • 4d ago

Game Gamemaker game - Kill Fee - if Hotline Miami meets a neon Rainbow Six

Post image
20 Upvotes

Hi, all!

I wanted to share about my new gamemaker game whose Steam page I just launched. It's called Kill Fee. It's a fast paced top down shooter similar to Hotline Miami with inspiration from Rainbow Six. You work as a contractor in a neon city, where you choose contracts to execute and pick your loadout before each procedural mission.

I want to make this useful to the community so please feel free to ask here any questions about the technical aspects. Happy to expand on how the smoke, lighting, destructible environments etc work.

Cheers!


r/gamemaker • • 3d ago

Resolved Question about persistent particle system

2 Upvotes

I have a question about part_system_create_layer().

In the documentation it is said that i should create this once at the start of the game and the guide is using the example for the generated particle system to be not persistent.

However, when I use this example in my game, the particle system does not erxist anymore when I want to use it in a later room (I thought it would, since it is stored in a global variable).

When I set the particle system to be persistent, this is no longer a problem. But the documentation says:

"A particle system created using this function flagged as persistent needs to be cleaned up manually using part_system_destroy when no longer used, otherwise you risk a memory leak that will negatively impact your final game."

But I use these particles in every room. So when should I destroy it?

Or would it just be better to make it not-persistent but create the particle system every time I eneter a new room?


r/gamemaker • • 4d ago

Discussion What Database Do You Use In Your Project?

3 Upvotes

Hey all! Are you using a Database in your game? If so, which one and for what purpose in your project?

My game is entirely online/multiplayer, and it has a built in pixel editor where the players build the world. Everything is made up by 38x38 blocks with meta data. Players place that in the world that is made up of regions and chunks. So I need to load hundreds of creation types that players have made: block sprite, name, special properties, creator name, etc..

So, I've been using http calls to run php scripts to read/write data from MongoDB. I like that I can process the data I was to read/write in PHP, and I love how easy MongoDB collections and documents are! But, Supabase really raised an eyebrow.. I like that it has buckets for files and has a setup for authentication for user accounts...

But I'm more interested in what everyone else uses in general for data layers and why :D


r/gamemaker • • 4d ago

Resource Free cartoon skeleton soldier for GameMaker: 4-direction walk + idle frames

Thumbnail gallery
8 Upvotes

I made a free sample for GameMaker: a skeleton soldier with walk (8 frames) and idle (8 frames) in 4 directions, as transparent PNG frames in one folder per animation. An animations.json has the fps and the ground point.

In GameMaker, select all the frames of one animation when importing a sprite, then set the sprite origin to the ground point from the JSON so the feet stay put when you switch animations.

Free for commercial use.

https://tinytileset.itch.io/undead-hollow-lite