Questions tagged [game-maker]

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
1
vote
1answer
562 views

How can I make relative movement in GameMaker studio?

I know I can change the hspeed and vspeed properties on my object. Assume I do it for the directional diamond in a squared-style ...
1
vote
0answers
452 views

What is Sprite Kit capable of? [closed]

I am messing around with Game Maker in my free time. I learned some Java at school but never really understood the object oriented principles. When I got to know Game Maker I was surprised that game ...
1
vote
1answer
2k views

Moving a UI element with an object on-screen [Gamemaker]

I have an oPlayerobject, and an oTutorial object which has a DrawGUI event for displaying text on-screen. Currently I have the ...
1
vote
1answer
269 views

Spawning Object 1 Within Object 2's Collision Box [Gamemaker]

I was wondering if any of you could help me with a specific Gamemaker question. Am using Gamemaker Studio. I have an object (oSpecialSolid) which rotates and moves across my level. At random ...
1
vote
0answers
66 views

Grid Based AI Pathfinding [duplicate]

I'm creating a top-down RPG and I have the movement system set up for the player character - it is alike to Pokemon in the movement sense in that it looks smooth but it is aligned to a grid. Since I ...
1
vote
0answers
774 views

Animation won't play unless movement key is held down

In Game Maker I am creating a 2D RPG and combat is a part of it. I have some animations that will play when the left or right mouse button is pressed (Depending on if you want ranged or melee attacks) ...
1
vote
1answer
475 views

Applying statements to a single instance in Game Maker?

I'm currently in the process of making a platformer, and am currently in the process of creating "depth" into my game, by making Up/Down-W/S control your depth. (Come closer to screen, go further). ...
1
vote
1answer
1k views

Gamemaker multiplayer using 39dll

I am making a gamemaker multiplayer game using 39dll's tcp sockets. As I want to host the server (and my javascript knowledge is a lot better), I use node.js for the server. I have already got ...
1
vote
2answers
2k views

Creating 2d array in gamemaker from code

According to GameMaker2 arrays documentation, GML has 2d arrays. At the same time I could not find any references how can I create 2d array from code. I tried doing ...
0
votes
3answers
142 views

How to make compound data in Game Maker?

In other languages, such as Lisp, there is such a thing as "compound data", where several variables are grouped together. For example, if I want to represent an orbital that rotate around the player ...
0
votes
1answer
234 views

Jump function moves object horizontal after dash function

I have a dash function in my game as well as a jump function. Both of them works completely fine all by themselves. The jump works find and the dash works fine, however, I want to be able to jump ...
0
votes
2answers
80 views

How to clear the scores?

My issue is when I exit the game the lives and scores still appears in my game menu so how do I clear them after I quit the game and get back to the menu?
0
votes
2answers
72 views

Help for sorting cars that are 1 lap behind the others (latecomers)

Think of 22 cars running in circuit. I can sort them based on the order they reach the finish line. I start to have problems, because over time, the faster cars start to reach the slower cars. ...
0
votes
1answer
391 views

How do I access device camera in GameMaker Studio 1.4?

I've looked everywhere in the documentation for GameMaker and I didn't find anything about how to access the camera.
0
votes
3answers
80 views

How to resolve this problem with an object's collider?

In my game there is an obj_maze: The width of the maze is 10 pixels in all its extension. In the game, the goal is to get the obj_Cube through the maze. obj_Cube: The obj_Cube is wider than the ...
0
votes
1answer
562 views

Issues making a gradient square in glsl es 2.0, Gamemaker Studio 2.0

I made a triangle list with 4 triangles, having the middle point a different color. And then aim to combine the triangles to get a nice gradient. But the edges of the triangles create unwanted lines, ...
0
votes
5answers
4k views

Is there a way to set a range on a case argument in a switch statement in Game Maker: Studio?

Okay so I am making a tower defense game in GML and I came across a small problem when making a switch statement, I want to have anything from 1-10 to result in a variable changing to 1, anything from ...
0
votes
2answers
42 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
207 views

How to make an object towards the mouse on one Axis - Gamemaker Studio 2

I am trying to have my "obj_playership" move towards the Cursor on a single Axis. Prefer it to be the Vertical Axis. I tried doing this is an "Execute Code Box" in a step event "direction = mouse_x" "...
0
votes
1answer
189 views

How to change the version code in application created by the GameMaker?

Code that I can not change: Image of the error: Inside the red square is written: ...
0
votes
1answer
254 views

How to scale image at runtime in GameMaker?

I use this code to create a new enemy and preset some values: It runs in the step event of the player object. ...
0
votes
1answer
148 views

Variable Problem when coding the Player Movement in GameMaker Studio 1.4.9999

In oGirlTest object I have a Create and Step event. Create: ...
0
votes
1answer
1k views

How can I respawn enemies in Gamemaker Studio 2?

I know this may have been asked before but I would like an updated answer. So how do I respawn enemies in Gamemaker Studio 2? Say I have an object called objBullet ...
0
votes
1answer
263 views

Rotate a ds_grid 90 degrees in GMS2

I need a function that allows me to rotate a grid data structure an arbitrary number of times 90 degrees clockwise. Currently it doesn't appear as though the function has any effect on the ...
0
votes
1answer
132 views

Delta time causing comparison issues due to floating points

I am working on a game in Game Maker Studio: 2 and am using Delta Time for the time. I understand what it is, how to get it, and how to use it, but I am running into issues when I need to make ...
0
votes
2answers
2k views

How to change the size of a draw GUI?

I tried to create a HUD button with a sprite of dimensions 1200x1200 to decrease it by code, but I could not. Code: ...
0
votes
2answers
120 views

Making a sound every time I get to the edge of the platform

I'm trying to make a runner game for the blind, and I need help making a sound every time it is time to jump. I am using Game Maker, and I have no idea how to do it. How do I play a sound when my ...
0
votes
1answer
93 views

Game Maker: is 08 the same as 8 in arrays?

if I make an array A_[01], can I refer to it later with A_[1]? I am asking because I am not sure if this is the reason why I am ...
0
votes
2answers
369 views

Game Maker - Create Instance When Health Is 0

I have five objects: obj_Boss, obj_bossHealth, obj_GameOver, ...
0
votes
1answer
778 views

In gamemaker studio, how do I make text boxes?

How to make text boxes in gamemaker studio?
0
votes
2answers
4k views

How can I use a data grid to make an isometric turn based game in GameMaker?

I am making a Hero Quest clone. It is a turn based adventure game with an isometric view point. So far I have been able to turn a 2D map into an isometric view but I believe I need to use a data grid ...
0
votes
1answer
1k views

In Game Maker Studio, why does the image rotation have to be performed every step?

I'm a software developer who's trying to get into game development casually on the side. I picked up Game Maker Studio a while ago on a Steam Sale, and I'm finally getting into using it, especially ...
0
votes
4answers
9k views

How to stop movement when an action key is pressed even if movement key is pressed

I'm making a 2d side-scrolling fighting game in game maker:studio and I want to make a code that when the player attacks he stops moving. I've tried some options: ...
0
votes
3answers
3k views

What is the difference between phy_position_x and x in GameMaker: Studio?

This is not covered anywhere in the documentation that I can find. I am using the physics engine, and the reported phy_position_x and x values are different, such that (phy_position_x, phy_position_y)...
0
votes
1answer
5k views

Gamemaker: Making a bullet Spawn at the enemy it was called from

I'm making a gamemaker game with gml. In this game I have multiple enemies (same object) on screen at the same time. I want them to all spawn a bullet at their location. But instead each enemy spawns ...
0
votes
2answers
3k views

How can a NodeJS server be used from Game Maker HTML5?

I want to create a client-server game that runs on Game Maker HTML5-NodeJS. The NodeJS server will be an AI server - a bot that acts like a human opponent and plays against the human player at a front-...
0
votes
2answers
81 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 ...
0
votes
1answer
66 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"): ...
0
votes
1answer
110 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 ...
0
votes
1answer
26 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 ...
0
votes
1answer
166 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 ...
0
votes
1answer
91 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 ...
0
votes
1answer
62 views

Way to Round Numbers

I have it when the player clicks the mouse they can move the peice aoround the board. I am trying to have the chess pieces snap to a grid after the mouse has been released. Is there any way to round ...
0
votes
2answers
70 views

How to make a more accurate lap time? get_timer() LIMITATION?

In the room there are 22 cars. All cars have a different speed. The cars are numbered from 1 to 22 with the help of the variable carNumber. CODE - obj_Car / Set car speed (Create Event): ...
0
votes
2answers
119 views

How to draw the path with a thicker stroke?

I have a game where objects follow a path that resembles a circuit (f1, nascar, stock car). Using the draw_path function, I can draw the circuit on the game screen: It turns out that dash got too ...
0
votes
1answer
52 views

How to make character not enter the platform when colliding on the side with the platform?

I had a problem with detecting my character's collision with the enemy being detected in 2 ways: side by side when it (character) jumps into the enemy's head. I imagine it to be basic, so I figured ...
0
votes
2answers
395 views

Rotating an object while moving

I have an object the is a perfect circle. The object is moving left, right and jumping with collision detection. What I am trying to do now is rotate the object while it is moving, so it looks like ...
0
votes
1answer
430 views

How to make sound play when button is pressed

I'm using Game Maker Studio 2. When I press the "Z" key I need audio to play, but I can't seem to get it to work. I'm using the following code inside an object's Key Press event: ...
0
votes
1answer
674 views

How to create walking animations in Gamemaker 8

We are learning how to use Gamemaker 8.1 in my game design class, and I wanted to experiment with it, and try to make my own game. I have run into a problem when trying to animate an object walking. ...

1
3 4
5
6 7
9