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

Author Topic: Get Sprite variable contend  (Read 1312 times)

0 Members and 1 Guest are viewing this topic.

CL90

  • Newbie
  • *
  • Posts: 12
    • View Profile
Get Sprite variable contend
« on: February 06, 2012, 12:36:35 pm »
Hi!

how can i get variables of sprites?

i can set     "sprite.SetPosition(100.f, 100.f);"
but how to get x and y coords?
or angle?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Get Sprite variable contend
« Reply #1 on: February 06, 2012, 12:37:31 pm »
Have you read the doc?
Laurent Gomila - SFML developer

CL90

  • Newbie
  • *
  • Posts: 12
    • View Profile
Get Sprite variable contend
« Reply #2 on: February 06, 2012, 12:44:20 pm »
jup. but it doesnt shows a list of possible commands.
is there any Manual?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Get Sprite variable contend
« Reply #3 on: February 06, 2012, 01:02:47 pm »
You must have read the wrong documentation. I was referring to the one available under the "documentation" item of the main menu.

http://www.sfml-dev.org/documentation/1.6/classsf_1_1Sprite.php
Laurent Gomila - SFML developer