• 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. B

    Nothing I do will show up as a preview

    I have done almost everything to try and get sprites/objects to show up on gamemaker for Windows 10. I have: -updated runtime -restarted PC -made new projects -drawn events (only gotten text) -removed avast -made objects persistent -changed background color -run other people's demos (WHICH WORK...
  2. Yizzard

    GMS 2 Question about possible future saving glitch

    So my game saves with ini files storing variables in them. I noticed that sometimes when I create new objects gamemaker will automatically reorder the object numbers of each of my objects and it will mess up previous save files. For example, in my save file it has currentParty0 = 14, telling the...
  3. S

    GMS 2.3+ Platform game with classic RPG view from above : should the tiles of the room be made of objects?

    Hello everyone, I'm planning to make a platform game using a classic RPG view from above, so the player would use the 4 directional arrows to move left/right (x coordinate) forward/backward (y coordinate); but also the space bar to jump (pseudo-z coordinate). I however can't figure out how to...
  4. W

    SOLVED [SOLVED] Help with Just Dance's Pictogram system

    Hi, how are you guys? So... I started to work on a Just Dance fan-game on GML, and until then, everything is going well I was able to get video playback (through a extension), programmed lyrics and beat system Here is the current progress of the game: But, i'm having trouble with something...
  5. TomOmNom

    GMS 2.3+ Get instance IDs of objects/use creation code in sequences?

    So essentially I'm making a fighting game and I thought it would be a great idea to visualize the hitboxes, hurtboxes, and animations through sequences to make them much easier to work with. I have an animation set up with hurtbox instances and hitbox instances, but I can't find a way to assign...
  6. Nathan

    Windows Is copying objects between project files possible? (

    I'd like to copy a few objects and put them into a new project so that I can use that as a testing sandbox and simplify everything for sharing as I'm having trouble with one thing in a very complicated game, and don't want to upload the game for people to look at the issue. I tried copying the...
  7. Athena's Owl

    GMS 2.3+ Creating objects stored inside of a ds_grid into a large room

    Is there a way to create objects into a room that are stored inside of a ds_grid? Instance_create_layer or depth doesn't like when I try and place a something other than a direct object and gives me an error. I can draw my ds_grid when I have sprites stored in the draw event, but I imagine when...
  8. jobjorgos

    GMS 2.3+ How to simply add/remove objects in a room in GM2.3?

    Very simple question, how to simply add/remove/move objects in a room in GM2.3? I cant click any objects, I cant remove anything, and I cant add anything. I have read the room manual but I couldnot find the answer there.
  9. K

    Objects Not Showing Up

    Hi, I have no past in coding and programming, and i wanted to try gamemaker because friends told me it is an easy software, but i have a problem. when i place an object in any room, i just can't see it... what should i do? (the visible checkbox is ticked) here is a video showing my problem ...
  10. E

    Question - Code Instance Create Layer and Possible ID passing issue.

    BACKSTORY: The issue I believe is with my ID, I’m working on an RTS style game, where my spawner lets say a space station spawns units every 3 seconds of a player object “spaceship”. The battlefield has units running around randomly and when they spot a player spaceship and they attack it. I...
  11. Warspite2

    GML Only certain objects can be clicked in views

    So I have 2 seperate views with one being a main view and the other a mini map. I only want gui buttons clickable on the main view and not the mini map. As it is now, buttons can be clicked on in any view and I don't want that. Can anyone shed some light on this for me? This is in an old project...
  12. D

    Best practice for state-based game design?

    Working on a strategy game. Right now, what I've got is only nominally state-based. There's an "initializing state" that lasts a few frames at most upon startup, and then you're thrown right into a gameplay demo (just able to move units around really). Obviously I'm gonna want menus to select...
  13. flyinian

    Is there any difference between 1 object with all global variables vs. many objects with a few global variables each?

    Pretty much what the title says. 1 object with 1000 global variables initialized on game start VS. 100 objects with 10 global variables initialized on game start. Any difference?
  14. W

    SOLVED GameMaker Studio 2 Black Screen on Launching Game

    Hello good night everyone, I'm having trouble running any project I create on GameMakerStudio2. It always worked normally, until yesterday when I went to open a project that I'm working on and during the process I went to run the room, but the new object that I had added to the project didn't...
  15. descrubb

    GMS 2 IDE - use object variable definitions to "link" editor object instances together?

    So, I decided I wanted to be able to create a sort of "map" that isn't a straight grid. One location might link to tens of other locations. I couldn't think of a way to accomplish this except for creating singular points and then manually linking them together. I have an object keeping track of...
  16. P

    Object IDs

    Hello, Basically I want to make a system in my game where when I press spacebar a cone in front of player appears and if some object is in front of the player and the cone touches it, it will be collected into inventory (and dissapears from the room). If I simplify what I mean by object lest say...
  17. Axl Trauts

    SOLVED Collision on tiled objects?

    Hi I have a flammable set of objects (children of parent par_flammable) that when they collide with an ignitier (i.e. a fire object) they start to burn and set a fire variable to 1. I also have a check that when a "fire = 1" flammable object collides with a "fire = 0" flammable object, it turns...
  18. D

    SOLVED Trouble creating instances of node/tile objects via create code of another object

    I'm using GM2, following a tutorial that was made for GM1. I've run into a few little differences already, but I'm stumped on what's going on here. I've got 2 objects right now. The first is a node object that acts as the tiles that comprise the game map. The nodes aren't placed themselves...
  19. flyinian

    SOLVED What causes an object to change it's depth?

    I have two objects that are in a room together. These objects are persistent and the room is an initialization room. in the initialization room: object1 is depth of 0; object2 is depth of 100; on room change, object1 changes it's depth. in room 1: object1 has a depth of 200 object2 has a...
  20. D

    How to use shaders to make parts of an object transparent based upon contact with another object?

    I am trying to make a game in GameMaker 2 where objects become transparent depending on the object behind them. I currently have it so I am just checking each step (within the object to become transparent) whether in contact with the background object and then setting alpha to 0.5 if true. Here...