Advanced game engine built upon pygame. Includes such things like tweens, game objects, scenes, etc.
Project description
Pygame Tools
Pygame Tools Tafh is an advanced game engine built upon pygame. Includes such things like tweens, game objects, scenes, etc.
Example
# main.py
import asyncio
from pygame_tools_tafh import *
class Scene:
def load(self):
label = GameObject("label")
label.add_component(LabelComponent("Hello, World!", (255, 0, 0)))
label.transform.position = Vector2d(400, 300)
engine = Engine("Glorytopia", 60, (800, 600))
def main():
asyncio.run(engine.run(Scene()))
if __name__ == "__main__":
main()
Run it
python3 main.py
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
pygame_tools_tafh-0.1.3.tar.gz
(26.3 kB
view details)
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 pygame_tools_tafh-0.1.3.tar.gz.
File metadata
- Download URL: pygame_tools_tafh-0.1.3.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcc56c98abc1e585b9058052fb4a5870147baa4a3d0bf0e7834af629880ed1b8
|
|
| MD5 |
65ff035c548114e47bd6af4ca66a34db
|
|
| BLAKE2b-256 |
58a2d1c8cb1084859dcbbc3eb925361587ba79674065ffa53499714d49eee967
|
File details
Details for the file pygame_tools_tafh-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pygame_tools_tafh-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df47088e67b044fbd740bd7ce401b5ea52310bdbe6afa20079d718826c6dfa87
|
|
| MD5 |
28c59a5d4f6ea4b7ab06dd69324ea329
|
|
| BLAKE2b-256 |
7efb29e865efeb70dedac7e3556400c22e7c5b77b8adcfe903cf00b243006a89
|