PyScenes is PyGame 2 library designed to provide the high-level functionality used in games and multi-media programs so that users can focus on creating rather than debugging. PyScenes aims to provide classes and functions related to sprites, backgrounds, sounds, images, text, and more!
PyScenes is designed to be used as an all-in-one project template and interface over the PyGame engine.
The PyScenes package contains two key components:
- PyScenes module containing everything needed to create a game
- BaseScene class used to define a template for creating scenes for your game
To make a game with pyscenes, create a copy of the game_template.py file and start creating your scenes there!
To see an example of using PyScenes, navigate to the pyscenes/examples directory and run any of the self-contained examples there. More coming soon!
An example implementation of the BaseScene class:
PyScenes can be installed through PyPi using the following command:
pip install pyscenes
Documentation is hosted through ReadTheDocs here.
Created using Sphinx.
Coming Soon.
See CONTRIBUTING.md for more.
Distributed under the GPLv3 license. See LICENSE.md for more.
PyScenes is heavily inspired by and contains code from Pygame_functions by Steve Paget. This library was very useful when I first started learning to make games with Python and its simplicity and ease of use is a great motivation for the project.
The design for the scene-based OOP implementation comes from the Nerd Paradise blog pygame tutorial. See more here.