Author Topic: Help with Sprite Rotation  (Read 2747 times)

0 Members and 1 Guest are viewing this topic.

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Help with Sprite Rotation
« on: February 06, 2012, 06:57:34 pm »
I am currently working on a game that requires the player to rotate. How would I go about doing that and also allowing the player to move in that direction of rotation?

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Help with Sprite Rotation
« Reply #1 on: February 13, 2012, 11:06:34 pm »
If its just the sprite rotating you can find some sprite rotation and sprite flipping commands under [2nd] [vars] Draw. I'm not entirely sure how to use them but thats where you can find them

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Help with Sprite Rotation
« Reply #2 on: February 14, 2012, 12:47:23 am »
I think this is referring to arbitrary rotation, in which case I would advise a search of the forums. There have been a few threads about this fairly recently, actually.
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Torio

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +22/-0
    • View Profile
Re: Help with Sprite Rotation
« Reply #3 on: February 14, 2012, 10:20:39 am »
To rotate a sprite you can use the following commands :
Code: [Select]
rotC(Sprite) (rotate 90 degrees clockwise)
rotCC(Sprite) (rotate 90 degrees counter clockwise)
Sorry about my mistakes, I'm French.

Projects :  Pokemon TI-89 | Ti-Tank