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
0
votes
0 answers

Game Maker: Mouse Press Event Not Being Called During Player Movement

I'm trying to prototype a top-down shoot-em-up in game maker, but I've run into a critical flaw early on. I'm having trouble making instances of the player's bullet appear during the step event for the player object. I have the prototype set up to…
Takune
  • 1
  • 1
0
votes
1 answer

Game Maker 2 path breaks when changing rooms

I'm making a game in GMS 2. As part of the game, I have on object that is following a path, and I want it to continue following the same path after I change rooms. I noticed that this doesn't work - the path continues as usual, but the X and Y…
n00b programmer
  • 2,671
  • 7
  • 41
  • 56
0
votes
0 answers

In GameMaker Studio 2, retrieve non-persistent object from another room

I have a game which consists of 2 rooms - upper floor and lower floor. I want to create a path for an object on the lower floor, while the displayed room is the upper floor. The object that walks the path is persistent, but it will only be drawn if…
n00b programmer
  • 2,671
  • 7
  • 41
  • 56
0
votes
1 answer

Projectiles In Gamemaker Studio 2 Not Moving

My gun's begin step code: if (global.night == true) { image_angle = point_direction(x, y, mouse_x, mouse_y); image_index = 1; alarm[0] = 0.5 * room_speed; firingdelay -= 1; if (mouse_check_button_pressed(mb_left)) &&…
0
votes
1 answer

falling platforms game maker studio 2

I am trying to put platforms in game maker studio 2 that fall when jumped on, but my character stops jumping while the falling with the platform, how do I fix this? Note that my character can jump if the platform rises here is my falling platform…
0
votes
1 answer

Collision between physics object and non physics object in physics room game maker 2

I have trouble for getting collision in my game. I have a physics room and some object. I have two objects where uses physics is active. I make them collide. and it's still ok. But when I try to add some object without uses physics in my room…
0
votes
1 answer

Blender - commands in C# C++

I got a task to establish GMS2 -> Blender one way communication. Dll extending GMS2 needs to be written either in C# or C++. Problem with Blender is that it has no ports like Maya has. So I tought about a solution via sockets but not sure if that is…
user9428429
0
votes
1 answer

game maker studio 2: bullets don't move to the mouse direction

I'm trying to make shooting mechanics in my game, but I can not force bullets move to the mouse direction. It just creating under player object and stay on his coordinates . Uses physics don't change situation, no matter obj_bullet just "uses…
0
votes
1 answer

GameMaker Studio 2 - Path Not Found

I am using GameMaker Studio 2 to make a 2D platformer game. But when I tried to run the game I am encountering this error: It says: Path doesn't exists. I don't even have a Z drive.
Brogolem35
  • 101
  • 12
0
votes
1 answer

Problems with movement GameMaker studio 2

I am make a game for school, within this game I have an (hero)asset, this asset walks on keypresses and stops when I don't press the key. The only problem I have, is when the I stop walking de animation keeps on running. In other words, it stands…
markm
  • 1
  • 1
0
votes
1 answer

Gamemaker: Ball won't bounce off wall on its own

The initial idea is to have the ball reflect off the wall object and carry the same speed once it bounces off. Thanks in advance. if (place_meeting(x,y + vsp,o_wall)) { while (!place_meeting(x,y-sign(vsp),o_wall)) { y = y *…
0
votes
1 answer

In Gamemaker Studio 2 how can I find out in code whether the platform is HTML5 or not?

I want to be able to run or not run code depending on which platform I am building for. Some code should only run for the HTML5 platform. How can I found out whether the platform being run is HTML5 inside my gamemaker events?
Jaswir
  • 172
  • 11
0
votes
2 answers

instance_create_layer won't recognize a layer that IS created

I'm using Gamemaker studio 2 and I am fairly new keep in mind but I am fairly certain this isn't a problem on my side. I've been watching a youtube series on creating my first game using GML and my code looks EXACTLY like his and is not working. if…
Trevn Jones
  • 341
  • 2
  • 4
  • 11
0
votes
0 answers

How to sense which direction my player object was hit from in Game Maker Studio 2

I'm making a 2D Platformer game in GMS 2 and I need to make my player face the direction that he was hit from when he dies. How do I sense which side he was hit from? I only need to sense right and left collision. Currently my code looks like…
user8116739
0
votes
2 answers

Game Maker Studio Score, My Score resets when going to the next room

I'm having a problem regarding the scores in my game, My game is about answering questions using jumbled letters and when the player gets one correct answer, the game should add +1 to the game score and move to the next level (which is in the next…
1 2 3
12
13