miniworlds
miniworlds allows you to create 2D mini worlds and games.
It is a 2D engine inspired by greenfoot and gamegrid based on pygame.
Examples
Two actors that can be controlled with the keyworld.
from miniworlds import World, Actor
world = World()
world.add_background("images/grass.jpg")
player = Actor((90,90))
player.add_costume("images/player.png")
player.costume.orientation = -90
@player.register
def on_key_down_w(self):
player.y = player.y - 1
player2 = Actor((180,180))
player2.add_costume("images/player.png")
player2.costume.orientation = -90
@player2.register
def on_key_pressed_s(self):
player2.y = player2.y - 1
world.run()
Metadata
Release files for miniworlds 4.4.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| miniworlds-4.4.0.6.tar.gz | 205.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miniworlds-4.4.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 461.3 kB
Release files / miniworlds-4.4.0.6.tar.gz
| Download URL | miniworlds-4.4.0.6.tar.gz |
|---|---|
| Size | 205.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1c1b195e7d340751bb2b9fad3d6441169f6e2dd76cf72bfca06ac09ee9d85b4
|
|
BLAKE2b-256 checksum How to use checksums |
241a44c9deb56dbd7b118518c01813ac1bb80814ab17086ddea068c3d055d557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / miniworlds-4.4.0.6-py3-none-any.whl
| Download URL | miniworlds-4.4.0.6-py3-none-any.whl |
|---|---|
| Size | 256.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18cdba854b43d9f345d8eceb60b6f662387ffe7cf218478075589d2e6ba4068e
|
|
BLAKE2b-256 checksum How to use checksums |
0a08734f8f4868f35a7616330d1d5109ee3dbdc49b9434a9b5be57f23a4cdc4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Security for miniworlds 4.4.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.