Pygame framework for making games easier.
Project description
batFramework
batFramework is a Python game framework built using Pygame, designed to simplify game development by providing entities, scenes, a scene manager, and various utilities.
Purpose and Overview
The primary objective of batFramework is to streamline game development by utilizing entities and scenes that hold entities. It employs a manager, which inherits from the scene manager, to handle scenes, propagate events, and manage updates and rendering.
Installation and Setup
To install batFramework, you can use pip:
pip install batFramework
The only dependency required is pygame-ce.
Usage Instructions
To create a basic app using batFramework, here's an example:
import batFramework as bf
# Initialize the framework
bf.init((1280, 720), window_title="My Amazing Program")
# Create a manager and a scene
bf.Manager(bf.Scene("main")).run()
In practice, users can inherit bf.Scene to create their own scenes, adding specific behaviors, entities, etc.
Features and Functionalities
- Scene management for organizing game components
- Cutscene support to facilitate storytelling sequences
- Audio management for music and sound effects with volume control
- Entity, sprite, and animated sprite support
- Utility modules such as time management and easingAnimation
Users can leverage these functionalities to build games efficiently using batFramework.
For more detailed usage and examples, please refer to the documentation or codebase.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file batframework-1.0.8a9.tar.gz
.
File metadata
- Download URL: batframework-1.0.8a9.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2948c26051684b5fa356df17e160814cf8b357081b2f7dfa17d6c3d9a31118a6 |
|
MD5 | 6cf765f3449a96333d129759b8399617 |
|
BLAKE2b-256 | c35b1247c0a804127a36f8248b83a24d120f740323a1be910c0a8de5340ddccb |
File details
Details for the file batframework-1.0.8a9-py3-none-any.whl
.
File metadata
- Download URL: batframework-1.0.8a9-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eeac853b736f2461d5fd56766e27c36524c3ad19d34380568cac8faaef8dee2 |
|
MD5 | c4a481ef715e24b70108bed26907a8cd |
|
BLAKE2b-256 | 4f3468940df6b2ba27318649acd9373fc633789388738a638f25f474dd9987b4 |