SFML community forums
Help => Graphics => Topic started by: sneakysneaky on March 25, 2015, 01:02:58 pm
-
I really need help urgently. This is for our final project in our gamedev class.
Here's a link to the AnimatedSprite class i used:
https://github.com/SFML/SFML/wiki/Source:-AnimatedSprite
I tried using his animatedsprite object but when i set the origin and rotate, it always rotates from the top left (0,0) it never rotates at the origin set.
-
[URGENT]
I really need help urgently.
Really? In all caps? I kinda highly doubt the world is going to stop spinning.
This is for our final project in our gamedev class.
Final project? Then find the bug in that source you just copied (without understanding what it does) and update the wiki, it is a public wiki after all. You should be capable of finding it (this is your FINAL isn't it?).
And as always, unless people read the sticky threads (http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368) there isn't much else we can do.
http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368
-
I agree completely with zsbzsb. Find the bug, fix it, update the wiki - don't expect others to do that for you.
But if for some reason you'd rather just have an alternative, take a look at Thor's Animations module (http://www.bromeon.ch/libraries/thor/v2.0/doc/group___animations.html) (but it's probably faster to just fix the bug than to change animation class).