Using "set mirrored" with Spriter ojects

0 favourites
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • , I added "for each" and they still won't flip.

    <img src="" border="0" />

    I notice that whatever I put under that first set of angles, the > 90 and < 270 angle will happen at the beginning of the layout and it will stay that way. It's as if the system is reading that movement is always between those angles. Not sure if that's a hint as to what the problem is or not.

  • can you email me your capx?


    If its huge, please host it via something like dropbox and just send a link.



  • I also noticed your events ignore the actual angles of 90 and 270... if the spriter objects angle of movement is 90 or 270, then nothing will happen....

  • I've included and excluded those angles and it doesn't change anything. I am sending you the link to the capx. I appreciate your help and love Spriter!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It's impossible for a number to be less than 90 and more than 270 at the same time. That's where the issue lies.

    make the event an or statement and it will work.

  • Excuse my ignorance but how do I make it an or statement? Also, I updated that capx with a Spriter file that won't show up at all. Not sure what's up with that. Thanks!

  • Rightclick on an event -> Make "OR" block

  • Thank you. I'm getting closer. They are now mostly turning right.

  • You shouldn't make the whole block an or block, create a subevent and put the angle checks in it and set that block to or.

    The first condition should still always be true, so only the second and third (about the angle) should be or

  • Here's what I have for the event sheet. They are switching right, now, except for if the mutant zombie is in their upper left quadrant, in which case they turn away from him.

    <img src="" border="0" />

  • BTW - Thanks LittleStain and JJList.

  • LittleStain, based on that last screenshot, can you tell why they flip the wrong way when heading towards the zombie when it's in their upper left quadrant?

  • I still haven't figured this out yet. Getting closer. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • JJList LittleStain I figured it out. I just had to get specific with my angles and use the "is between values" condition. The < 90 and > 270 just wasn't enough. Thanks for help along the way!

    <img src="" border="0" />

  • 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...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)