Skip to main content

Making games more cleaner in python without too much complication.

Project description

NoClip

a relatively simple game engine made because pygame is lowk mid

Main Ideas

Everything you create is called a thing. The container for a bunch of thing is also just a thing, in other words the so called scene idea from Godot is also just a thing here.

Main Features

thing class

everything you create is a thing, so we call it a thing. each thing stores its name, x, y, shape (or simply image if you prefer), width, height, and children, update, timer

while most stuff about thing will sound intuitive children and update and timer may need more explanation.

children

children variable is a variable that stores a thing's child thing inside itself. This allows clean nested structures.

update

update variable is a variable that stores a function that runs every tick of the game for the thing. This also makes the code cleaner to write

timer

timer variable is interesting, its a dictionary that stores multiple timers. In reality a timer is really nothing but a integer but it helps for things like doing things after certain time interval without blocking the game loop.

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

noclip-0.1.0.tar.gz (481.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noclip-0.1.0-py3-none-any.whl (479.5 kB view details)

Uploaded Python 3

File details

Details for the file noclip-0.1.0.tar.gz.

File metadata

  • Download URL: noclip-0.1.0.tar.gz
  • Upload date:
  • Size: 481.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noclip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 017c9dd2a0e7f24b07dbbae85df2fb12ac4c11e0ecd60583b1fc051a15c9c7d0
MD5 3da09506f4bef344d6ae3ae99e303f83
BLAKE2b-256 ecac8317b43560843887a9815ca362ccdbe979953f79bcbfc1c4c568dbd7113a

See more details on using hashes here.

Provenance

The following attestation bundles were made for noclip-0.1.0.tar.gz:

Publisher: workflow.yml on LiamWJH/NoClip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file noclip-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: noclip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 479.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noclip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbc089d454b21abdc7096cb42a13d6d5740ff24bc5a5ba5e343678303c548a00
MD5 16e671bee574c7c08ce9aa29130c62dc
BLAKE2b-256 cef98f5f9387659a178046c34562fc21b345a97ceaeaf80dcc33e73e3c17600d

See more details on using hashes here.

Provenance

The following attestation bundles were made for noclip-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on LiamWJH/NoClip

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