Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [gamemaker]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
88 views

I'm trying to make an enemy collide with collision tiles in GML. I don't think there should be anything wrong with it; it compiles, but every time the enemy either immediately disappears, or just ...
Eevan's user avatar
  • 1
0 votes
1 answer
202 views

I am trying to learn to code a simple game with 2 players shooting at horizontal-moving enemies from the bottom of the screen. Everything is working fine except for this: When player 1 hits enemy ...
Marco Marchi's user avatar
0 votes
0 answers
77 views

I’m currently working on my first ever rpg game, and trying to figure out how to use GML code as this is my first time using the software. Anyways, any ideas on how to code in-game dialogue? (e.g. ...
project tamaru's user avatar
0 votes
1 answer
107 views

I’ve been running into some game performance issues lately and could really use some advice. How do you handle game performance issues? I’m talking about things like lag, slow loading times, and frame ...
Vandna Jadhav's user avatar
1 vote
0 answers
152 views

How can I create an effect similar to the to scarf animation in the PS2 game Shinobi as shown below, but in 2D? I use GameMaker but any answer that points me in the right direction is welcome.
Bernardo Becker's user avatar
0 votes
0 answers
65 views

i am using game maker studio 2 i want to make simple car movement but the joints aren't working well, i already tried different joint functions, i don't know what function to use, here's my code : <...
SukiCodes's user avatar
0 votes
0 answers
146 views

Is this implementation of delta time in recent Game Maker reliable? var dt = delta_time / 1000000 move_and_collide(spd_h * dt, spd_v * dt,obj_world.solid_tiles); ...
Bernardo Becker's user avatar
2 votes
2 answers
446 views

I'm creating a 2d isometric game that uses topological sorting to correctly depth sort all of the oddly-shaped isometric objects. I spent a lot of time writing this from scratch, and it works great. ...
Andrachie's user avatar
0 votes
0 answers
104 views

Say I have a canonized struct: { health: 100, items: ["apple", "knife"], name: "Bobby" } "Canonized" here means ...
Ibrahim's user avatar
  • 196
0 votes
1 answer
131 views

I'm building a 2D BSP based physics game and am having trouble implementing what might seem like an easy feature. I'm using Gamemaker as the basis for this project. Basic Info and Point of Impact ...
blondie's user avatar
  • 11
2 votes
1 answer
720 views

My game, made in GameMaker, consists of various rooms (levels) through which you go on progress. So, imagine I'm on level 7, and I leave the game, it goes back to room 1. Also, the only thing I have ...
T14Seara's user avatar
0 votes
1 answer
237 views

I want to create an offline 2D platformer that is not very physics heavy. After a lot of consideration, I've decided to run most of the physics at a fixed rate of 480hz, and I'm not experiencing any ...
Kaeru's user avatar
  • 3
0 votes
1 answer
81 views

I was wondering, if I have character/object on paper (A4 format with grid) and I wish to transfer it to GameMaker Studio, then what should the ratio be between them? I assume it can't be 1:1 or it ...
Eugene's user avatar
  • 101
0 votes
2 answers
1k views

I am trying to follow an RPG tutorial. I used the code for the camera following from there, but in my case for some reason all sprites jitter every time the camera moves, and also when some NPCs move. ...
nadiavi's user avatar
  • 23
0 votes
0 answers
96 views

I'm making an Undertale fangame in GMS2 and i have a problem with my Game: It's supposed to show this: But it shows this: obj_next_room code: The car (obj_torcar) doesn't have code. Room creation ...
Chateauvisionn's user avatar
0 votes
1 answer
406 views

Here is a video showing the problem I'm encountering. And here's my room change code: if(room_exists(room_previous(room))) room_goto_previous();
Chateauvisionn's user avatar
1 vote
1 answer
1k views

I am new to game development and am trying to learn how to use Game Maker to create pixel art games. I've created a demo game with 16x16 pixels art style, the room size is 1024 x 768 and the viewpoint ...
nadiavi's user avatar
  • 23
0 votes
1 answer
141 views

When I move, my character becomes small, I don't know why though. Here is my code: the first one is to go right, and the second one is for going left.
LDLwarrior2's user avatar
-1 votes
1 answer
71 views

Hello I am making a game with my friend and I am the scripter and I wanted to sort out walking he is coming to help me tomorrow. So when I click to go left I go right here is my code Here is my code ...
LDLwarrior2's user avatar
0 votes
1 answer
1k views

I am making a game with my friend and I'm sorting out some scripts. When I was writing the script for walking, I got the error message below. What did I do wrong? Here is my code:
LDLwarrior2's user avatar
0 votes
1 answer
285 views

First off I wanted to apologize if this isn't the right place to post this; I wasn't sure where else to go. I plan to cross-post this question to the Game Maker forums since that's the engine the game ...
A. Joseph Gaylord's user avatar
1 vote
0 answers
900 views

I’m having a problem trying to fix my 1bit ordered dithering shader. This shader is going to be perfect to be used but there is some detail that I would like to fix. First of all, this shader is not ...
Heavybrush's user avatar
0 votes
1 answer
2k views

There are multiple app types in Game Maker Studio you can export to. Which one would be for a Chromebook? I've tried to research the topic, but I haven't seen anything that clearly states if GMS can ...
Spring's user avatar
  • 33
0 votes
1 answer
275 views

I have a variable called global.goldchance = irandom(99);. I use it to get a random number from 0 to 99. However, I need to be able to run it again so that the ...
gmlnoob's user avatar
0 votes
1 answer
3k views

I'm working on a 2D top-down shooter game in GameMaker Studio 2, featuring different weapons and obstacles all around the levels. Since I don't need a high degree of simulation, I'm implementing ...
liggiorgio's user avatar
  • 5,534
0 votes
1 answer
461 views

I am trying to make a textbox engine for my RPG using Gamemaker Studio 2 as my game engine, and so far I have managed to make a pretty good-looking animation for when the textbox comes in and out. I ...
Sengachu Weekly's user avatar
0 votes
1 answer
94 views

I'm making a game where the enemy can turn on its own axis in 360 degrees (top view game). The player-controlled character has a bow. With this bow he shoots and deals damage when he hits the enemy. I ...
Boneco Sinforoso's user avatar
0 votes
1 answer
427 views

I am looking to create a powerup such that when the "playership" object collides with it will affect the playership's speed for a few seconds, let's say 30-60 seconds. I cannot seem to ...
sketcherskt's user avatar
0 votes
1 answer
1k views

Currently, I have this in my step event. y += sign(mouse_y - y); I am trying to adjust how fast it goes towards the mouse so I can have it scrolling up and down the screen. sorry if this has been ...
sketcherskt's user avatar
0 votes
1 answer
680 views

I am trying to use this shader in the game I am making with Game Maker Studio 2. I tried to convert it for GM2 and here is my result: Shader type I used on GM2 is ...
Kodeeo's user avatar
  • 111
1 vote
0 answers
355 views

I'm working on a small game in Gamemaker: Studio 2 in which the user can press F11 to toggle fullscreen. In the "Key Press - F11 Event, I've added the following code: ...
Brady Hege's user avatar
0 votes
2 answers
341 views

In my game I have a line that simulates the trajectory of a gun shot, fired by the main character. The line starts at the character and ends at the mouse position at the moment of the click. What ...
Boneco Sinforoso's user avatar
0 votes
1 answer
149 views

I am using the collision_line_list function to detect all objects of a type. In this case, the object is obj_CapMan. Code: ...
Boneco Sinforoso's user avatar
1 vote
1 answer
141 views

Below is a code that defines the values ​​that cause the sprite to start at the top of the object being orbited: Create Event: ...
Boneco Sinforoso's user avatar
0 votes
0 answers
22 views

I created a game that has two fonts. Being precise, the two fonts are PRESS_START_2P with the difference only in size. One of the fonts serves to write the title and the other for all other things. ...
Boneco Sinforoso's user avatar
0 votes
1 answer
181 views

For a few months I have been creating a game using GameMaker Studio 2 Desktop. It turns out that I would like to launch it also for cell phones, and for that I bought GameMaker Studio 2 Mobile. That's ...
Boneco Sinforoso's user avatar
0 votes
2 answers
914 views

I'm making a MMO Bullet Hell game on Game Maker Studio 2 with a node.js server and I'm already able to receive and send information through UDP connections. I NEED to keep the server as fast as ...
Otarom's user avatar
  • 31
0 votes
1 answer
267 views

I am creating a game that requires the use of ini files. The game works perfectly on my computer. When I create and executable, the executable even uses the ini files when I am programming/testing the ...
Boneco Sinforoso's user avatar
1 vote
1 answer
5k views

I am following along with a guide. I'm trying to reference code from an instance in my room, but whenever I try to run the script I get this error: ERROR in action number 1 of Create Event for object ...
Miriam Harris's user avatar
0 votes
1 answer
303 views

In my game I can import a color correctly when it is in the "engine format". Example ("color.ini"): ...
Boneco Sinforoso's user avatar
0 votes
1 answer
152 views

I am using the d3d model creation functionality in Game Maker. I also use dlls and I want to be able to modify a 3D model (change uv values) without recreating a model. Is there a way to locate the ...
user64742's user avatar
  • 290
0 votes
1 answer
56 views

In the game, when I call the room (room_Corrida) from the room of the selection menu, it was for that to appear: It turns out this is how the room appears: The effect is as if it had a white ...
Boneco Sinforoso's user avatar
0 votes
1 answer
478 views

In Game Maker Studio 1.4 I'm trying to export my game to Android API 29. Whenever I start to compile, the build fails because the API 28 support library is too low for the Target API 29. I have the ...
Rubbish Ambush's user avatar
0 votes
1 answer
68 views

I have oController as the first object to run when the game is opened. In oController's Game Start event I have the following code: ...
Rubbish Ambush's user avatar
-1 votes
1 answer
99 views

I am trying to have the gun stick to facing the left or right when the player isn't pressing any of the arrow keys. For instance, if the player is aiming diagonally up-left, then when the player lets ...
Gameboy The Collector's user avatar
0 votes
1 answer
41 views

My question is pretty simple. I developed a game, uploaded it on the store. In order to keep player level record and UI prefs it writes an ini file. When the next update is up on the store and the ...
tavi_tudor's user avatar
0 votes
0 answers
310 views

I have implemented an isometric grid with rotation in 2 directions in Game Maker. I did this by first calculating the points of the grid in 3D space and then converting them to 2D points through ...
user137's user avatar
  • 443
0 votes
1 answer
2k views

I'm pretty new to Game Maker Studio 2 and I've hit a wall in programming with their built-in physics engine. I created a irregularly shaped object and I want to modify the collision shape so that it ...
An Individual's user avatar
0 votes
1 answer
964 views

I would like to have 4 teammate NPC's that would follow behind the Player. First off, I know how to get the movement and collisions working properly but getting the NPC's to follow the player is where ...
Rubbish Ambush's user avatar
0 votes
1 answer
105 views

When the enemy move's to the right their gun faces right. When they move left the gun will face left as it should. When the player collides with the enemy collision line on the right side, the enemy ...
Rubbish Ambush's user avatar

1
2 3 4 5
9