Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [game-maker]

Game Maker is a cross-platform game creation tool made by YoYo Games mostly used to develop 2D video games.

1
vote
2answers
54 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
18 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
22 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
33 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
42 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
21 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
51 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
27 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
58 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
22 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
27 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
49 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
28 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
52 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
15 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
113 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
71 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
194 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
29 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 ...
2
votes
1answer
123 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
39 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
22 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
22 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
1answer
77 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
54 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
24 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
29 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 ...
0
votes
1answer
42 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. ...
1
vote
2answers
49 views

Do I need multiple exports from Game Maker to support Windows versions above 7?

I just created a game. At the time of exporting it, I targeted windows. I use windows 7 on my computer. Obviously the game is compatible with windows 7, but I do not know if it is also compatible ...
0
votes
0answers
77 views

How I can create HQx or xBR pixel art upscaling shader in GLSL?

I want to make an image scaling shader in OpenGL Shader Language... but I have no idea how to make it. I want to implement either the HQx algorithm or an xBR variant. My game engine is GameMaker: ...
0
votes
2answers
46 views

Error in DRAW GUI event on android. (GameMaker)

Image of the game on a mobile phone: As you can see the maze (draw event) has been resized correctly. But the yellow post-it (draw GUI event) has not been scaled or displayed in the correct location ...
0
votes
1answer
62 views

Simplest way to make a car follow a route

To get the cars to follow the circuit, I mapped the circuits to several points. And using the move_towards_point function I make everything happen correctly. In ...
0
votes
0answers
28 views

Game Maker 8.0 Wall Drawing Difficulty

In game maker 8.0 I am using the d3d_draw_wall() function to draw vertical objects. I wanted to clip the edges of the texture depending where they were at. I observed that if I input a fractional ...
0
votes
0answers
20 views

WARNING: unknown variable/constant when I was creating application for windows (GameMaker)

These warnings only happened when I created the game executable: unknown variable/constant "{BET ON MAN}" detected, ignoring (macro:MUI_FUNCTION_FINISHPAGE:230) <...
0
votes
1answer
63 views

How to delete the splash screen I accidentally added?

GameMaker allows you to display an splash screen different from the default. For a moment I thought of using the ready method that you just click the button in the global settings of the game. In ...
0
votes
1answer
56 views

Doubt about font inclusion (GAMEMAKER)?

The default font of the GameMaker is arial, but it does not contain special characters that are present in the portuguese language. Soon I had to add a new font, but I activated the ASCII option so ...
2
votes
1answer
144 views

Problems putting my game in fullscreen on GameMaker

All the rooms in my game have the size of 1280x720, so normally my game runs like this: When I try to enable fullscreen, none of the game's buttons respond to clicks, but the keyboard still works. So ...
4
votes
1answer
86 views

GMS2 How to check if all switch objects in a room are set to true?

I'm trying to implement a puzzle mechanic in Game Maker Studio 2. Where you need to activate multiple switches for an event to happen (e.g. opening a door) However, I'm currently stuck in recieving ...
0
votes
1answer
56 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. ...
3
votes
1answer
214 views

Game Make Studio 2 - Grid snap x, snap y

I'm following a GM tutorial that was given in 1.4 but I'm using 2, and there's a feature that I can't seem to get working. The developer is basically changing two settings (Snap X and Snap Y) which ...
0
votes
1answer
174 views

How to manage collision between balls in Game Maker 2 (Drag and Drop)

Hey there I'm using Game Maker 2 Drag and Drop for a project, I made a game like Break Out and when the ball collides with the wall it doesn't bounce, in Game Maker Studio we had Bounce Action but in ...
0
votes
1answer
83 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: ...
1
vote
1answer
190 views

How to make a horizontal scrolling menu in Game Maker Studio 1.4?

I know how to place the items you see in the picture, my problem is how do I move them? How do I know if the player is swiping right or left? I made the items with a ...
1
vote
2answers
64 views

Any way to interface methods in objects?

Say I have object A, which has children B, C and D. In OOP I would have A be an interface containing method action(), then I would have B, C and D implement A and, ...
3
votes
1answer
52 views

Jumping to land x pixels ahead while not really moving (2D)

The player object in my game has its x-axis locked. It can only jump on Y. It's the ground that constantly moves to the left so that it appears like the player is moving to the right. The ground is ...
0
votes
0answers
33 views

Surfaces in Game Maker 8.0 - Not switching properly

I'm trying to use a dynamic texture to draw a 3D model that changes its texture as different effects are applied to it. It's kind of a dynamic terrain where different types of tiles change. Anyway the ...
0
votes
1answer
92 views

Gamemaker Multiplayer Game

I'm trying to implement multiplayer into my game using the server client model. What is the best method of synchronozing the game between the clients? What I'm thinking is that the game runs on the ...
0
votes
1answer
139 views

Sprite/Object/Room limits in GameMaker 8.1?

I know about GameMaker Studio’s limitations for sprites, objects, rooms, and other assets (https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations), but I can’t ...
1
vote
2answers
341 views

Game Maker Studio 2 problems with too many instances

So I am trying to make a management game, a space station simulator if you will, with potentially hundreds and thousands of customers entering and leaving the station every game day. So my plan of ...
0
votes
1answer
137 views

BUG in sprite GameMaker

In the game you have an object called obj_Corpo, and your image is a 3x3 square. I use it by stretching it horizontally or vertically for 10 or 20 times. Here's an example: Acontece que no jogo ele ...