SFML community forums

Help => Graphics => Topic started by: CL90 on February 06, 2012, 12:36:35 pm

Title: Get Sprite variable contend
Post by: CL90 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?
Title: Get Sprite variable contend
Post by: Laurent on February 06, 2012, 12:37:31 pm
Have you read the doc?
Title: Get Sprite variable contend
Post by: CL90 on February 06, 2012, 12:44:20 pm
jup. but it doesnt shows a list of possible commands.
is there any Manual?
Title: Get Sprite variable contend
Post by: Laurent 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