Rotation/Spin incorrect

redpesto

  • Posts: 134
Spin doesn't work correctly. For example:


Equals this
http://www.stencyl.com/game/play/7142

Press Right a few times and you'll see its not fully spinning 360*

Alexin

  • *
  • Posts: 3132
Indeed, there are inaccuracies issues with the tweening system.
"Find the fun"
alexin@stencyl.com

Miasmos Games

  • Posts: 878
I noticed this too, it makes it hard to do certain things, any idea when it might be fixed Alexin?

Cupcake Bounce

Alexin

  • *
  • Posts: 3132
"Find the fun"
alexin@stencyl.com

redpesto

  • Posts: 134
Has this been fixed in 2.0? Can someone test it for me? Thank you!

NexusxAlpha

  • Posts: 157
try spin by 359 then after that set to 0

redpesto

  • Posts: 134
try spin by 359 then after that set to 0

Okay cool, I'll give this a go and report back.

redpesto

  • Posts: 134
Nope. Didn't work - I haven't tried the latest version on Stencyl -is this fixed now?

rob1221

  • *
  • Posts: 9430
No, it probably won't be fixed until at least 3.0.  Setting the direction after the tween finishes should work.  Keep in mind that the tween may take slightly longer than 1 second to finish, so you may need a delay before setting the direction.  I'm not sure how to cancel a tween.

Storbusaren

  • Posts: 108
Maybe because the setter is BEFORE the spin block? Try set it after, and I think it will be fine :)

froz

  • Posts: 250
I don't see why that would change anything.