Skip to main content

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()

Two Actors

Metadata

Release files for miniworlds 4.4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miniworlds 4.4.0.0
File Size Uploaded Provenance
miniworlds-4.4.0.0.tar.gz 193.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for miniworlds 4.4.0.0
File Interpreter ABI Platform
miniworlds-4.4.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 440.4 kB

Release files / miniworlds-4.4.0.0.tar.gz

Download URL miniworlds-4.4.0.0.tar.gz
Size 193.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4059d4ca921cafbf61a661158d70be29c64d12c0b731824cdc1b2aeef7ae7937
BLAKE2b-256 checksum
How to use checksums
31f60ea73eb8cade6b1e10f56cf4fa039be087393317a4fed1333b435b0eb806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / miniworlds-4.4.0.0-py3-none-any.whl

Download URL miniworlds-4.4.0.0-py3-none-any.whl
Size 246.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55610f7e318d5084c30cd90c821dab2f945406be93a6e94a2bb17bf7c4874069
BLAKE2b-256 checksum
How to use checksums
9a660f5156eab4906ab8bb03bbfeca08e2b44d1abbdfe2591dbe1fb6442cf87f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for miniworlds 4.4.0.0

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.

Release history Release notifications | RSS feed

This release

4.4.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page