How do I Show a copy of the sprites current animation frame?

Just started using Construct 2? Post your questions here

Post » Mon Feb 23, 2015 1:48 pm

Hello;

If a user clicks on my sprite he wants an info summary over at the side, and I want to show the current animation image of the sprite he clicked
without moving the sprite over to the info area. So I need to leave the original sprite alone and just show its image again somewhere else.

What is the easiest way to do this? Do I have to clone the sprite?

thanks for your time
yours winkr7
B
26
S
7
G
3
Posts: 152
Reputation: 2,971

Post » Tue Feb 24, 2015 1:51 am

Yes. You can clone or create a new sprite. Whenever a condition is met that changes the initial sprite, also ad an event to change the cloned sprite to the same animation. The cloned sprite should be invisible. Then when the user clicks on the main sprite for the info, set the clone to visible.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,273

Post » Tue Feb 24, 2015 12:31 pm

if your condition met then system create object x and y pos
B
226
S
31
G
14
Posts: 1,899
Reputation: 38,302

Post » Tue Feb 24, 2015 3:32 pm

Thanks both of you. I will clone my sprite.

yours
Winkr7
B
26
S
7
G
3
Posts: 152
Reputation: 2,971


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests