Skip to main content

A 2D game framework for Python

Project description

Skytree

2D game framework for Python Version 0.1.1

Skytree is a flexible, easy-to-use 2D game framework that leverages Pygame for creating side-scrolling platformers and other games with Python.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, which allows you to share and adapt the material for non-commercial purposes as long as you provide appropriate attribution and share any adaptations under the same license.
For more information, see CC BY-NC-SA 4.0 License.

Features

Skytree uses Pygame to render 2D graphics, play audio and read user inputs. At the moment, only keyboard inputs are supported. The engine abstracts the game loop from the user, provides a standard structure for active game objects and a way to manage game resources. Objects are generally constructed by combining basic features (e.g., Drawable, Updateable) via multiclassing and can be connected or disconnected ultimately to a game manager singleton object in order to make them active or inactive. Drawable objects provide methods to manipulate their draw order and alignment, and there is a frame-by-frame animation system. Skytree features a collision detection-response system with support for different shaped hitboxes. User inputs are translated to string commands that can be interpreted by the game objects. There is a system of classes dedicated to modeling game entities and spaces, with a focus on sidescrolling platformers.

Installation

Install via pip

The easiest way to install Skytree is through pip:

pip install skytree

Dependencies

Skytree requires pygame version 2.6. When you install via pip, this will be handled automatically.

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

skytree-0.1.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skytree-0.1.1-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file skytree-0.1.1.tar.gz.

File metadata

  • Download URL: skytree-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for skytree-0.1.1.tar.gz
Algorithm Hash digest
SHA256 22079eec790c1e454adb20f1057e8221a179b77b9bfb9b47689a7269d0ea96c7
MD5 d3af188c60185f0260eb9c3624f09072
BLAKE2b-256 85275c3f046b88e19a02ae6dd8dc160ff099a093fcd5db36df0884fa0d5141f3

See more details on using hashes here.

File details

Details for the file skytree-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: skytree-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for skytree-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cf557076cb5f03d122fb2e25c334b049ea650ab2518dd459ea92e979f5e773
MD5 8b81cb73f256c1ed02d9863860aff3bf
BLAKE2b-256 0ff297d6927eee056cef3e4f884fd364ca4bf6ac8814e770455e37d595e4d184

See more details on using hashes here.

Supported by

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