Game development software that does not require a high level of programming knowledge. http://www.yoyogames.com/make

learn more… | top users | synonyms

1
vote
5answers
572 views

Collision with 2 of the same objects

I'm looking to make a button that is activated by two of the same objects, but the code I'm using doesn't recognize the second object as a different instance. Not the best explanation but here's the ...
2
votes
3answers
586 views

In GameMaker Studio, how can I make an auto-updater for my game?

I would like to let players update their copy of my game by clicking a button, which would: Check for updates Download the update Prompt the user to restart the game I want to do this because my ...
0
votes
3answers
68 views

Lunar Lander calculating gravity, acceleration and collision in GameMaker

I've already asked this on the GameMaker forums but had no response so far. I'm making a little Lunar Lander game as my first foray in to GameMaker, I'm wanting to have the ship land and take off ...
4
votes
2answers
1k views

Events and objects being skipped in GameMaker

Update: Turns out it's not an issue with this code (or at least not entirely). Somehow the objects I use for keylogging and player automation (basic ai that plays the game) are being 'skipped' or not ...
2
votes
2answers
281 views

Adding a small slide when player releases left/right key

The aim is for the player object to slow down and stop instead of just stopping dead. The following codes works ok when the player is not jumping, but gets stuck in an object if the player is in the ...
1
vote
2answers
70 views

Checking 2 instances of the same object in GameMaker

There are 2 blocks. If the player stands on a block, some sound should loop and when he gets off it should stop. Problem is, The game checks both the objects and when player is on 1 block, obviously ...
1
vote
2answers
95 views

Sound isnt playing in Game Maker Studio when interacting with object

Im making a small game in Game Maker Studio. I have a piece of code that moves the player to the next room when he touches obj_star: this works. I have another line that tries to play sound_collect ...
0
votes
2answers
167 views

In Game Maker Studio, how do I make a sound play only once when I jump on a block?

In my Game Maker Studio game, jumping on a musical block should play a note. Currently, if I step on it, the note keeps repeating. How can I avoid that? I only want the note to play once.
2
votes
1answer
345 views

Gamemaker Running Animation Flashing, showing single frame, and displaying jump and run sprites at same time

EDIT: I changed the origin of the run sprite to the center, and it is no longer hovering above the jumping sprite. It now flashes in the same location as the run sprite when moving to the side. ...
1
vote
1answer
43 views

Detecting Collision in Next Step when Collider is rotating [Gamemaker]

In my Gamemaker: Studio game, I have a collision script for my enemy. The enemy is an alien, oSwarmer, moving through space which is also filled with drifting, spinning bits of debris. Some debris ...
1
vote
1answer
96 views

How to stop movement when an action key is pressed even if movement key is pressed

I'm making a 2d side-scrolling fighting game in game maker:studio and I want to make a code that when the player attacks he stops moving. I've tried some options: keyboard_check(ord("D")); both ...
1
vote
1answer
75 views

Better way to find all sprites that would overlap with other sprite

first question on this site :-) I'm not really sure that the title is very clear so feel free to edit/suggest a better one. I have a piece of Game Maker code which works, but feels like a bit of a ...
1
vote
1answer
214 views

Only allow a certain amount of the same instance in Game Maker

I am creating a simple jump n' run game. For some reason my game sometimes spawns two of the same enemy ontop of each other. So you can't tell there is two of him until he uses his attack where he ...
-1
votes
1answer
32 views

Game Maker Studio Not Drawing Variable?

///Draws draw_set_color(c_red); draw_text(view_xview + 128, view_yview + 128, string(global.fuel)); Why isn't it drawing my variable?
-2
votes
1answer
112 views

How can I check if a variable is relative to a number?

I would like to know how to check if a variable is relative to a number in Game Maker. An Example would be: if variablex += 1 { DOTHIS } However this is not possible in Game Maker so I was ...
2
votes
0answers
497 views

In GM Studio, how do I prompt the player for a password?

I could make strings in earlier Game maker versions, but it doesn't work in the Studio version when I try. The code I used: When Left Mouse Clicked on Password Bar: var str; str=get_string("Crack ...
1
vote
0answers
19 views

How can I make relative movement in GameMaker studio?

I know I can change the hspeed and vspeed properties on my object. Assume I do it for the directional diamond in a squared-style movement game (not necesarily snapping to tiles, but it could). So the ...
1
vote
0answers
71 views

Animation won't play unless movement key is held down

In Game Maker I am creating a 2D RPG and combat is a part of it. I have some animations that will play when the left or right mouse button is pressed (Depending on if you want ranged or melee attacks) ...
1
vote
0answers
64 views

Scaling issues with mobile devices

Okay, So I know there are many questions about this and I looked around trying to find an issue like mind but I couldn't. So my issue is that I am trying to figure out how to fill the screen with ...
0
votes
0answers
40 views

How to make advanced AI in game maker

How do I fix this code? In game maker when I'm running the game, the enemy does chase after me but when they collide with the object tree it crashes. How do I fix the crash? It's a top down shooter ...