HELP! With exchange Sprites character

  • Hello, everybody.

    I'm working on a project where I need to make the switch from sprites of the character (as in Super Mario when he takes power) when it collides with a specific object.

    I'm trying to make the switch using GROUPS, by command System> Set active group

     

    Can anyone help me?

  • This should be in the "How do I" section but start with having say 2 different sprits. Each sprite should have all the animation frames inside, not as a group but in the animation strip under the sprite editor.

    When "SpritePowerup" overlaps "SpriteNormal"<

    Create Spirte: PoweredUpSprite on layer "same as NormalSprite" at X=NormalSprite.X Y= NormalSprite.Y

    Delete Object: NormalSprite

    Then it is a matter of setting all the animations for any actions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This should be in the "How do I" section but start with having say 2 different sprits. Each sprite should have all the animation frames inside, not as a group but in the animation strip under the sprite editor.

    >When "SpritePowerup" overlaps "SpriteNormal"<

    Create Spirte: PoweredUpSprite on layer "same as NormalSprite" at X=NormalSprite.X Y= NormalSprite.Y

    Delete Object: NormalSprite

    Then it is a matter of setting all the animations for any actions.

    Managed using a Boolean variable. Thank you.

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