Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batframework-1.0.8a2.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

batframework-1.0.8a2-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file batframework-1.0.8a2.tar.gz.

File metadata

  • Download URL: batframework-1.0.8a2.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for batframework-1.0.8a2.tar.gz
Algorithm Hash digest
SHA256 780b38dcb83eff4cc71be99a6e5684eaab65e79364d0e95b1c5d059f22216e70
MD5 b125aeba27081bcfdcf42856917437b4
BLAKE2b-256 80fe56beba2858e0813b20fc07f1365b2219d42cf1be02b14d7339c81f231cf6

See more details on using hashes here.

File details

Details for the file batframework-1.0.8a2-py3-none-any.whl.

File metadata

File hashes

Hashes for batframework-1.0.8a2-py3-none-any.whl
Algorithm Hash digest
SHA256 841c80a84c740d0069c460b184020ca4302c9ee8af3aa8444b1ac6cda98a0528
MD5 8ed30134d3b04e745dbdb484002ed094
BLAKE2b-256 04e9832cc540e4bdd6f8ecda99e86a962b2ddd394cdc4e062f047f37d5fe3969

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