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
6answers
786 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 ...
0
votes
4answers
133 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 ...
2
votes
3answers
326 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 ...
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
449 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
2answers
244 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
2answers
90 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
122 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
383 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.
1
vote
1answer
43 views

GameMaker android support

Game-maker asks me to install android sdk api 13 for it to work. I opened the SDK Manager so that I install it, clicked at API 13 and I couldn't be able to click the "install packages" button. I ...
1
vote
1answer
74 views

Detecting Collision in Next Step when Collider is rotating

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
424 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 ...
0
votes
1answer
32 views

Why doesn't this formula double the value properly?

Making a clicker game: Amount awarded per click not increasing based on how many increasers purchased. I have a few global variables set up. global.ramen_1 = 1 This part says how many ramen ...
0
votes
1answer
52 views

Convert Mouse Coords into Isometric Tile ID

Using GameMaker Language, I'm basing off their Adavnced Examples. How can i convert the current mouse position into a tile position? The mouse coordinates are 0,0 from top-left This is the function ...
0
votes
1answer
62 views

How do I make my enemies to follow a path and allow them to collide with the player in Game Maker?

I am making a game in which enemies follow a path. These enemies should be colliding with the player, but it's not working. The enemy is walking the path. And, I want to make it so if the player ...
0
votes
1answer
67 views

game maker place_meeting multiple objects

I am working on a simple game that contains two objects the player and the ground, and I used place_meeting to make the player walk on the ground object and it works fine but when I try to add another ...
-1
votes
1answer
41 views

How do I find and change a value of ALL the instance around another instance GAME MAKER

I basically need that, changing a variable of all the instance (all of the same object) around another instance (another, or the same object). I have tried with collision_rectangle but it doesn't ...
-1
votes
1answer
77 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
190 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
638 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
46 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
104 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
68 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
21 views

GameMaker Studio: Cannot recognize Android SDK

I made my game with YoYo GameMaker Studio 1.3. When I want to configure Android SDK, it tells Android API 13 is missing. When I go to SDK Manager to install those SDK versions (7, 8, 13, 15, 16), for ...
0
votes
0answers
16 views

Sprite Animation Problem For Enemy

I have a problem regarding the attack animation for the enemy. The problem is that the attack animation sprite stops at the first index.It doesn't play the animation.It stops at the first index. Why? ...
0
votes
0answers
21 views

How to embed a web browser object into an Android app in GameMaker: Studio?

I used MIT App inventor to develop Android apps in the past. In there, you can just drop a web browser on the screen layout. Nice. But how would I do it GameMaker: Studio? I'm unable to find any ...
0
votes
0answers
52 views

My GameMaker exe installs and runs but just shows a black screen

I've made a small game with GameMaker Studio and created an executable application file from the project. I installed this exe on my home machine and it worked fine. I then uploaded the file to ...
0
votes
0answers
79 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 ...