Skip to main content

A lightweight 2d game engine built on top of pygame.

Project description

pg-extended

A lightweight UI wrapper and window manager for pygame.

[!WARNING]

  • This library is in the early stages of development and may have many breaking changes in the future.
  • Some of the features are still to be refined and added.

Goal

  • Provide a dynamic, customizable, and intuitive system for building UI and game elements in pygame.
  • Handle repetitive UI / window management tasks for the user.
  • Eventually evolve into a small, modular game engine.

Installation

pip install pg-extended

Inside your python project:

import pg_extended

Example

A simple example of how to initialize an empty window with pg_extended.

from pg_extended import Window

# create a window with "Demo pgx window" as the title with 1280x720 resolution
app = Window("Demo pgx window", (1280, 720))

# all the UI / Game setup can be done here

# open the window
app.openWindow()

For more details, please checkout the wiki.


HVision

A project by me that uses pg-extended in an actual real environment.

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

pg_extended-0.0.1b4.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

pg_extended-0.0.1b4-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file pg_extended-0.0.1b4.tar.gz.

File metadata

  • Download URL: pg_extended-0.0.1b4.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pg_extended-0.0.1b4.tar.gz
Algorithm Hash digest
SHA256 4270f41b1053efc35861b99d9fd109a64b33502ebc3302fd2890d5ca4c063141
MD5 d69e23aa1f5211596aa5755b08320ebc
BLAKE2b-256 a927fa67d35f7bf9bd17696b1f47fc5b6b64f05e87bdab0ae2268b9a5f070579

See more details on using hashes here.

Provenance

The following attestation bundles were made for pg_extended-0.0.1b4.tar.gz:

Publisher: python-publish.yml on Saurabh262004/pg-extended

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pg_extended-0.0.1b4-py3-none-any.whl.

File metadata

  • Download URL: pg_extended-0.0.1b4-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pg_extended-0.0.1b4-py3-none-any.whl
Algorithm Hash digest
SHA256 37ffd593a72b00e88816bc2312994f13e4001ee52db36abe4590ebceb68a142f
MD5 93aaf7cfe7bd72802d3a6b8b3515d712
BLAKE2b-256 4b3bc59fb6d46a1b76d24e8d4504c558ec9e84948e27e77c9df10d8abc5aac87

See more details on using hashes here.

Provenance

The following attestation bundles were made for pg_extended-0.0.1b4-py3-none-any.whl:

Publisher: python-publish.yml on Saurabh262004/pg-extended

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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