Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Madour/pyNasNas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple game framework to get started quickly with python and sfml. (dead project, waiting for a revival, maybe someday ...)

Topics

Resources

License

Stars

Watchers

Forks

Languages