Switching Animations via Position

Get help using Construct 2

Post » Tue Oct 02, 2012 10:22 am

I was wanting to make the mobs/NPCs in my game change their animation based on the angle they are compared with the player, but I wanted to know if there was an easier way of doing this than eventing it. Such as, making a check for each possible outcome of this said angle. I just couldn't think of an easier, more efficient way than that.

Thanks.Helladen2012-10-02 10:23:30
Image
B
20
S
4
Posts: 105
Reputation: 2,315

Post » Tue Oct 02, 2012 12:52 pm

C2 is purely event based, so you have to live with this paradigm. You could use the following plug-in:

SwitchCase
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Tue Oct 02, 2012 1:22 pm

I know it is event-based, but I was more or less asking if there was a behavior for it. I will try to work with it through events though, thanks for the help.
Image
B
20
S
4
Posts: 105
Reputation: 2,315


Return to How do I....?

Who is online

Users browsing this forum: Aserak2012, ManuelPerez, newt and 18 guests