alwayschillin.net Blog chillaxin’ til’ the day i die…

18Apr/080

XNA Sprite Orbit

This is a quick sample I wrote to answer a forum question at Ziggyware(http://www.ziggyware.com/forum/viewthread.php?forum_id=12&thread_id=12979). It has a sprite rotating around another sprite in an orbit. Pressing A and D will make it orbit around the object, and W and S will make the distance from the sprite increase/decrease.

http://alwayschillin.net/downloads/Rotate2DObject.rar

Filed under: xna Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.