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

[!IMPORTANT] pip install support will be added later on.

git clone https://github.com/Saurabh262004/pg-extended.git 

Copy the pg_extended/ folder into the root directory of your project.
Make sure that the folder name remains exactly 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.1b1.tar.gz (23.8 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.1b1-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pg_extended-0.0.1b1.tar.gz
  • Upload date:
  • Size: 23.8 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.1b1.tar.gz
Algorithm Hash digest
SHA256 86960d06fa7472e3e110de7d85d9bbdbf7aecf26bff4669d519989b8346c87b3
MD5 2083e344753c2c308fea6cadd220bf81
BLAKE2b-256 1ef01c8c95f3b2990cf6be24abab1f6dff2173b12e644c5f94e75e7c731cd8a9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pg_extended-0.0.1b1-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.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c5d0748e3347281c4fb0b5673c88cf5d0219ed5905f2bec1e292496b534b170
MD5 dbf8b5316f325078613adee7ed377faf
BLAKE2b-256 fa9ffcd6cf99f1b7efe901c959fb4b30a5b144057e1dd2081e0f8593907b51ea

See more details on using hashes here.

Provenance

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