HELP! With exchange Sprites character

Discuss game development design and post your game ideas

Post » Thu Apr 24, 2014 3:15 am

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?
B
18
S
1
Posts: 89
Reputation: 1,284

Post » Fri Apr 25, 2014 9:27 pm

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.
"Were all mad here. I'm mad, your mad." "How do you know I'm mad?" Asked Alice. "You must be" Said the Cheshire Cat. "Or you wouldn't have come here"-Lewis Carroll: Adventures In Wonderland
B
7
S
3
Posts: 113
Reputation: 1,295

Post » Sat Apr 26, 2014 2:11 am

CrazyVulcan wrote: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.
B
18
S
1
Posts: 89
Reputation: 1,284


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests