Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 73081

Game Maker is a cross-platform game creation tool made by YoYo Games mostly used to develop 2D video games.

1 vote

Game Maker Studio 2: Why is my variable not being properly changed?

Nevermind Turns out, the problem was with the way I handled generating your selected party and the fact that modifying an object in a room with Creation Code doesn't completely replace the contents o …
Cobalt's user avatar
  • 181
0 votes
0 answers
95 views

Assembling a party of adventurers

Ok, so my little dungeon runner game has its functioning adventurer characters as objects, but unfortunately I'm having trouble figuring how to let the player assemble a party of four of them like I o …
Cobalt's user avatar
  • 181
0 votes
1 answer
174 views

Game Maker Studio 2: Why is my variable not being properly changed?

Ok, so in my game you have a party of four characters that you control one at a time, each of which can lose health and die independently of each other. All of the player character objects use essenti …
Cobalt's user avatar
  • 181
-1 votes
1 answer
1k views

Does Game Maker Studio 2 have a 'room edge' variable or similar?

I made a sort of "floating camera" for a 2-D platforming game set to follow the player by default but can be made to snap to a stationary point in a room for boss battles and the like, but I've encoun …
Cobalt's user avatar
  • 181
2 votes
1 answer
495 views

How to make a boss control multiple object spawners in Game Maker Studio 2

I'm working on a boss fight for a 2D platformer/shooter game in the vein of the Megaman franchise. I expect part of the fight to include this boss causing large boulders to fall from certain points on …
Cobalt's user avatar
  • 181
1 vote
Accepted

How to make a layered health bar in GML

Nevermind, I already found a crude but effective solution that serves my purposes nicely: draw_sprite_ext(sprite931, 0,0,0,(min(30, global.hp_current)/30),1,0,c_white,1); if(global.hp_max > 30) d …
Cobalt's user avatar
  • 181
1 vote
2 answers
1k views

How to make a layered health bar in GML

I am currently working on a game in Game Maker Studio 2 where the player character is capable of increasing their maximum health beyond a starting value of 30, by increments of 10. I want to represent …
Cobalt's user avatar
  • 181
1 vote
2 answers
3k views

How to make an object with its own sprite draw an additional sprite on top of itself

I'm making character select buttons for a Game Maker Studio 2 game, hoping to do so by just having a single object I can edit on an individual basis to change which character it represents. I also wan …
Cobalt's user avatar
  • 181