Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/emilyhunt/SK8plotlib. Turn any matplotlib line chart into a line skateboarding game. 🛹 pypi.org/project/SK8plotlib
Something went wrong. Try again.
README.md
SK8plotlib #
Turn any matplotlib line chart into a line skateboarding game.
Caution
SK8plotlib is in pre-alpha. Expect bugs. Software provided without warranty, yada yada.
Installation #
Install from PyPI with:
pip install sk8plotlib
Use #
Turn any matplotlib line chart into a skatepark with:
import sk8plotlib.sk8plot as sk8
# ... create a matplotlib figure
sk8(fig)
Alternatively, you can load example maps by running SK8plotlib on the command line, such as by doing:
python -m sk8plotlib
Controls #
While on a surface, you can use the left/right arrow keys to go left or right.
While in the air, you can use up/down to rotate your skateboard.
Roadmap #
Planned features before v0.1:
Automatic detection of lines in plotBasic physics simulation (single accelerating point)Basic collision detection (skateboard only)Skateboard rotation on surfacesUser control inputSmooth cameraAutomatic framerate & physics timestep scaling- Automatic map scaling
- Auto-initialize in correct location
Planned future features:
- Improved player character
Improved collisions(had to be done sooner than planned...)- Improve rotation snapping to be less aggressive
- Improved graphics
- Music
- Support for log plots
- Scoring system?