Skip to main content

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 details)

Uploaded Source

Built Distributions

NasNas-0.1-py3.8.egg (91.2 kB view details)

Uploaded Source

NasNas-0.1-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file NasNas-0.1.tar.gz.

File metadata

  • Download URL: NasNas-0.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for NasNas-0.1.tar.gz
Algorithm Hash digest
SHA256 246c04a391e6bcac054ff9205f424cc2d1118bd208b1f60ce8e2e1d605c69e42
MD5 7377881534fd34fb9403a62869a1379a
BLAKE2b-256 5ebc74e08255ec1a5ec8c4ee302e73137b7a05aa51458a9368fc37b446d7c252

See more details on using hashes here.

File details

Details for the file NasNas-0.1-py3.8.egg.

File metadata

  • Download URL: NasNas-0.1-py3.8.egg
  • Upload date:
  • Size: 91.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for NasNas-0.1-py3.8.egg
Algorithm Hash digest
SHA256 7d0f9c8ef17377716e3394a7418daf62000d7fefecc1af65a7f16eb28b802027
MD5 322dd07788394fcbfa89f694b0e314c2
BLAKE2b-256 52806d2fd109aa7adf7a17a8595614cd03038e1f8cf8985bd21dbfd448ba54dc

See more details on using hashes here.

File details

Details for the file NasNas-0.1-py3-none-any.whl.

File metadata

  • Download URL: NasNas-0.1-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for NasNas-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edea00b51f96730a5dc3de1ca1d0878cedde0d4e5cff4ef8181aeb84236f7e66
MD5 502960be6c61337cea3e9cd258bd41af
BLAKE2b-256 6940d9ecd9d18c11b0da2c2117739e29c737a1ac910ec2ac52fe5a7634163dae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page