• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!


  1. William Garrison

    GMS 2 Expressions inside a variable

    Im trying to ease in the alpha of a rectangle I drew to the screen. It draws fine of course. Just cant get my brain around how to ease in the alpha. I know how to set the actual script for easing and i have that. It just doesnt animate. Which makes me think you cant do it how I am doing it. Im...
  2. Divinik

    GMS 2 [SOLVED] New Update Broke Depth System

    I have a depth system based off of FriendlyCosmonaut's tutorial, and my implementation of it was working perfectly until the newest GMS2 update. So every object affected by the system is a child of the object par_depthObject. Here is the code for the depth handler object var dgrid =...
  3. E

    Is it possible to create and open a .bat file with gms?

    Is it possible to create and open a .bat file with gms, can you tell me the codes if possible
  4. Le_Beholder

    quick questione~

    not sure if this belongs in programming forums, but anyhow. anyone know the GameMaker 8.0 equivalent for the Studio function ++ , -- , == ? I Think ++ can be retro translated back to v += 1 or something.. anyone know?
  5. tamation

    [solved] An error occurred while writing project

    Anyone know what this error message means? I reloaded a project after getting an out of memory error and can't seem to resave it no matter where I set the destination to.
  6. Carcophan

    [Solved] Draw_Circle is removing sprites/object image

    The simple addition of draw_circle(obj_enemy01.x, obj_enemy01.y, 200, true); to the enemy objects Draw event, removes the actual enemy sprite from the game. Moving the draw_circle(obj_enemy01.x, obj_enemy01.y, 200, true); into the Step event of the enemy object does not draw the circle around...
  7. Andrey

    Android Kotlin and GMS2

    The Android Developers Blog article states that development on Kotlin will be a priority: "Today we’re announcing another big step: Android development will become increasingly Kotlin-first. Many new Jetpack APIs and features will be offered first in Kotlin. If you’re starting a new project, you...
  8. JeanSwamp

    GMS 2 Jump Through Platforms

    So today I was trying to fix something that I've been delaying for a long time, and I actually managed to fix it. Now the problem is, somehow I managed to mess up and forgot what was the thing that I had to change in order for it to work. The problem I'm having is this: When standind on top...
  9. P

    GMS 2 Off-screen deactivation disabling object collisions

    I've been making a Zelda-like top down game in GMS2, where the map is one big room with screen transitions, and I made off-screen objects deactivate themselves so enemies wouldn't move when you can't see them. Normally, when you bump into an enemy you will get hurt, but when I leave the starting...
  10. KPJ

    GMS 2 gms2 variables (SOLVED)

    Hi everyone. I am making a top down shooter and I need help. I want the player's x and y position to be stored in a variable at a certain time in the game. How can I make it so that the variable never changes( when i set the variable to the player's x and y) it constantly is changing every...
  11. O

    Trying to index a variable which is not an array error.

    trying to index a variable which is not an array error shows up for maxexp = lvlup[0]; I don't know what all here is relevant to the problem so this is the entire create event CR = true; CM = false; CL = false; CP = false; CE = false; CG = false; Rlvl = 1; Mlvl = 1; Llvl = 1; Plvl = 1; Elvl =...
  12. P

    GMS 2 [ SOLVED ] repeat/for loop not working as intended

    This is the code: repeat (instance_number(obj_work_table)) { var xx = obj_work_table.x; var yy = obj_work_table.y; var notif = obj_notif_arrow_down; var notif_x = xx; var notif_y = yy - 450; // Create the arrow notification above the workbench notif_work_table =...
  13. S

    Windows How to check Gamepad index in a script.

    Hello everyone, I hope you're all having a wonderful day! I have finished programming the controls for my game and I'm trying to create a, "plug and play" style for the Gamepad functions. I set up a check to see if a Gamepad is connected in the step event like: //Control Check controlcheck +=...
  14. Luotigames

    Asset - Project Roguelite top-down shooter

    GMS 2.0 https://marketplace.yoyogames.com/assets/7697/roguelite-top-down-shooter GMS 1.4 https://luotigames.itch.io/roguelite-shooter-game-asset-pack-gms This asset pack contains over 20 sprites, simple animations, simple sounds and a lot of commented code. You can create your own shooting...
  15. Let's Clone

    What classic game would you like to clone?

    Hey guys! My name is Steven French and I make clone tutorials on my YouTube channel. I have a heaps of fun making theses and I try to keep the code pretty simple for new developers to learn. But I have a question for y'all! Which classic titles would you be interested in seeing a tutorial...
  16. K

    Legacy GM facebook integration for android output

    Hi, i just finished my first android application ... it works but now i'm interested in a facebook user_id recorvering for letting the player uses his facebook logs for the ingame That's where i start and i don't know where to go i can't find tutorials, or well explained topics on about The...
  17. Enes

    GMS 2 Replacing value damage with variable damage of player

    Hey Forum Like normally you can make an enemy loss by just saying variable name hp - value - 20 ....However, what I want is instead of writing -20 as a value, can you also simply say subtract from hp as much as the players variable in create event? I have attached two images so you can...
  18. Zhanghua

    GMS 2 Version 2.2.0:Android Error Compiling Message.

    Android NDK: ERROR:jni/libyoyo-prebuilt/Android.mk:yoyo-prebuilt: LOCAL_SRC_FILES points to a missing file Android NDK: Check that X://yyc/android/armeabi/lib/libyoyo.a exists or that its path is correct...
  19. M

    Asset - Project Battle Ship Engine for GameMaker Studio 2

    Hello! I'm about to do a little bit of promotion, but it would be great if any of you buy this and give me some feedback. In the last week, I've coded an expansive template in GMS2 to make a copy of the board game Battle Ship, and I'm finally done. I've done some interesting things with the AI...
  20. G

    Moving to align with grid

    I'm creating a prototype for my next game, testing controls and everything. The whole scenario is a top down view divided in 80x80px squares, and I want the character to move straight to the area where the mouse presses and stay in the center of it. Once he gets there, I want him to stop and...