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
1 answer

How to stop gamemaker object from leaving tracer

I have just started to use gamemaker and have made my first very basic game, it's just a circle that moves with the arrow keys. My problem is that when it moves it leaves behind an image of itself in every space that it occupies. All I have is…
0
votes
2 answers

How do I get the current date in GML?

I need to be able to get the current date, it doesn't really matter what format it is. Is there a function, or perhaps an API i can use?
0
votes
1 answer

Trying To The Player Attack While Moving

I tried all the ways i found and none work please help. I want the player to attack while moving its that simple but i cant do it for some reason. I'm new to Game Maker Language!
Hamza Nasab
  • 122
  • 10
0
votes
1 answer

Mouse doesn't update outside the game window

I'm just getting back into GameMaker, since it's been a while. Upgraded to Studio 2 since it's all shiny and new and stuff. My test code is quite simple: /// @description Update position each step x = clamp(mouse_x, sprite_width/2,…
Niet the Dark Absol
  • 320,036
  • 81
  • 464
  • 592
-1
votes
0 answers

Gamemaker Studio Individual Level Score

I wanted to make a game where each level takes the highest score and ranking and saves it for that specific level. I understand how to do things like saving the highest score and rank for an entire game, but not for individual levels. Does it…
-1
votes
1 answer

Writing to a spreadsheet in Game maker studio 2.0

I'm making a short game for one of my classes, its for a small research study, so i want to be able to write the participants game data to a new line in a spreadsheet. I've seen stuff on reading from a .csv file but nothing about writing to it and…
nightblen
  • 1
  • 1
-1
votes
1 answer

Best way to implement a dialogue system in Game Maker Studio 2

I am trying to implement a dialogue system for a game that I am making. I have the actual system for handling the text and input all set up. My question is asking about how you actually show the text and have it formatted properly in a certain…
-1
votes
2 answers

Is it possible for a DLL to open explorer?

Im trying to make (what I thought was a simple) extension for Game maker studio 2. I am restricted to making a DLL app. I am wondering is there any was to have a dll app open the file explorer have the user locate a file and then return said…
Chris_livermore
  • 171
  • 1
  • 13
-1
votes
1 answer

GameMaker Studio 2 - Multiple Events - Draw if mouse_enter event

i'd like to draw something over my sprite when the mouse is on it. Something like that (in the draw event of my object) : if(ev_mouse_enter)draw_text(x,y,hp); But it's not working (i know why). I've been thinking about using some boolean to counter…
-1
votes
1 answer

What files do i need to link to my xcode project (built in gamemaker) to make it work?

I have seen similar issues on here which has led me to believe i need to link binary files with library. However, i cannot figure out which ones i need, can any one help me with this ? I have macOS catalina 10.15.3, xcode 10.3, gamemaker 2.2.5.481…
Badetv
  • 81
  • 6
-1
votes
1 answer

A problem with button commands and direction arrays

I currently have a big question for writing code for button commands and direction arrays. I write code for a horizontal button array that is in the form of something like this: for (var i = 0; i < array_length_1d(left); i ++;){ if…
-1
votes
1 answer

GAMEMAKER 2.o Increasing timer after press a button

How do i make a decreasing timer after pressing some button? Actually trying to maker in step event but the timer only decreases 1 per times which the button was pressed.
-2
votes
2 answers

I imported a pokemon project to gmx

// but the code is throwing unexpected terminal operator new function MovePokemon(argument0, argument1) { old = argument0; new = argument1; TPartyID = global.PartyID[old] global.PartyID[old] = global.PartyID[new] …
cpyd
  • 1
  • 1
-2
votes
1 answer

GM2 - Problems loading games

In GM2 professional edition, whenever I try and load a game it takes 4 seconds and then stops loading and 45 seconds later the game window pops up. This did not happen because my game had a large file size because it was just an inanimate cube on a…
Silk
  • 33
  • 7
-5
votes
1 answer

game maker studio tap event and image_angle problem

I am having trouble using the tap event, I made the space shooter with a different theme and I want to turn it into mobile, but when I hold down the object I created for the tap event, the image angle changes only once, I want it to continue…
1 2 3
12
13