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 page.


HVision

A large project by me that uses pg_extended in a 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.1b2.tar.gz (23.6 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.1b2-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pg_extended-0.0.1b2.tar.gz
Algorithm Hash digest
SHA256 a7053c50793436fdeee8e888bf9f669d37cec11e36a2022711fcc61771d098e7
MD5 7a19ef00034d138a3a051937fb38ae66
BLAKE2b-256 ad1cf65095ebb20c45d6c03dc33dd5185cffc2f5d9f18dc0938f7581b45613cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pg_extended-0.0.1b2.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.1b2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pg_extended-0.0.1b2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f32a65e928546f9f1da901750db43a1e3d899f973d632825bdf38584b514091
MD5 f8b62e37fa86c878ccf1c8cd2cc6043d
BLAKE2b-256 d0c2a37329c293bb292b057236619f1aed450116d0a9fe34fbb8c4449b964aa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pg_extended-0.0.1b2-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