Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML Rotation  (Read 1118 times)

0 Members and 1 Guest are viewing this topic.

Roose Bolton of the Dreadfort

  • Full Member
  • ***
  • Posts: 113
  • Full-time Procrastinator, Part-time programmer.
    • View Profile
    • Personal Portfolio/Website/Blog
SFML Rotation
« on: March 11, 2012, 07:33:21 pm »
Hey,

quick question as I am confused..

if my sprite is at (0) rotation, will it be facing right?
Trying so very hard to finish at-least one project.

Watch out for the RAII police, they will get you.

www.bantersaurus-games.com

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SFML Rotation
« Reply #1 on: March 11, 2012, 08:06:12 pm »
Yes, 0 degree is facing right.
Laurent Gomila - SFML developer

Roose Bolton of the Dreadfort

  • Full Member
  • ***
  • Posts: 113
  • Full-time Procrastinator, Part-time programmer.
    • View Profile
    • Personal Portfolio/Website/Blog
SFML Rotation
« Reply #2 on: March 11, 2012, 08:25:55 pm »
ahh right.. haha im new to SFML.. Originally was writting my own 2D API from scratch.. had blitting etc working but cba to do rotation etc so came here!

Love the work dude..

Glad that's cleared up thought I was having a break down.
Trying so very hard to finish at-least one project.

Watch out for the RAII police, they will get you.

www.bantersaurus-games.com