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

  1. tretron

    SOLVED Best practice for scaleable code when handling 'enemy' objects

    I am running into a bit of a wall on how to best handle the detection of enemy units. I am wondering if there might be best coding practices about handling enemy units within game maker language. The situation: I am coding a game idea where a player gets attacked with a number of...
  2. L

    Object keeps respawning

    I got a textbox system here, but I got a problem that when the textbox destroys itself, it creates itself again due to this in the step event of the person I'm talking to: (KeyInteract = vk_space) if(!instance_exists(obj_textbox)){ if(place_meeting(x, y, obj_player)){...
  3. D

    How to destroy object when close to it

    Hey everyone ! I'm new to all of this and I would like to make game like Cat Mario or Unfair Mario. So my question is, how do i make obejct (floor,wall) to disapear while im on it or really close to it ? I have been trying to find this out for ages now but as I said, I am new in Game Maker 2. I...
  4. M

    Legacy GM How do I stop a path with one object and continue it with another in gml?

    So right now I'm developing a small tower defence game, and I'm struggling to make it so that when I kill 1 yellow enemy who is half way through the path, the weaker red enemy will spawn and continue from where the first objects path already was. This is my path start code -...
Top