Set position

For questions about using Classic.

Post » Thu Nov 24, 2011 4:52 pm

I want this pistol be at a point called "weapon" when player is going forward everything is ok, but when I go backwards (mirror) pistols stays at the point it was before. How to fix that? Thanks in advice. Here's picture:

MastaZavr2011-11-24 16:53:13
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Thu Nov 24, 2011 6:49 pm

I'm not sure if the 'mirror' attribute also mirrors your action points. The alternative would be to turn mirror off and manually create the opposite angle animations and position the action point manually for each frame. I'm not 100% sure how it works. Do you have 'Auto Rotate' set in the platform behaviour? Not sure if that makes a difference either.

Only other alternative I can think of is maybe have two points, let's say 'WeaponL' and 'WeaponR' then have events such as Sprite: Angle = 0 -> Set Gun position to point WeaponR, and Sprite: Angle = 180 -> Set Gun position to point WeaponL
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Thu Nov 24, 2011 7:15 pm

Thanks.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests