• 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!

instance_activate

  1. David Lorenz

    SOLVED Instance Deactivation Optimization: Deal with room changing

    Hello, everyone! I have an open world filled of functional and decorative objects, so I optimized it by deactivating all instances in a certain layer and reactivating the ones inside the camera view. In an alarm that is initially run immediately and than every 30 frames, I do this...
  2. M

    SOLVED Accessing Deactivated Instances

    Is it possible to reactivate an single instance from a groups of deactivated instances? I have 20 instances of chest. Each instance has the same variable my_type, but the values are 1,2, or 3. Is there a way to only activate deactivated chest instances with a value of 3, while leaving the 1 &...
  3. ninthpower

    PSA: setting depth manually resets an instance's layer to -1

    PLEASE SEE SOLUTION BELOW! ------------------------------------------------------------------------ OLD POST: I've been hitting my head against the wall for two days trying to figure out why the following code doesn't work: + obj_controller (on layer_1 in Room Editor): StepEvent: //...
  4. Z

    Activating/deactivating instances

    Hi everyone, I want to activate and deactivate certain instances when they are inside or outside my camera's view, so as to optimize the game and reduce lag. These instances run code, can be interacted with, and have draw events. Naturally, having too many of them will cause lag if they are...
  5. B

    Need help making a door solid after block is moved off pressure point please?

    Hi, I'n relatively new to game maker and I am working on a top down sokoban project. I want to make a door that remains locked until a block is placed on top of a 'pressure point'. I have got this to work to and extent; the door is solid until a block is placed on the pressure point, I the used...
Top