objects

  1. N

    Clicking through other objects between rooms

    Hello all, I'm currently working on a Drag+drop game as a hobby, and I am running into a problem I had on GM1 years ago, and it is that there's a point where two objects that overlap in different rooms click through each other. For example, a "back arrow" button on in a room is in the same...
  2. KingBR

    SOLVED error when using instance_create_layer

    When i try to create a instance it says that the object was not set before reading, does anyone know why this happen and how do i fix it? This is my code Event: collision with obj_asteroid instance_destroy(); switch(sprite_index) { case spr_enemyShip: { with(other) {...
  3. candlelight2007

    Avatar-based button with circular background: advice needed

    Hi, first post, so my apologies if it's a wrong place, and if it is, please redirect me. This must be a simple thing but after hours of googling I'm still stuck. Here's the scoop. I have a series of sprites with avatar faces. I also have a sprite of a circle that is meant to serve as the...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. Nathan

    Windows Is copying objects between project files possible? (2.3.0.529)

    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...
  10. 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...
  11. 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.
  12. 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 ...
  13. 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...
  14. 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...
  15. 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...
  16. 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?
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top