View previous topic :: View next topic |
Author |
Message |
gnounc

Joined: 06 Apr 2009 Posts: 120
|
Posted: Sat May 01, 2010 9:37 am Post subject: Turn player 90 degrees? |
|
|
I'd like to simulate grid confined movement by having a button
to turn the player 90 degrees left and right.
I've tried modifying self.angles to no avail.
Any help? |
|
Back to top |
|
 |
c0burn
Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England
|
Posted: Sat May 01, 2010 10:03 am Post subject: |
|
|
Check the teleport code, you need to use fixangles. |
|
Back to top |
|
 |
gnounc

Joined: 06 Apr 2009 Posts: 120
|
Posted: Sat May 01, 2010 6:27 pm Post subject: |
|
|
Will do, thanks chum! |
|
Back to top |
|
 |
gnounc

Joined: 06 Apr 2009 Posts: 120
|
Posted: Sat May 01, 2010 6:45 pm Post subject: |
|
|
works beautifully, thanks |
|
Back to top |
|
 |
|