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
0
votes
1answer
4 views

Fill with Transparency in Built-In Sprite Editor

When I imported an image for a sprite, I realized it had a white background. I went into the built-in sprite editor to remove it. I tried using fill as there was a transparent color in the color ...
0
votes
0answers
11 views

Problem with positioning cars in a race

I define the speed of the cars based on a fictional and random lap time calculation. Lap time definition code: ...
1
vote
2answers
39 views

How to script sequential events in GameMaker?

I am wondering if there is an elegant way to script sequential events in GameMaker 2. In Godot 3.1, it is very easy to chain events together using yield() and ...
0
votes
0answers
39 views

I need a develper [closed]

Hallo i need a developer for a tap game if some wone interest dan go to my discorde server Link: https://discord.gg/HXa754e
0
votes
1answer
34 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
1answer
46 views

Way to Reset Varible After Collision Resolution - Gamemaker

I have some code that, if a player is in contact with the wall, prevents the player from moving. Is there any way with this code to reset the collide variable, and if not, what would be the simplest ...
0
votes
0answers
14 views

How to draw a rectangle with a border pixel over a camera/viewport?

With this code I intended to visually delimit the complete view of the circuit and the two controlled cars: ...
0
votes
1answer
20 views

Way to Get Collision Box Width Gamemaker

I was coding the wall collision system for my game, and I wanted to do it using intersect boundaries instead of checking every step if they are off the screen. When the player crosses the boundary ...
0
votes
1answer
12 views

Problem displaying drawing of a path in camera/viewport

I have an adm object, which draws the path in the room like this (Object ADM - Draw Event): ...
0
votes
1answer
47 views

Simple 2d Movement (Non platformer)

This seems so simple but my searching as failed to find a good result. The idea is that you can move in 360 degrees but you aren't faster when you move in a diagonal direction. I know how to do this ...
0
votes
2answers
50 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
32 views

Problems With Opening Room Gamemaker

In Gamemaker, I have a main menu room, and hitting start takes you to the gameplay room. When testing it, it did not take me to the gameplay room. I made it load into the problem room first, and all ...
0
votes
2answers
49 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 ...
1
vote
1answer
49 views

How to Make Different Instances of an Object Have Different Sprites Game Maker

In Game Maker, I am trying to make it so that three instances of an object have three different sprites. Using DnD, what would be the optimal way to do this? If it helps, the three instances are ...
0
votes
1answer
62 views

Easiest way to make a button in Gamemaker Studio 2 (DnD)

I want to make a menu for my title screen where the user can click on the option they want. The only way I can think of doing this is by making an object that checks if there is a click and then ...
1
vote
1answer
75 views

How to make a vision cone for the enemy in game maker?

I'm making an enemy object where the enemy look for the player when he's going on a patrol I want the vision cone to changes direction corresponding to the sprite.When the sprite turn right,the cone ...
-1
votes
2answers
52 views

(Game Maker Studio)How to make an alarm that starts & loops in the step event?

I'm making an enemy object where the enemy will go on a specific path to patrol.Then he will stop at a certain point to look around for the player. I planned to make him change his sprite direction ...
0
votes
1answer
42 views

How to support more than 4 XInput controllers?

I'm making a multiplayer game in GameMaker Studio 2. The game supports upto 12 controllers, where the first four are XInput controllers. The rest would be DirectInput. If I try playing with 8 Xbox ...
0
votes
1answer
30 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
0answers
39 views

Multiple fireballs gml

I am programming a bossfight in gamemaker, and I want my boss to shoot multiple fireballs simultaneously, but all in a bit of a different direction, a little bit like this, from rogue soul: It (...
0
votes
0answers
32 views

How similar can my game be to a AAA game? [duplicate]

(This is just an example so take it lightly) Say I want to make a 2D game heavilly inspired by a AAA game. For example GTA V. The names and story remains the same. except everything is in 2D but ...
0
votes
0answers
67 views

Slot Game inquiry. How to set the limit times of auto play?

I'm building a slot game, one line with three reel, using CocosCreator and Typescript. There is an already built auto-spin function once start, it will spin the reel infinite times. The spin will ...
3
votes
1answer
56 views

How can I child one sprite to another?

I am a newb at GameMaker. I have a 2D map which you can move around. I want to add pins to the map, such that when the map moves, the pins stay in the same position relative to the map. By default, ...
1
vote
2answers
71 views

How to get the Javascript equivalent of GameMaker's `hspeed` and `vspeed` given only `direction` and `speed`?

I'm using a NodeJS server to control NPC movement in a multiplayer game, and when they get too close to the edge of the room I need to reverse either the horizontal or vertical components of their ...
0
votes
0answers
28 views

When loading instances from .json, my arrays are magically becoming “numbers.”

Maybe someone here knows what's going on. I'm using GameMaker Studio 2, and I followed this tutorial (https://www.youtube.com/watch?v=-Ps-j_8sT6I&t=366s) by GMWolf to save and load instances. I ...
1
vote
0answers
26 views

Game Maker picking the wrong network adapter for broadcast

In my game I need to get the local network IP of the computer that is running the game, and for that purpose I have the following code: ...
0
votes
1answer
40 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" "...
2
votes
0answers
58 views

Game Dev where to go [closed]

I crave to become game Dev. I have watched tried and even made my first game tutored by brackeys that is a cube dodge game. I felt very happy and successful.but what to do to develop rather than ...
0
votes
0answers
25 views

Implement an “xprevious” in LibGDX

I have used Gamemaker Studio 2 before, briefly, and found that the xprevious and yprevious variables are extremely useful. ...
0
votes
0answers
62 views

Help to Code Bowling Like Feature in Unity for Mobile

I need Code or Guidelines for Touch Feature. When We Drag ball back and Send it Forward. I am Making feature like bowling, and I need Player to add force while dragging back and also curve the path of ...
0
votes
1answer
63 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
0answers
62 views

My sprite walking animation code doesn't work at all

This is my first time doing code for a game so I followed some online tutorials. When I got to the walking and the jumping animation I just can't get it to work whatever I do. I tried multiple codes ...
0
votes
1answer
27 views

Uninitialized Variables with Deactivation of Objects in Game Maker Studio 2

I am currently working on some map generation for my GMS2 game, and I have run into an issue that I absolutely cannot figure out. (I am very new to GMS2, so bear with me). I am working on map ...
0
votes
1answer
29 views

How to change the KEYSTORE securely?

I'm wanting to release a free version of an app to which I've already made a paid version. I simply copied the project to another folder: The project is initially the same as the paid application ...
0
votes
0answers
89 views

How would I create a shadowy “Fog of War” effect in Game Maker Studio 2?

You know if you ever played "StarCraft," as you explore the map it's dark until you go to that area. I am trying to replicate this effect in Gamemaker studio 2. I want to create a shadowed area ...
0
votes
0answers
31 views

How should I switch multiplayer middle-ware service (from Gamepsarks to PlayFab's Photon)?

Due to an increase in prices of Gamesparks, I need to change service and I'm considering PlayFab's Photon. What would be the process of switching? I'm concerned about losing the data of my users, and ...
0
votes
2answers
75 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
0answers
16 views

Character sprite breaks after adding viewport

I am developing a game within gamemaker studio 2, a small RPG style game and I want it so that the camera follows the character as with a lot of similar games. When I run the game from the .exe file,...
1
vote
4answers
116 views

Operating Expenses of Mathmetic Operations

I understand that math operations require more resources/take longer than others when being computed. (e.g. square roots take longer than divisions which takes longer than multiplications which takes ...
-1
votes
1answer
112 views

How would I create a multiplayer game owning a server?

I'm using gamemaker studio 2 to create an RPG, at the moment it's only single player but I would ideally like to make it multiplayer if possible. I've done a bit of research but all the information ...
3
votes
2answers
240 views

Procedural terrain generation is very slow

I've been trying to create procedural generated 2d terrain (similar to a game like Terraria) using Simplex noise. I was able to get the noise function working, and I set up a grid of 16 by 16 tiles ...
1
vote
1answer
48 views

GameMaker Studio: fullscreen vs. dialogs

When setting my game to fullscreen, I get problems with dialogs: "get_save_filename" opens in the background, and when I close it, the game doesn't react anymore. Asking the user a yes/no question ...
3
votes
1answer
183 views

How to let players connect over the internet via TCP?

We are making a 2 player game, using a Client/Server architecture and need a way to connect over the internet. Connecting in the same network is no problem and works flawlessly. Will it be a lot of ...
0
votes
1answer
125 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: ...
1
vote
1answer
45 views

GML: check ds_queue or ds_stack for equality (identical contents)

Is there a nondestructive way to check whether two queues or stacks contain identical values? For example: ...
0
votes
0answers
24 views

Most common ways to use colision mask in Gamemaker 2?

I want to make a colision mask in Gamemaker Studio 2, to my moving character and I ve been looking the internet to find some ways to use colision mask properly, here is what I found so far: 1 way: ...
0
votes
2answers
439 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 ...
1
vote
1answer
56 views

Game running with fewer steps than desired (game created in GameMaker)

I tested my game on 4 different computers and got some results. PC 1 => AMD A4-6300 APU with Radeon HD Graphics / 2,0 GB RAM / AMD Radeon HD 8370D In this computer I tested a few stages and I ...
0
votes
0answers
27 views

Game was resized incorrectly for no apparent reason (GameMaker)

I exported the game with the following graphics settings: OBS - Interpolate colors between pixels would be like a Antiliasing. I do not think it is the cause of the problem, but I will test without ...
0
votes
1answer
30 views

Shortcut Not Found (installing game created in GameMaker)

I tested the game I created on 4 computers (ALL Windows 7) and had the following problem at installation time. The shortcut created by the installer itself came like this: When I click the following ...