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
89
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
1
answer
204
views
Score counter in Python game assigning points to both players
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 ...
2
votes
2
answers
456
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. ...
0
votes
1
answer
109
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 ...
0
votes
0
answers
79
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
65
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 :
<...
0
votes
1
answer
133
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 ...
2
votes
1
answer
727
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
0
answers
105
views
How to efficiently hash canonized structs
Say I have a canonized struct:
{
health: 100,
items: ["apple", "knife"],
name: "Bobby"
}
"Canonized" here means ...
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.
...
0
votes
1
answer
461
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 ...
0
votes
1
answer
1k
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:
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 ...