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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
017c9dd2a0e7f24b07dbbae85df2fb12ac4c11e0ecd60583b1fc051a15c9c7d0
|
|
| MD5 |
3da09506f4bef344d6ae3ae99e303f83
|
|
| BLAKE2b-256 |
ecac8317b43560843887a9815ca362ccdbe979953f79bcbfc1c4c568dbd7113a
|
Provenance
The following attestation bundles were made for noclip-0.1.0.tar.gz:
Publisher:
workflow.yml on LiamWJH/NoClip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noclip-0.1.0.tar.gz -
Subject digest:
017c9dd2a0e7f24b07dbbae85df2fb12ac4c11e0ecd60583b1fc051a15c9c7d0 - Sigstore transparency entry: 2190452958
- Sigstore integration time:
-
Permalink:
LiamWJH/NoClip@3886c56cbf8dea33c9293fa9b97be8801b356e6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/LiamWJH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@3886c56cbf8dea33c9293fa9b97be8801b356e6f -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc089d454b21abdc7096cb42a13d6d5740ff24bc5a5ba5e343678303c548a00
|
|
| MD5 |
16e671bee574c7c08ce9aa29130c62dc
|
|
| BLAKE2b-256 |
cef98f5f9387659a178046c34562fc21b345a97ceaeaf80dcc33e73e3c17600d
|
Provenance
The following attestation bundles were made for noclip-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on LiamWJH/NoClip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noclip-0.1.0-py3-none-any.whl -
Subject digest:
dbc089d454b21abdc7096cb42a13d6d5740ff24bc5a5ba5e343678303c548a00 - Sigstore transparency entry: 2190452972
- Sigstore integration time:
-
Permalink:
LiamWJH/NoClip@3886c56cbf8dea33c9293fa9b97be8801b356e6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/LiamWJH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@3886c56cbf8dea33c9293fa9b97be8801b356e6f -
Trigger Event:
release
-
Statement type: