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.1b3.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.1b3-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pg_extended-0.0.1b3.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.1b3.tar.gz
Algorithm Hash digest
SHA256 785c7d32cb8565ce0f9ec307e1e42f3f20df773bbb111ed4727733e2a2552be5
MD5 b0d711f25e5da7011b8b4446cb9be154
BLAKE2b-256 4efd6dc10a78c09f75d2efd03ba651f5631f39f88e41f62cdf0c72818fe919e5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pg_extended-0.0.1b3-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.1b3-py3-none-any.whl
Algorithm Hash digest
SHA256 d60c43212c681f4853f334748b2db92d0e35f0f2358c63e38a4cb0f28919bad9
MD5 14666d580af5e5f2c6db9861cb21d71a
BLAKE2b-256 d17a56a781eddda76ede4b527a55fc0b40f2c16d64a3936899c72c755d6b498e

See more details on using hashes here.

Provenance

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