Skip to main content

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
35 views

How to display text dialogue in a RPG using GML Code

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
47 views

How do you handle game performance issues?

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
52 views

How to replicate shinobi (PS2) scarf in 2d

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
37 views

car movement (side scroller)

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
41 views

delta_time with the new move_and_collide() function in GameMaker

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
238 views

Topological sorting optimization

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
59 views

How to efficiently hash canonized structs

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
66 views

Identifying the wall of impact during BSP traversal

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
468 views

How do I save the player's level progress in GameMaker?

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
144 views

Physics update frequency feasibility

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
48 views

What is ratio of paper drawing to GameMaker Studio drawing?

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

Game Maker Studio 2 Camera Jitter

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
73 views

GMS2 - Game showing the wrong object

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
325 views

Graphical bug when changing room

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
840 views

Game Maker Studio 2 - Pixel Distortion

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
108 views

My character becomes small when moving

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
40 views

Problem with my walking in gamemaker

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
742 views

How to make a character walk in GameMaker

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
158 views

Basis of Estimate (BOE) for Freelance Game Developers

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
629 views

1Bit Bayer Ordered Dithering Shader

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

How to create a game app in Game Maker Studio for Chrome OS

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
226 views

How to assign a new value to a global variable in GML

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

Raycasting in GameMaker Studio 2 to implement hitscan weapons?

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
  • 4,885
0 votes
1 answer
381 views

How to display localized text from the selected language's script file?

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
72 views

How to detect when a shot hits the opponent from behind?

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
366 views

How do I create a powerup that affects speed for a limited amount of time?

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
903 views

How do I adjust speed of an object in gamemaker studio 2

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
559 views

Debugging shader script in GLSL ES - Game Maker 2 (CompileError)

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
269 views

Gamemaker Studio 2 window_set_fullscreen() causes entire screen to go gray, CRTL ALT DEL doesn't work

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
258 views

How to extend a line to infinity?

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
130 views

Function destroying wrong object

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
104 views

How to round/smooth the path of an object/sprite that orbits around another object?

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
13 views

Application stops working when I add two fonts

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
119 views

How to develop a GameMaker game for both desktop and mobile

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
749 views

Multiple small UDP packets vs One big constant UPD packet

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
217 views

Ini files only work on my computer. How to create ini files in a directory on another computer?

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
4k views

Variable not set before reading it error in GameMaker Studio 2

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
253 views

Problem when importing color in hexadecimal format from an ini file

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
127 views

How to access the raw memory of d3d model in game maker?

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
35 views

Image of the room appearing incorrectly for no apparent reason

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
390 views

Android Build Failing Game Maker Studio 1.4

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
48 views

Score won't save to Android in Game Maker Studio 1.4

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
85 views

Run n' Gun game: Fixating the gun's angle

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
30 views

When updating app from Google Play will the app data be deleted? [closed]

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
256 views

Game Maker - Selecting tiles in an isometric grid

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
1k views

Creating Complex Collision Shapes in GMS2

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
855 views

How do I get my team NPC to follow the player? | Game Maker Studio

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
74 views

Enemy gun won't aim properly when collision line is flipped | Game maker studio

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
0 votes
0 answers
79 views

How to reverse the movement of the mouse on the X and Y axes?

I would like to know, how to do so that when moving the mouse to the right, it would go to the left and vice versa. I looked for something related on the gamemaker page, but I didn't find what I'm ...
Boneco Sinforoso's user avatar
0 votes
0 answers
98 views

How do I get the id of an object that created a point in a path?

I'm making a rollercoaster tycoon type game. As the title says, I need to get the id of an object that created a path point. These points are currently greated by the rail pieces. I need this because ...
Toby van der Veer's user avatar

1
2 3 4 5
9