Skip to main content

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

alt text

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

pygame_tools_tafh-0.1.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

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

pygame_tools_tafh-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygame_tools_tafh-0.1.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for pygame_tools_tafh-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be97b1f03aea4d4f4f3c96163c9de601cfe47d1e207cefb439a75b17db5457d5
MD5 501c4f13fc15bdf8190a2d48f4953d2b
BLAKE2b-256 f7c9f36b9b29716da492ce06f0ec2b551fadd5e6474552e9aaae6ee9be261c87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygame_tools_tafh-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 868e0240c202c3e940c86adae78fb42a66f704b6f5f112df7351670ab2b67ea4
MD5 607417149d8a29100fef38eece0335ae
BLAKE2b-256 e4a4f9b116eaeff685a4a8016b4010829c9ca20f2c4b39f4b950639515302292

See more details on using hashes here.

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