How do I Change sprite when catching power up

0 favourites
  • 3 posts
From the Asset Store
75 power-up sound effects; bonus and notification sounds, fanfares, harp glissandi, stabs, clock ticks, etc.
  • Hello everyone, I'm trying to make my first platform game and I would like my character to pick up an item to be transformed. I would also like to have the ability to fall slowly if the jump is pressed, but first I would like to solve this problem.

    The first thing I have done is to create a variable called "transformation" so that the system knows if it is "normal" or "super"

    In the event I tell him that once he collides with the item, the variable goes to "super", the sprite changes to the number 5 and the iten is destroyed, but nothing happens, only the item is destroyed and my character does not change of sprite.

    What I can be doing wrong?

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You probably have all sorts of animations playing on PlayerSprite set by other events. What you're looking to do is have when trans="super" - set anim frame to 5. Your current events only set the anim frame to 5 when you overlap the power up but it won't stay like this if you are setting other animations and it won't be a visible change when playing the game.

  • Ok thank you review the event sheet and unify everything that has to do with the player, so I think it will be more orderly and I can see the errors better. Thank you very much

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