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.3.tar.gz (26.3 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.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

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

Hashes for pygame_tools_tafh-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fcc56c98abc1e585b9058052fb4a5870147baa4a3d0bf0e7834af629880ed1b8
MD5 65ff035c548114e47bd6af4ca66a34db
BLAKE2b-256 58a2d1c8cb1084859dcbbc3eb925361587ba79674065ffa53499714d49eee967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygame_tools_tafh-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df47088e67b044fbd740bd7ce401b5ea52310bdbe6afa20079d718826c6dfa87
MD5 28c59a5d4f6ea4b7ab06dd69324ea329
BLAKE2b-256 7efb29e865efeb70dedac7e3556400c22e7c5b77b8adcfe903cf00b243006a89

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