Skip to main content
6 votes
Accepted

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

If my GML is not too rusty, the following should work: ...
Quentin's user avatar
  • 1,178
2 votes
Accepted

How to share a game created with the free version of Game Maker Studio 2?

Your current problem with creating executables is due to the licence you're using, not (necessarily) the UWP export configuration. The Free license for GameMaker Studio 2 gives you full access to the ...
liggiorgio's user avatar
  • 4,923
2 votes

How do I create a powerup that affects speed for a limited amount of time?

A simple implementation can be done on the playership object. You need to track the power-up additional speed (let's call it ...
liggiorgio's user avatar
  • 4,923
2 votes

Basis of Estimate (BOE) for Freelance Game Developers

Your mid-level cost estimate is about right, $30 / hr for most mid-level freelancing game devs over the last few years is normal, but it can be up to $40 / hr or even above depending on country etc. ...
Engineer's user avatar
  • 30.3k
1 vote
Accepted

How to create a game app in Game Maker Studio for Chrome OS

Chrome OS devices run on top of Gentoo Linux, but Google officially supports the installation of Android apps on Chromebooks. This means that you can install apps from the Play Store or sideload them ...
liggiorgio's user avatar
  • 4,923
1 vote

How to properly control speed of sprite scaling to create "hallway" effect

Pinhole camera basics for drawing lines in perspective What you're trying to implement is called a pinhole camera. You can easily implement this in code. If you do so, your demo will not be "...
Engineer's user avatar
  • 30.3k
1 vote

How do I save the player's level progress in GameMaker?

Games are applications, and application data in memory is non-persistent. Then, if you want to keep using previously seen data, you must first save it somewhere. Regardless of file format, compression,...
liggiorgio's user avatar
  • 4,923
1 vote
Accepted

Game Maker Studio 2 Camera Jitter

After trying to open the same project on Windows I figured out that the jitter had something to do with Mac OS and M1 as there was no camera jitter on PC. So there was nothing wrong with the code or ...
nadiavi's user avatar
  • 23
1 vote
Accepted

How to make a character walk in GameMaker

When you see an error message like: Variable [variable_name] not set before reading it. it means your program is trying to change the value of a variable that ...
liggiorgio's user avatar
  • 4,923
1 vote
Accepted

Size of an object based on a variable

Place this code in the step of your object, not the create tab. image_xscale = global.Your_variable; image_yscale = global.Your_variable;
entertainment animations's user avatar
1 vote
Accepted

How do I adjust speed of an object in gamemaker studio 2

If your goal is to change the movement rate by a fixed amount you could use something like: y += sign(mouse_y - y)*scale; Setting the variable ...
Pikalek's user avatar
  • 12.5k
1 vote

Debugging shader script in GLSL ES - Game Maker 2 (CompileError)

Ok, so I managed to get it working. My code had many problems, first of all the modulus operand % which is not supported by GLSL ES. I had to use the ...
Kodeeo's user avatar
  • 111
1 vote
Accepted

How to play videos in Gamemaker Studio 2?

Yes, you can play videos through GameMaker Studio 2, but you'll have to open and play the file yourself through extensions or DLLs. Whilst there were built-in functions to open video files in previous ...
liggiorgio's user avatar
  • 4,923
1 vote

Formula for attack range using hexagons

You can achieve the desired result (if I interpreted your picture correctly) by replacing your point_distance function with something like this. The function determines the number of steps that are ...
Jonathan S.'s user avatar
1 vote

How to move X and Y position of sprite in GameMaker Studio 2?

As mentioned in the comments, you have placed the sprite in the room instead of the object itself. The object is the one that contains the code and functionality, so replace the sprite with the object ...
Steven's user avatar
  • 903
1 vote

How are Tile Collision Slopes done in Game Maker Studio 2 / GML or in general?

Turns out the answer was indeed calculating it with y = m*x + b Which means for game maker studio: Get the slope tiles x and y coord = x/y & ~ TILE_SIZE_MINUS_ONE make a switch case for your ...
Barney's user avatar
  • 19
1 vote

Problem when importing color in hexadecimal format from an ini file

I read this article to jog my memory about HEX colour indexing, which is basically a base-16 that can be converted easily to decimal values, used in GMS to create colour values with the ...
liggiorgio's user avatar
  • 4,923

Only top scored, non community-wiki answers of a minimum length are eligible