How do I spawn/create multiple animated sprites that move

Get help using Construct 2

Post » Thu Jul 07, 2016 4:22 pm

How do I spawn/create multiple animated sprites that move independently - I've created a sprite and pinned animations sprite to it. I have events in place that change animation based on direction etc.. this all works - how do I add/spawn more of these to the layout?
I tried copying the pin-sprite but that only makes all the copies move exactly as the original.. I want each one to move independently.
Help - I can post my capx if needed for help - thanks
B
5
S
2
Posts: 1
Reputation: 427

Post » Fri Jul 08, 2016 7:41 am

You need to create a container for the base sprite which contains the animations sprite that's pinned to it (found in the sprite's Properties tab below Effects). This means every time you spawn a new base sprite, it'll automatically spawn an animations sprite with it, which will in turn respond to its individual parent object instead of the original one you start out with.
B
54
S
24
G
18
Posts: 295
Reputation: 13,140


Return to How do I....?

Who is online

Users browsing this forum: donstathemonsta and 34 guests