Questions tagged [game-maker]

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

Game Maker is a cross-platform game development software focusing on ease of use and fast coding. It supports deployment to desktop and web platforms, consoles, and mobile devices.

It consists of a simple, integrated game engine and a built-in IDE, which allows users to code via Drag and Drop visual programming or the GameMaker Language (GML) code scripting.

440 questions
8
votes
0 answers

What are Game Maker drawbacks?

I actually make games only programming (SFML atm), but I was taking a look at game maker features and it looks very powerful. What are Game Maker drawbacks? any reason why I shouldn't move into it? It works for little games, but still it work fine…
freesoul
  • 393
  • 4
  • 11
8
votes
6 answers

Can you recommend a good beginners book or project for a young person?

I'm sorry if this question is a bit subjective but I'm sure you'll understand why. I participate in a volunteer program, Big Brother Big Sister, and my match loves computer games and he'd love to make them. He's 16, and he's not that technical yet,…
puppybeard
  • 243
  • 1
  • 6
5
votes
5 answers

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 code: if place_meeting(x,y,obj_cube) &&…
Saphboo
  • 51
  • 1
  • 2
5
votes
2 answers

Gamemaker - Maintain relative position between objects during rotation

I have a large object and a small object - the small object updates its x and y position every step to match the x and y of the larger object. It is easy to keep it in the same position on the larger object without any rotation, as follows (in this…
Bonfire Dog
  • 285
  • 5
  • 19
4
votes
1 answer

Game Maker x and y coordinates wrong

I'm making a game which the user can use the arrow keys to scroll left and right to view the map. I had an issue with the health bars of my enemies being drawn way off even though I set them to be drawn at the x and y position of the enemy. I tried…
terpak
  • 185
  • 2
  • 5
4
votes
2 answers

How can I log key presses in Game Maker?

I'm trying to create a log of a players actions as they play a game of Spelunky. The easiest I've found to do this is to log what keys are pressed at each frame. What I don't know how to do is how to integrate this with the Game Maker source code of…
skeletalmonkey
  • 331
  • 2
  • 8
4
votes
1 answer

How can I child one sprite to another?

I am a newb at GameMaker. I have a 2D map which you can move around. I want to add pins to the map, such that when the map moves, the pins stay in the same position relative to the map. By default, the map will move, while the pins remain…
Evorlor
  • 5,793
  • 9
  • 55
  • 99
4
votes
2 answers

GameMaker - Sprite will not stop moving backwards

I am very new to game development, and I am using GameMaker Studio as my first engine. I was following along with a tutorial to create an Asteroids-like game from scratch, but right now I am trying to create my own coding. There are small problems,…
Gizmo770
  • 41
  • 1
4
votes
2 answers

What's the difference between variables defined with and without the 'var' keyword?

I've been making my way through several tutorials on GameMaker: Studio at this point, and I've been trying to keep track of various aspects of the code used in them. One thing, however, confused me. I have noticed that it's possible to define new…
user67192
4
votes
1 answer

Does each game asset always require a prefix such as 'spr' or 'obj' in their name?

Having started only recently with using GameMaker for game development (keep in mind that this is the first time in a long while that I'm doing something like this, so I'm technically at beginner level), I've lately been thinking about something…
user67192
3
votes
1 answer

How to stop a running timeline in GameMaker Studio?

I am creating a game using GameMaker Studio and I need to stop a timeline that is in progress. How can I approach that with GML code?
3
votes
1 answer

Gamemaker Key Press Duration

I am looking for a way to track the duration of a key press in gamemaker. I was looking into alarm functions, but I figured there's a more elegant way. How can I track the duration of a keypress?
miasyntax
  • 33
  • 3
3
votes
4 answers

How can determine the number of instances of an object in Game Maker?

I am making a small puzzle based game. I want the number of instances of an object to be equal to the ammo count plus 2. Each time a new room is loaded, the main object's creation method with run this script: var ammo =…
user1882752
  • 147
  • 1
  • 3
  • 6
3
votes
1 answer

Game Make Studio 2 - Grid snap x, snap y

I'm following a GM tutorial that was given in 1.4 but I'm using 2, and there's a feature that I can't seem to get working. The developer is basically changing two settings (Snap X and Snap Y) which are located right on the top bar when editing a…
Danny Santos
  • 133
  • 5
3
votes
2 answers

Is there any way in game maker to pass argument parameters to strings executed via the execute_string() function of version 8.0 (pre-studio)?

Last I checked, the game I'm modding was compiled* using Game Maker 8.0 So for a little set up, here is my situation. There's a game out there which has a box in which you can enter a string and it executes it. I decided to try and mod the game…
user64742
  • 290
  • 1
  • 18
1
2 3
9 10