pyNasNas
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
From pip
python3 -m pip install NasNas
Then you can import NasNas anywhere in your projects
import NasNas as ns
From source
Download and extract the repository. Then run
python3 setup.py install
Local 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 NasNas 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
Other
A C++ version of NasNas is under development, you can check it out here
Author
- Modar Nasser
Metadata
Release files for NasNas 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| NasNas-0.1.3.tar.gz | 26.0 kB | Without provenance | Details for NasNas-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NasNas-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for NasNas-0.1.3-py3-none-any.whl |
Total release size: 61.4 kB
Release files / NasNas-0.1.3.tar.gz
| Download URL | NasNas-0.1.3.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a27b646d71b3f0807e0c031501b3074bb6461ca52d15cb1102a5e8ad78c5f3c1
|
|
BLAKE2b-256 checksum How to use checksums |
6c582615092e2b28ffcb1b2386c1b2b1f045e5f1608665ec62acdd6e219187db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|
Release files / NasNas-0.1.3-py3-none-any.whl
| Download URL | NasNas-0.1.3-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2c7af14502c485111484f9f54d83951c8f775ceeba8713530b094b144b0dd14
|
|
BLAKE2b-256 checksum How to use checksums |
95f75699dce1056f19f847e473e3e3c3c3b341e2574fabfae9da25397db308ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|
Security for NasNas 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.