[bbdoc] Mario Gameplay - Kill Enemy By Stomping On The Head With A Bounce-off

Discussion in 'How Can I...?' started by Christoph, Aug 15, 2016.

  1. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Hey guys, this was requested a lot before so I thought I would share two ways of doing it.

    1. Action + invisible platform (that kills the enemy)
    The action adds a bounce effect to the character for a very short time so he bounces off the platform while the enemy gets killed in the mean-time.

    Advantage: It looks very very natural
    Disadvantage: No way of adding a different image/animation to the bounce

    2. Advanced Move + invisible platform (that kills the enemy)
    The Advanced Move moves the character up (with linear velocity) for a very short time so it looks like he bounces off the enemy while he gets killed in the mean-time.

    Advantage: You can add an image/animation for the bounce off
    Disadvantage: it doesn't look as natural because the linear velocity has no physics applied (but can probably be corrected with the animation itself)

    Which way is better?

    It most probably depends on your character and physics settings. Use what ever fits best for your project.
    :D

    if you have more ideas on how to do it please share. The idea of the advanced move was shared earlier by @dtanner2000. Thanks.
     

    Attached Files:

    MAC420, khalijo, User and 9 others like this.
  2. Sporty

    Sporty Boxer

    Joined:
    Nov 28, 2015
    Messages:
    2
    Likes Received:
    2
    Nice, thanks for sharing
     
    Christoph likes this.
  3. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,192
    Likes Received:
    540
    Hello, great job
     
    Christoph likes this.
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    thank you Chris for this templates good job.
     
    Christoph likes this.
  5. Pixelateddaddy

    Pixelateddaddy Boxer

    Joined:
    Jun 15, 2016
    Messages:
    42
    Likes Received:
    6
    Bravo sir thanks a lot!!!
     
    Christoph likes this.
  6. Phoebe

    Phoebe Serious Boxer

    Joined:
    Aug 9, 2016
    Messages:
    667
    Likes Received:
    392
    Thank you I had also managed but not so elegant I have taken the first solution, it is wonderful;)
     
    Christoph likes this.
  7. User

    User Boxer

    Joined:
    Jul 26, 2016
    Messages:
    39
    Likes Received:
    3
    Thank you, i am facing a problem, sometimes my character and enemy both get killed i don't understand why this is happening. Note: I have used 1. Action + invisible platform (that kills the enemy) this solution. Can you please help me to solving this problem?
     
  8. Phoebe

    Phoebe Serious Boxer

    Joined:
    Aug 9, 2016
    Messages:
    667
    Likes Received:
    392
    i work on another Version with Action items that works and you have no Problems ;) i make a YouTube Tut
     
    clenard likes this.
  9. Nihat

    Nihat Serious Boxer

    Joined:
    Jun 29, 2016
    Messages:
    552
    Likes Received:
    154
  10. taitagroupe

    taitagroupe Boxer

    Joined:
    Nov 3, 2015
    Messages:
    1
    Likes Received:
    0

Share This Page