• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

object_index

  1. |__ |_| |\| /\ |_| |\/ /\

    GameMaker "Unable to find instance for object index [index]" when shooting rocks in my Asteroids clone (Asteroid Belt) with different levels of bullet power.

    Alright, so I was following the initial Arcade Space Shooter Tutorial to get myself ready for the world of game development and for the formation of my very own video games company, Deep Bloo Video Games. I actually wanted to up the ante and add some extra features to the game to make it stand...
  2. Gunnar the Clovis

    SOLVED [SOLVED] Passing object_index to function instead of one instance / Making functions work like with (kinda)

    Howdy, I assumed this would be an easy issue / have tons of similar threads on it already, but I can't seem to find any. What I'm trying to do I thought would be very simple, but it's proving to be troubling for me. Hopefully I'm just being stupid and there is an easy solution: I want to...
  3. Z

    change instance`s object index

    is it good practice to use this function? instance_change(); one of the things that worry me are the facts its not accesable after you run this function and if you try to acceess it it wuld return an error, which is what the manual says.
  4. P

    SOLVED How to compare return of the parent_get function

    Hello everybody, probably the heading for this thread sounds strange but I Really have troubles when dealing with function object_get_parent and object_index variable, so what I want to achieve is simply make one object perform the action depending on what it collided with, so For Example, if...
  5. D

    Legacy GM Difference between object_index and id

    I'll say up front, sorry if this is a dumb question. I've been looking over the documentation and the help files as well as google and I can't seem to find the answer. What's the difference between a given object's object_index variable and the .id variable? As far as I can tell they're both...
  6. A

    GML gathering ID's from many instances of same object

    I still can't wrap my head around this... In naming all these different instances in the same vicinity... How does code like this work.. //instance_id contains the id of an instance of obj_example instance_id.object_index == obj_example; OR //instance_id contains the id of an instance of...
  7. 2

    GML Find if ID in Variable = an object_index Name, or Child Of

    Putting an instance id in a variable, I need to see later if the variable's instance id is equal to an object, or a child of that object without writing each of their object index name only the parent. eg. given var = an instance id, test if object_index name of id is something...
Top