How do I change the animation for each member in family

Get help using Construct 3!

Post » Tue Jun 27, 2017 6:16 pm

I'm using a mechanism to change the animations based on direction for my sprites. I'd like to use the same logic for all my NPC animations, and ideally all animations in general.

NPCs work great, when there is only one on the screen. But, when there is two and they move in different directions, everything gets weird.

Here is what I have so far.

Image
B
9
S
4
G
1
Posts: 43
Reputation: 1,438

Post » Tue Jun 27, 2017 8:46 pm

You need to pick using the family. Replace the npc controller object with the Animations family.
B
46
S
16
G
77
Posts: 2,159
Reputation: 45,833

Post » Wed Jun 28, 2017 1:34 am

You are absolutely right, I had to account for the fact that my npc can't have a controller separate from the Animations unless I had the controller attached to the animation, which doesn't make sense.

Here is the result:
Image
B
9
S
4
G
1
Posts: 43
Reputation: 1,438


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests