Orbit
An example of dots orbiting around stuff.
Jeffrey Aylesworth
(jeffayle)
This is a small example/library, you can just run the script to see an example of it just run the script, to use as a library, copy the class "planet" into a new file, or right into your game script, make sure to include the math module. (Sorry about not having a website, I will make one later)
==Controls (For demo)==
A: Toggle show path
S: Toggle show sun
D: Takes a step - stops movement if it's in motion
T: Toggle show trace
M: Toggles movement
F: Toggles Background changer - based on mouse position (rather useless)
Changes
Links
- Home Page
- http://www.pygame.org/