Questions tagged [gamemaker]
Game Maker is a cross-platform game creation tool made by YoYo Games mostly used to develop 2D video games.
447 questions
0
votes
0
answers
88
views
Why does a colliding object immediately disappear?
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 ...
0
votes
0
answers
77
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. ...
1
vote
0
answers
153
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.
0
votes
0
answers
146
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);
...
0
votes
0
answers
104
views
How to efficiently hash canonized structs
Say I have a canonized struct:
{
health: 100,
items: ["apple", "knife"],
name: "Bobby"
}
"Canonized" here means ...
2
votes
1
answer
721
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 ...
0
votes
1
answer
81
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 ...
0
votes
0
answers
96
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 ...
1
vote
1
answer
1k
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 ...
-1
votes
1
answer
71
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 ...
0
votes
1
answer
285
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 ...
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 ...
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 ...
0
votes
1
answer
94
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
355
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:
...
0
votes
1
answer
149
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:
...
0
votes
0
answers
22
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.
...
0
votes
2
answers
914
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 ...
1
vote
1
answer
5k
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 ...
0
votes
1
answer
152
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 ...
0
votes
1
answer
478
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 ...
-1
votes
1
answer
99
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 ...
0
votes
0
answers
311
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 ...
0
votes
1
answer
965
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 ...