Game development software that does not require a high level of programming knowledge.

learn more… | top users | synonyms

1
vote
6answers
946 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 ...
1
vote
4answers
187 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
359 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 ...
0
votes
3answers
44 views

how to spawn object at tip of rotating object

Engine: Gamemaker Studio I'm learning to code in GML and I am having difficulty in having my bullets be created in the desired position, the front of the object firing them. Here's how it presently ...
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
516 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
484 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
105 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
144 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
39 views

How to make the minimap inactive?

I have created a minimap for my top-down Shooter and it is showed on the top-left corner of the window. The problem is that if I press anywhere upon the minimap, its like pressing somewhere on the ...
0
votes
2answers
694 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.
0
votes
1answer
36 views

Why is my variable seems to be non-existent in GameMaker?

I find myself stuck again with a peculiar issue that I don't really understand. I'm currently trying to implement a "weapon" into a shooter game (using it as a learning project), as I was (and still ...
0
votes
1answer
31 views

Permanent Adjacency Problem [Gamemaker Studio]

Situation: I started work on a pet project recently. It's a bit like Puzzlecraft, or Bejewled, but slightly different. You click one gem, as we'll call it, and if it's the first in the link, then it's ...
0
votes
1answer
39 views

How can I make my character 'flip' in Game Maker?

I want my character to 'flip' or 'mirror' when I press 'A' or 'S'. Thing is, I've placed the origin everywhere on the character and he seems to only face one direction. Video showing what I see: ...
0
votes
1answer
111 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 ...
0
votes
1answer
72 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
118 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
32 views

Using phy_rotation to follow the mouse [Gamemaker]

My oPlayer object (a physics object in Gamemaker) uses the following code to follow the mouse: phy_rotation = point_direction(phy_position_x,phy_position_y,mouse_x,mouse_y) direction = phy_rotation - ...
-1
votes
1answer
69 views

Game Maker Studio - Check Collision With Subimages

I have an obj_roulette, which contains 4 subimages, with value 2-5 and image_number 0-3. The value result from roulette stored as var global.roulette. Then, I make many obj_meteorite, which contains ...
-1
votes
1answer
33 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? ...
-1
votes
1answer
113 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 ...
-2
votes
1answer
53 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 ...
-2
votes
1answer
196 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?
-3
votes
1answer
313 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
758 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
72 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
142 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) ...
0
votes
0answers
14 views

(GameMaker) Smooth scaling and transparency while zooming

My game has a zoom function. There is a man in a spaceship, we can see the interior of the room room from side on as the outside is totally transparent. When I zoom out I want the outside of the ...
0
votes
0answers
12 views

(Game-Maker GML) Keyword based conversation system with text input box (Ultima 6&7 style)

I would like to create a keyword based conversation system for my game with a text input box (like in Ultima's 6 & 7). For example an NPC may say "I'm going to the CASTLE to the NORTH but I need ...
0
votes
0answers
48 views

I Need help with Match-3 mechanics in Gamemaker

Engine used: Gamemaker Studio, Professional Edition Note: I just saw a suggestion to use an array/matrix, and that's probably infinitely more useful and easier than what I'm doing right now (free-...
-1
votes
0answers
52 views

Game Maker - Mouse Click image_index Checking

I have this sprite: spr_meteoriteLv3, which has two sub-images with index image_index 0 and 1 respectively. I have these objects: obj_meteoriteLv3, obj_tempMeteoriteLv3, and obj_score. Object ...
-1
votes
0answers
23 views

How can I fade a sprite in using GameMaker?

I am currently developing a game, and I have a few issues. One of those has to do with the introduction of two of my characters. I want to introduce them by fading them in, but I don't know how to ...
-1
votes
0answers
44 views

Game Maker - Collision With Subimage Total Storing

I have three objects: obj_bullet, obj_meteoriteLv2, and obj_tempMeteoriteLv2. obj_meteoriteLv2 contains 4 sub-images. obj_tempMeteoriteLv2 makes obj_meteoriteLv2 spawn. obj_bullet is controlled by ...