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.8a8.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

batframework-1.0.8a8-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: batframework-1.0.8a8.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

Hashes for batframework-1.0.8a8.tar.gz
Algorithm Hash digest
SHA256 74edc67b4984b8a44a4156311cadfb8c867698d7a46bd6b54eb4ba4118b4db8d
MD5 7dfee1791275561b4511142526cac62d
BLAKE2b-256 4c1803d294e679071da337b08c44f3636764349c96f833bb76be776597dc4a10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batframework-1.0.8a8-py3-none-any.whl
Algorithm Hash digest
SHA256 0022040c6d31528d7be230fb726575940fd1579aa50bd37390f76a2d7f270b8e
MD5 9c6dec71832e85235deb271c0596e65c
BLAKE2b-256 62f294193f4b7972a4b32d8426d326d8f09220c35e08c896080c428ac339bac4

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