How to invincible let the player pick an item?

0 favourites
  • 3 posts
From the Asset Store
Pick Up Items Sound effects for your game, Take them for a ride right now and you will worry no more.
  • I'm new here, I have a doubt!

    I'm making a platform game, where my player is an object invisible,

    and the animation is fixed on him, he dies only when the monsters touch the player,

    I was wondering how do I object when the player becomes invincible killing the monster so when you touch?

    example: when the super mario gets the star.

    my english is bad = /

    thank you!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If i'm not wrong, you should do something like this:

    Player > is overlaping "monster" > monster destroy with animation etc...

    You mean your player is the object " Pin pin to" animation object ? And when "player" touching enemy, they'll die like in super mario ?

  • Dorvast: use an instance variable of the player (for instance a boolean variable named Invincible).

    + If Player is Invincible

    + If player is overlapping monster (or on collission)

    ----> Do some stuff

    Set the boolean variable to true if the player is invincible, and set it to false if it is not.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)