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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7053c50793436fdeee8e888bf9f669d37cec11e36a2022711fcc61771d098e7
|
|
| MD5 |
7a19ef00034d138a3a051937fb38ae66
|
|
| BLAKE2b-256 |
ad1cf65095ebb20c45d6c03dc33dd5185cffc2f5d9f18dc0938f7581b45613cb
|
Provenance
The following attestation bundles were made for pg_extended-0.0.1b2.tar.gz:
Publisher:
python-publish.yml on Saurabh262004/pg-extended
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pg_extended-0.0.1b2.tar.gz -
Subject digest:
a7053c50793436fdeee8e888bf9f669d37cec11e36a2022711fcc61771d098e7 - Sigstore transparency entry: 789197547
- Sigstore integration time:
-
Permalink:
Saurabh262004/pg-extended@8cc435a37abb37d9bc1bc55c17f24eff45a7b907 -
Branch / Tag:
refs/tags/0.0.1b2 - Owner: https://github.com/Saurabh262004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8cc435a37abb37d9bc1bc55c17f24eff45a7b907 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f32a65e928546f9f1da901750db43a1e3d899f973d632825bdf38584b514091
|
|
| MD5 |
f8b62e37fa86c878ccf1c8cd2cc6043d
|
|
| BLAKE2b-256 |
d0c2a37329c293bb292b057236619f1aed450116d0a9fe34fbb8c4449b964aa8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pg_extended-0.0.1b2-py3-none-any.whl -
Subject digest:
9f32a65e928546f9f1da901750db43a1e3d899f973d632825bdf38584b514091 - Sigstore transparency entry: 789197552
- Sigstore integration time:
-
Permalink:
Saurabh262004/pg-extended@8cc435a37abb37d9bc1bc55c17f24eff45a7b907 -
Branch / Tag:
refs/tags/0.0.1b2 - Owner: https://github.com/Saurabh262004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8cc435a37abb37d9bc1bc55c17f24eff45a7b907 -
Trigger Event:
release
-
Statement type: