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.1.tar.gz (25.4 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.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygame_tools_tafh-0.1.1.tar.gz
  • Upload date:
  • Size: 25.4 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.1.tar.gz
Algorithm Hash digest
SHA256 76bd0dcb675dd2f8f926cfbe97ff16800858c216d02027d05f2738bfedbf30c8
MD5 761b14300f85527b55b1c27248b475a8
BLAKE2b-256 163de28516e8f8b4dd222ccd66fabc932adb818253d6e20413b40266d09f87e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygame_tools_tafh-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8cd6b49c5554f03bb67a9d10d5568e949f2ae95f986f4f84d47f032c0cf9160
MD5 faa9e31d859f3c9a0b8f0e03b3234a47
BLAKE2b-256 d80d7b8d6102266457458911763f7d7d7540347f2c55d03f5639ada2dfbd7688

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