Object Explodes After Countdown

Discussion in 'How Can I...?' started by Juan, May 14, 2019.

  1. Juan

    Juan Boxer

    Joined:
    Dec 2, 2018
    Messages:
    8
    Likes Received:
    1
    How can I make a bomb explode after I jump on it. I want a 3 second countdown to begin right after the character jumps on the bomb. The bomb will then explode and only kill the character if the player is inside the radius when the timer hits 0.

    I'm making an isometric game where the character is going down some floors. I want to make it more challenging by creating this trap that will force the player to make quick moves. Please help and thank you!

    Attached is an (very simple) example of what I'm trying to accomplish. The floors are brown pieces, red is the bomb and yellow the blast radius.
     

    Attached Files:

  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    Your best approach is to add extra animation frames for your desired time. So 3 seconds of non exploding bomb image, then the animation of the explosion.
     
  3. Juan

    Juan Boxer

    Joined:
    Dec 2, 2018
    Messages:
    8
    Likes Received:
    1
    But how do I make it so I can touch the bomb to activate it and not die unless I'm in the blast after the countdown?
     

Share This Page