Using "set mirrored" with Spriter ojects

Get help using Construct 2

Post » Fri Dec 20, 2013 6:23 pm

The upper left quadrant is still the weak point. If I pass the zombies going to the right side of the screen, they will flip. If I pass them and go to the upper left of them, they will stay flipped. Not sure what the problem there is...
Image
B
20
S
4
Posts: 382
Reputation: 2,974

Post » Sun Dec 22, 2013 12:29 am

Hi PSI, I finally got your capx working properly on my system...sorry about the delay. I see the problem as you described it and will try to fix it tomorrow.

In the mean-time, why don't you simply compare the x position of the enemies to the player they are chasing, and mirror or not depending on if the player is to the right or left of the enemy? That would be way easier....is ther a diference in the behaviour of the enemy that you are after that would make this not a valid solution?

Cheers,
Mike at BrashMonkeyBrashmonkey2013-12-22 00:56:18
B
49
S
9
G
4
Posts: 426
Reputation: 7,041

Post » Sun Dec 22, 2013 1:13 am

Hi again Psi,

I've tried every variant I can imagine and all lead to the same proble, so I'm convinced there's an actual bug when comparing bullet.angle of motion of Spriter objects...I'll see what Edgar things tomorrow or monday...

In the mean-time, I've emailed you a tweaked version of your capx which creates the behavior you're after (i think) simply by comparing the x position of the enemies relative to the player and flipping accordingly.

cheers,
Mike at BrashMonkey
B
49
S
9
G
4
Posts: 426
Reputation: 7,041

Post » Sun Dec 22, 2013 4:58 pm

Thanks Mike! I appreciate you taking your time to help me out. Glad I chose Spriter for my animation program!
Image
B
20
S
4
Posts: 382
Reputation: 2,974

Previous

Return to How do I....?

Who is online

Users browsing this forum: Fenix18, Madsoggytoast, Yahoo [Bot] and 52 guests