How do I create 4 direction animation for turret

Get help using Construct 2

Post » Fri Jan 22, 2016 8:13 am


I am trying to create a 4 direction animation for turret, with turret behavior. I know I should check the angle and decide which animation it should run based on it. The problem is that because I am setting rotation of the turret to "Yes" the turret rotate in weird way and switch frame after rotation. I guess I should set rotation to "NO" but this way it will not change its angle.
The turret should fire in all angles, how is that possible.

Screenshots of the code and the rotation are found in this link.

Any help will be really appreciated.
Posts: 21
Reputation: 325

Post » Fri Jan 22, 2016 6:19 pm

You need a separate sprite (or really a separate frame within one sprite) for every orientation you want it in.
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
Posts: 1,419
Reputation: 4,867

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 21 guests