A simple game framework to get started quickly with python and sfml.
Project description
NasNas
A simple game framework to get started quickly with python and sfml.
Features :
- Automatic resource loader and manager system
- Scene and Layers system
- Entities, sprites and animations
- Cameras
- Text and bitmap fonts
- Tiled map loader (.tmx)
- Debug text display in-game
- Transitions
In progress :
- Menus and UI
To do :
- Splash screens
- Levels and game events management
- In-game command line for debugging
- Particles system
Install
Let's say your project has the following structure
YourProject
|_ assets
|_ src
main.py
Download the repository and copy the NasNas folder into your project src folder.
YourProject
|_ assets
|_ src
|_ NasNas
main.py
Then you can, import the framework with:
import src.NasNas as ns
Get started
Visit the wiki to get started.
You can also take a look at the example project to see how to use it.
Be sure to run run_example.py from example folder like this : python3 ../run_example.py
Author
- Modar Nasser
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
NasNas-0.1.tar.gz
(24.7 kB
view hashes)
Built Distributions
NasNas-0.1-py3.8.egg
(91.2 kB
view hashes)
NasNas-0.1-py3-none-any.whl
(35.2 kB
view hashes)