r/gamemaker • • 5h ago

Game Newer GMEXT-Steamworks (v3.0.0)

Post image
13 Upvotes

Recently did a refactor into a new project and was slowly importing old code/assets into it. I chose to start by importing with the newest GMEXT. Far more intuitive than before. Highly recommend using if you're still early in dev cycle. The listening system got rid of a lot of packet manipulation. It wasn't a drag-n-drop as a lot of the function and names have changed, but was well worth it. nothing but praise over here, other than some of the function names got LONG. Its still worth it. Also thanks for continuing support and updates with it. <3

documentation is getting really good. actually has all the possible info coming back and no more trying to read what is return to just get a (Ref function) lol maybe it was more my fault but now its all there.


r/gamemaker • • 6h ago

Game Mi Juego

Post image
7 Upvotes

Aquí les doy una muestra de como se ve mi proyecto es un juego de luchas tiene varios desbloqueables y así ahí va poco a poco ya casi lo termino.


r/gamemaker • • 29m ago

Help! How do I stop using AI for help when coding games?

2 Upvotes

I’ve been making games on and off for about two years, and I recently (last month) finished and published my first game on itch.io! It was a really fun experience, and I’m proud of what I managed to accomplish. However, I’d say I did around 60% of the development work myself, with the remaining 40% involving AI. I often found myself using it to review my code, check whether I was doing things correctly, explain where I went wrong, or help me figure out how to approach certain problems. AI has genuinely helped me learn a lot, and I’m grateful for that. However, I’ve started to notice that I don’t feel confident enough to start a new project completely on my own. I constantly feel like I don’t have enough knowledge or experience to build a game independently, write clean and efficient code, or solve problems without having AI there to guide me. I’d just like to reach a point where I can confidently sit down, open GameMaker, and build something from my own knowledge without feeling like I need AI to hold my hand through the process. I’d love to hear about your experiences and any advice you might have!


r/gamemaker • • 5h ago

Help! my code is more inbred than the hasbergs what the hell is wrong with it

1 Upvotes

i hate this stupid dumb fuck stone grating sound affect. its supposed to play (looping), once, when the player starts moving, but for some reason it starts ever frame the dumb shit is moving, causing an unholy roar of ten billion stone-grating sounds looping over eachother.

i used to have it set up so that it would start the sound when the left/right keys were pressed and stop on release, but that caused weird behavior when jumping was involved. im like, two days into my gamemaker journey, so i would appreciate any advice. thank you to anyone who replies


r/gamemaker • • 1d ago

WorkInProgress Work In Progress Weekly

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

Resolved How to improve texture loading time?

4 Upvotes

(Fixed): I just used Dynamic texture groups. Silly me.

I am making a FNaF-style game, so I'm using pre rendered images for my graphics. Basically, I have lots of 1920x1080 images that need to be loaded. For now, the game loads half of the texture groups when opened, and I've created a separate room & object that handle texture loading upon pressing the menu buttons. Since there are many big textures, the clock animation freezes as the game loads the texture groups.
I might also try resizing every image to be smaller once I finish the game, though that would be very tedious


r/gamemaker • • 2d ago

Resolved How to recreate this, I can't figure it out.

Post image
12 Upvotes

Drawing GUI around play field, I don't really get how it worked.


r/gamemaker • • 1d ago

Help! Just getting started, how do I make switching sprites work with different amounts of frames?

1 Upvotes

I'm following a tutorial and it seemed pretty simple, sprite_index was fairly intuitive, and in the video it worked eventhough the sprites had different amounts of frames, but for me, I have one that's 4 frames as a placeholder idle and an 8 frame placeholder walk, I was just messing around so it ended a bit longer, but the issue is that during the walk it only goes to frame 4/8 before looping. The tutorial didn't address that because it didn't happen, and I thought I followed how I should but evidently I didn't.


r/gamemaker • • 2d ago

Resolved How i make the fnaf type scrolling in gamemaker?

1 Upvotes

Howdy, i making a fnaf fangame using the last version of gamemaker studio 2 (aka gamemaker), and i got problems to make the office scrolling, i use gml code btw, theres help here?


r/gamemaker • • 2d ago

Help! Comments automatically creates foldable spaces, how to toggle off?

Post image
8 Upvotes

So, I have been using Code Editor 2 for some six months now, and my complaints are far too many to fit in a single post (code folds and jumps around in unpredictable ways, regions break far too often, parameter overlay when writing a function is unreliable, general instability), but what is getting on my nerves is that a // comment in consecutive lines creates a foldable space, as in the example above.

I have a habit of commenting liberally, and using hotkeys to close all regions to organize my scripts means those commented spaces also close down, hampering legibility. I know this sounds minor, but it is really annoying, is there is any way to toggle this off?


r/gamemaker • • 2d ago

Help! Need help with some anim issues

1 Upvotes

I have been trying to animate the sprites for my platformer and i cant figure out how to make the jump anim NOT loop like when you jump your hair goes up but in game it loops so how can i fix this? i turned off looping in the sprite pane. i also need help for converting to idle hwne the plaer is not moving. my code looks like if key pressed that move him this way im tired bye


r/gamemaker • • 3d ago

Resolved Using the Dracula Skin in LTS 2026.1 and want the new tab scrolling to work?

2 Upvotes

You can grab a fixed version here:
https://github.com/NathanAuckett/gamemaker-studio/tree/tab-width-scrolling-fix

P.S. It also fixes the zoom widget being stuck in the vertical-center of the sprite/particle editor preview.👍

P.P.S. Thanks to u/TonyStr for making the original skin.


r/gamemaker • • 4d ago

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

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

Help! Top Down Dash System

1 Upvotes

Guys, I need help to code a dash system to my game, it's a top down like Hotline Miami, but it's too hard do it

Below is my movement code, just to have an reference:

///

var _right=keyboard_check(68);

var _left=keyboard_check(65);

var _up=keyboard_check(87);

var _down=keyboard_check(83);

///

var _xinput= _right-_left

var _yinput= _down-_up

///

move_and_collide(_xinput*Player_speed,_yinput*Player_speed,Obj_colisao);

///


r/gamemaker • • 3d ago

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

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

Help! Why isn't my character colliding correctly with the spike?

Thumbnail youtu.be
1 Upvotes

For some reason, this happens in almost all the game projects I create in GameMaker. To this day, I don’t know why this occurs.

And it only gets worse when I try to resize the collision mask for the spike.

Can anyone help me with this?


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

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

Thumbnail gallery
12 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 • • 4d 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 • • 5d 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.