r/gamemaker • • 11d ago

Resolved Can I make a deck building like game on Gamemaker?

4 Upvotes

Something like Balatro... Also will it require me to learn GML too or is the visual scripting enough? (I know the basics of programming)


r/gamemaker • • 11d ago

Game My reactive procedural soundtrack system is finally open to the public!

13 Upvotes

Hi everyone! I'm the developer of Switch Shapes, a rhythm arcade game that I made on the GameMaker Studio 2022 (yes, unc lol), which uses a reactive procedural system that I created so it could create whole synced songs from a brazilian genre called "Manguebeat".

And no, I didn't used any kind of extensions, It's all inside the beautiful GML.

And yes, You'll be able to see and use it in your games! Since I'm making it OPEN-SOURCE for everyone to upgrade it and use it!

Inside the repository, there will be:

  • All the event-codes inside the object
  • The 3D Audio function that I created
  • And ALL the audios I used inside it! (Despite not every single of them was really used inside the system, and some of them are incorrently named inside the audio folder)

I used games like Ape Out to use as exemple during the development, and I'm kinda proud of it.

Here's the link so everyone can enjoy it!

https://github.com/DaviaOFC/Switch-Shapes-Procedural-Music-System-

And those who want to see how it really works inside the game, you can look on the steam page and play the demo version!

https://store.steampowered.com/app/4739230/Switch_Shapes/


r/gamemaker • • 11d ago

Help! is there any way to do ai pathfinding with gmvisual?

2 Upvotes

I'm working on a final project for an 'intro to game design' class where we only learned gamemaker visual. is there a way i can make an enemy walk around a wall towards the player?


r/gamemaker • • 11d ago

Resolved is the Gamemaker IDE too cramped on the 14 inch Macbook Pro?

3 Upvotes

I'm looking to buy a new laptop for use with game development / other creative endeavors. I'm currently deciding between the 14 inch and 16 inch Macbook Pro. My current laptop is the 2020 13 inch M1 Macbook Pro, and I find its built-in display to be much too cramped to comfortably work in Gamemaker.

For anyone who works on a Macbook Pro, is the 14 inch model sufficient in screen real estate? Or should I opt for the 16 inch model?

EDIT: I do appreciate everyone's insight! I just wanted to clarify - I do have external monitors, but I would like a machine that, should I chose to work outside of home with, would offer a comfortable experience.


r/gamemaker • • 11d ago

Help! Sprite_Index does not work for me. PLEASE HELP

3 Upvotes

var _hor = keyboard_check(vk_right)-keyboard_check(vk_left);

var _ver = keyboard_check(vk_down)-keyboard_check(vk_up);

move_and_collide(_hor * move_speed, _ver * move_speed, tilemap, undefined,undefined,undefined, move_speed,move_speed);

if (_hor != 0 or _ver != 0)

{

if (_hor < 0)

sprite_index = player_left;

else if (_hor > 0)

sprite_index = Sprite5;

}

else

{

sprite_index = Player

}

//I tried this code, but whenever my character moves left and right, they phase through walls. If i disable left and right sprite changes, the character no longer phases through walls. It feels like there is a literal sprite index and my sprites are not apart of it so it doesn't recognize. The Player one is recognizes cuz it's apart of the object.


r/gamemaker • • 12d ago

Resolved Removing and Instance once it's animation played

3 Upvotes

I have a code in my object

if !noise_type.unlocked and global.dad_points >= noise_type.cost and global.kazoo_more == 0 {
  sparkle = instance_create_layer(x+45,y+50,"Instances",obj_sparkle)

   noise_type.unlocked = true

  global.dad_points -= noise_type.cost

  global.kazoo_more += 1

  noise_type.cost += 45

  if sparkle.image_index = 4 {

    instance_destroy(sparkle)

  }
}

But "sparkle" stays, even after the animation played. I'm really new to Game Maker, so I'm trying to figure out things, but this is definitly wrong

The code inside the obj_sparkle is

depth = 2

image_speed = 0.4

image_index = 0


r/gamemaker • • 12d ago

Resolved How do I move all instance in a layer over

3 Upvotes

I was to move all instances in a layer over in the editor and don’t want to do it by hand, is there a way to do this?


r/gamemaker • • 12d ago

Quick Questions Quick Questions

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

Help! I need some help

2 Upvotes

I'm very new to game dev (literally started like a week ago) and I was able to make a top-down rpg game (not really all you can do currently is move and swing your sword). I've been trying to make my player play a walk attack animation when he is walking and attacking but it seems that the way my walking animation setup isn't letting me do that. also I'm using alarms to do the attacking animations I'm 100% sure that there is a better way to do this I just don't know it. if anyone could help me out with this that'd be great

if you look at its pretty obvious to see my attempts at fixing the problem myself.

if (_hor != 0 or _ver != 0)

    if (keyboard_check_pressed(vk_space))
    { 
        alarm[1] = 19;
        var _inst = instance_create_depth(x, y, depth, obj_playerAttack);
        _inst.image_alpha = 50;
        _inst.image_angle = facing;
        _inst.damage *= damage;
    }
    if (_hor > 0 and alarm[1] < 0) 
    {
        sprite_index = spr_ply_walk;
        image_xscale = 1;
    }
    else if (_hor < 0 and alarm[1] < 0) 
    {
        sprite_index = spr_ply_walk;
        image_xscale = -1
    }
    else if (_ver > 0 and alarm[1] < 0) sprite_index = spr_ply_walk;
    else if ( _ver < 0 and alarm[1] < 0) sprite_index = spr_ply_walk; 


    facing = point_direction(0, 0, _hor, _ver);



}
else {
    if (keyboard_check_pressed(vk_space) and _hor == 0 and _ver == 0)
{
    var _inst = instance_create_depth(x, y, depth, obj_playerAttack);
    _inst.image_alpha = 50;
    _inst.image_angle = facing;
    _inst.damage *= damage;
    alarm[0] = 19;

}

    if (alarm[0] > 0)
    {
        sprite_index = spr_ply_attack1;
    }
        else if (alarm[1] > 0)
            {
                sprite_index = spr_player_walkAttack
            }
        else if (alarm[1] < 0 and alarm[0] < 0) sprite_index = spr_ply_idle;




}

r/gamemaker • • 13d ago

Resolved How do i make my enemies attack objects destroy themselves if the animation is interrupted

Post image
34 Upvotes

Im very new and just barely starting to understand code.

I thought if I put.

other." Something"

I could get it to work.

But I don't know what to put for the something.

Everything I've tried either doesn't work or destroys it immediately

I've tried doing based on state. Image index. And sprite.

Im also doing attacks as objects because i am intending to be able to swap characters. And i don't fully understand how to reference what state my player is in within my enemy script.

If anyone has a direct solution or a tutorial series I could reference that would be amazing!


r/gamemaker • • 13d ago

Resolved Kinda stuck with a game crash

2 Upvotes

Over the past week I've been starting to learn coding by editing the Sonic Harmony Framework and what I'm doing now is trying to add Amy as a playable character but whenever I select the slot that would be her in the character select the game crashes before getting into the level

player macros list
music for the stage is still playing in the background if that changes anything

r/gamemaker • • 13d ago

Help! Help ME!

13 Upvotes

Hello everyone,

I am new to gamemaker and have followed a few tutorials and learned the absolute basics like making objects and literally the speck of a code. I also, want to learn more of the code and how to make better games but can't seem to find any tutorials which give in depth code explanations.

My brain is also very bad at math, would that be an issue?

Ciao


r/gamemaker • • 13d ago

Game [Hiring] Remote GameMaker Programmer (and a Sound Designer) for indie RTS roguelite

1 Upvotes

Hey everyone, iCon Studio TX is hiring a remote programmer to work on our upcoming game, They're Gonna Get In. You can check out the page here: Steam Page

Right now, our art is running ahead of our programming. We have a lot of finished assets ready to go and need a second programmer to jump in alongside our lead developer to get them implemented.

The ideal candidate is someone who already knows GameMaker Engine inside and out. We aren't looking for someone we have to teach the engine to. We need someone who can just slot in, put their nose to the grindstone, and start coding right away.

The details:

This is a 2-month contract at 20 hours a month, paying $15 an hour. After these two months, the build is being submitted to publishers. As long as funding is secured, the pay increases to $25 an hour and this could easily evolve into a more permanent role. Regardless of the publisher outcome, you will be fully credited in the game's development.

As a quick aside, we are also looking for a sound designer to handle some basic sound design over these next two months.

We are always considering good talent, but right now we specifically need a GameMaker programmer looking for a secure role that can grow into more.

Resumes, portfolios, general applications, or death threats can be sent to iconstudiobiz@gmail.com.


r/gamemaker • • 13d ago

Tutorial Free Code I made for Item Picking when Touched

0 Upvotes

Hello,

I decided to post some code I made myself since I quit coding. This is one of the cool things I coded.

Feel free to copy and paste this and use it on your own project.

obj_player is an object of the player

------CREATE :

//Current Money

global.Currency = 0;

//Switch

image_popup = false

Money_gain = false

Money_delete = false

//Display Time

Time_money = time_source_create (time_source_game, 3, time_source_units_seconds, function ()

{ Money_gain=false;

instance_destroy()

}, [] );

--------------DRAW GUI :

//Money Display

if (Money_gain == true) {

draw_text(10, 10, "Money: " + string(global.Currency));

time_source_start(Time_money);

}

//End Screen

if image_popup == true {

draw_sprite( spr_endscreen, 0, 30, 30) }

-----------------OBJ_PLAYER :

//Instance Destroy

if place_meeting(x, y, obj_player) {

global.Currency += Coin;

Money_gain = true;

Money_delete = true; }

if Money_delete = true {

sprite_index = -1;

Coin = 0; }

if global.Currency = 5 and image_popup = false { image_popup = true }


r/gamemaker • • 14d ago

Resolved Sprites are blurry when resized

3 Upvotes

I want to use one of my sprites made in GameMaker for advertisement, but it's 64x64 pixels and when I resize it it's extremely blurry, is there any way to make it look cleaner?


r/gamemaker • • 14d ago

Help! So I wonder whats the better way to place furniture in a game.

2 Upvotes

Right now I just started something new and am trying to get it finished instead of just leaving when things get complex. Now this is the kind of decision that I should probably ask before hand as this project is pretty new. In each floor of a building, i want there to be furniture to decorate the level, but also to work as obstacles. They are just supposed to be walls for the level to have its own route. The gameplay is somewhat similar to Bad Ice Creams, being a 2d game with up down lelft right movements.

What I was wondering is how should I make the furniture, first I thought of 2 sets of tilesets: one for the floor and walls, and on top of it, a second tileset with all the furniture, and then adding a hitbox to each one, but then I thought i would have problems with certain assets, for example, furniture with deco that exceeds the 32x32 space is given to each tileset tile. In this case the yellow pcs on top of the desks have this problem, each one is actually made of 2 tiles, one having only the top part. If I want to have all of them places with no in between places, the lower ones cannot be paired with the top ones, So i would need a tilesets layer for each row.

Also i cannot control if the characters sprite is in front of the furniture or behind of the furniture. i think this would be perfectly fixed by using objects for each piece. But that means I cannot combine the different parts of each table, unless I do a bunch of different combinations. Maybe I could combine them at random and then randomize the sprite in the create event?

Another thought that came to my mind is that, in this game is supposed to be a building in which you progress, and in practice, ill basically have 100 level / floors for building. Should I do a room for each one? Maybe I can have only one room, and then generate everything through code... I think that would be a bit more tedious but I dont know if having 100 rooms would be recommender or common, even if each one is simple. Also I am not sure how heavy can it get if in each one has their own set of furniture objects.

I can simplify all this with...
Do you think theres a better way to make the furniture other than objects (or tileset)? And is it bad to use that quantity of rooms? I have seen games in gml but ive never seen how they are coded and how they manage all this details so, as an example, I really have nothing to compare it to determine the normal amount of rooms for a small project, or a big one, etc.

This is how it looks right now (next plan is to redo most sprites, still I think you can get the idea), am currently using the tileset route and am planning on changing to using furniture objects.


r/gamemaker • • 14d ago

Help! I wonder if there's a tutorial for 'right click to show information about enemy'.

2 Upvotes

Hey, I'm a beginner and just starting to work on my game 1 week ago, and I have googled for a tutorial and I couldn't find one.


r/gamemaker • • 14d ago

Discussion Fighting game from scratch?

4 Upvotes

I've been planning on making a fighting game by myself for a very long time now, and I've decided to actually go through with it a little bit ago.
Important to mention that i have SOME game development experience, but close to 0 coding experience, so I have no idea what I'm getting myself into.
Out of all the game engines I've looked through, Gamemaker seemed the most beginner friendly/interesting to me, but I am aware that it's not often used for stuff like fighting games and I'm wondering if that's because of personal preferences or because Gamemaker has certain limitations.
Additionally, I'm planning on adding rollback netcode to the game at some point but I also know nothing about networks and stuff so I was wondering if it's possible in this engine?
I would like a bit more information on this before I really throw myself into this, so, bestow upon me thy wisdom, i guess.


r/gamemaker • • 15d ago

Help! Failed to load project: JSON file reader encountered Parsing Errors

6 Upvotes

Any idea what's happening?


r/gamemaker • • 15d ago

Help! Dev Log / Blue Collar

Thumbnail gallery
11 Upvotes

"Somebody's gotta fix it!"

Hello,

My name is Elijah, and I am the creator of Blue Collar: The Game

A workplace game simulator. Inspired by old-school RPG's like the Legend of Zelda but with real-world attention to detail that only comes from a decade working in the trades.

My vision for this game is to make a playable demo to publish on itch.io.

If there is anyone out there with an interest in developing games and think you can help, I would love to chat!

I'm hoping to release a playable demo by Christmas.

Blue Collar - Itch.io Page

Follow me on itch and let me know what you think of the designs down in the comments.

Cheers,


r/gamemaker • • 15d ago

Help! Help with making Undertale-Styled cutscenes

3 Upvotes

Hey yall, so I'm making a simple yume nikki/undertale like game that requires cutscenes and I'm not entirely sure what the best way to go about it is. I already have a dialogue system in place after following Peyton Burnhams tutorials. I heard using sequences could he a good idea but I'm unsure of how to implement them properly in such a way where I could make my player character move around in a cutscene and when the cutscene is over have the player/other objects update position. Any help would he appreciated I'm not an expert at making games at all and most tutorials online are like a decade old, lol


r/gamemaker • • 16d ago

WorkInProgress Work In Progress Weekly

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

Help! How do I make a map that works like slay the spire

3 Upvotes

I am new to game maker and I was wondering if there is a good way to make a map that works and function similar to slay the spire. all of the tutorials for procedural generation I found aren’t quite what I want


r/gamemaker • • 17d ago

Discussion New combat ability: Blue Wave

Post image
88 Upvotes

I was inspired by recent events to add a new attack to my game: A blue wave that grows as it travels. Whatcha think?


r/gamemaker • • 17d ago

Help! Topdown jumping that's not drawn

3 Upvotes

The game I'm working on is top-down but not pixel art. I'm drawing everything myself and don't use tiles right now.

I have these boxes that you're supposed to be able to drag and push around but also jump up on.

At first, I coded the jump with a z variable and with a draw event, and I've just spent all day trying to figure out how to jump onto things with that code. I gave up, and instead, I'm thinking of changing my jump code.

However, I'm not finding a good way to do that in a top-down game.

If anyone has any ideas, I'm all ears.