Questions tagged [game-maker-studio-2]

GameMaker Studio 2 (often called GMS2) is a 2D game development IDE. It is the next iteration of GameMaker: Studio, developed and published by YoYo Games. Use this tag only if your question relates to IDE operation, features and game development in GameMaker Studio 2.

GameMaker Studio 2 (often called GMS2) released early 2017, is a 2D game development IDE. It is the next iteration of GameMaker: Studio, developed and published by YoYo Games.

The IDE features Drag and Drop (DnD™) code blocks for easy programming, or a fully fledged code editor using GameMaker's proprietary language GML (GameMaker Language).

The IDE also comes with a full suite of art, object and level design tools and editors, allowing full game creation without the need of any external software.


Resources

196 questions
8
votes
1 answer

GameMaker Studio 2 collaboration between windows and osx

So I've been working on a game with a friend and we've run into a continuing problem with the .yyp file. At first we had the .yyp file under git control but whenever one of us would pull down the the other's changes the game wouldn't be able to run…
Sparkmasterflex
  • 1,837
  • 1
  • 20
  • 33
5
votes
1 answer

Issue getting 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, I don't want these lines I want it to be smooth…
Jaswir
  • 172
  • 11
4
votes
1 answer

Adding cycles to a Minimum Spanning Tree without moving the points?

I am generating a dungeon layout for a video game. I have created the rooms, spaced them out using seperation steering, and created a fully connected weighted, undirected graph of the rooms. Then I calculated a MST using Prim's Algorithm, all using…
3
votes
1 answer

I want to know how transformed "a-(a%b) " to "a&(~b)" (snapping grid formula)

When I searching about Snapping grid function. Actually it is Tile Collide.(You maybe know I learning GMS2 because of tags..) It is not important for my question. Cut to the chase, I learned about this formula. pos.x - (pos.x % gridwidth) <- this…
JINU_K
  • 133
  • 7
3
votes
1 answer

My GML shuffling array function is alway returning the same result

I'm trying to make a shuffling array function in GML. Here's what I tried, with argument0 being the array to shuffle and argument1 being the size of this array: ///Shuffling array function //argument0: the array to shuffle //argument1: the size of…
3
votes
1 answer

Game would not run in game maker and it said "cannot use function/script name for a variable,using"motion_add"

this was happening to me as I tried to make an astroids game on game maker. I put in the code motion_add[image_angle, 0.2] and it was working fine then it said "cannot use function/script name for a variable,using"motion_add" if you guys could…
2
votes
1 answer

How can I add text like "Game is paused" when I pause the game in GameMakerStudio2

I have a code to when I press "p" the game pauses. Although, I want to show some text saying like "Game is Paused. Press P to progress" how can I do that? Here´s my code: //create…
T14Seara
  • 37
  • 4
2
votes
1 answer

Gamemaker rooms empty even though there are objects in the room

I made a game, it worked earlier today. right now though, my main menu works just fine if i compile for javascript, but when i go to any other room, it's just a black screen, but if i compile for windows, the buttons don't work at all. nothing…
2
votes
2 answers

GameMaker 2.2* => 2.3 Update fix arrays

In new GameMaker 2 update there are so many major changes: https://help.yoyogames.com/hc/en-us/articles/360011980018 We develop our game (https://store.steampowered.com/app/733460/First_Feudal/) on this engine for 3 years. There was no other way to…
2
votes
1 answer

I need help converting this 2D sky shader to 3D

I found this shader function on github and managed to get it working in GameMaker Studio 2, my current programming suite of choice. However this is a 2D effect that doesn't take into account the camera up vector, nor fov. Is there anyway that can be…
2
votes
0 answers

Why doesn't Xcode have permission to view files?

I tried to run my program on iOS. Build was successful but in the end I am getting a message that I don't have permission to view it. I tried to make Read/Write permission but it doesn't work. Any ides?
Bielskas
  • 21
  • 1
2
votes
1 answer

Game Maker Studio 2 - How to give one input priority over another when controlling the same object?

I'm trying to control an aiming object in a game I'm starting on with two different inputs, one is the left stick so you can aim while moving, and one is the right stick for more precise aim, but I'm having trouble making it so I can control it with…
2
votes
8 answers

Game Maker Language new line

I am writing a GML script and wanted to know how to make a message appear on the next line: ex. show_message("Hello" + *something* + "World") outputs: Hello World
1
vote
1 answer

Overriding UIViewController methods from .mm extension

I'm trying to make an extension for Game Maker : Studio that disables Notification bar when dragging from the top of the screen. The extension is a combination of .mm and .h files. I'd like to use the solution described in this post, but I'm…
1
vote
1 answer

Using move_and_collide with multiple objects in GameMaker 2

I have the following object types: oWall oEnemy And I'm trying to call the new move_and_collide function in such a way that it would collide against both of them. Something along the lines of: objectsToCollide = array_push(array_create(0), oWall,…
Andrei Statescu
  • 329
  • 1
  • 6
  • 22
1
2 3
12 13