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.2.tar.gz (25.2 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.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygame_tools_tafh-0.1.2.tar.gz
  • Upload date:
  • Size: 25.2 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.2.tar.gz
Algorithm Hash digest
SHA256 97465f03a5ea5e7aa884a395a91cae591ba1fbd5e1ae836ef112a654a824a9cd
MD5 0d6ce3ea6e3c6b74ee7a12fa6756bc74
BLAKE2b-256 022eb505f39bcf66e180ce33c323fdd6bd05a8df4359db1c871613458d25c387

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygame_tools_tafh-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c66380b332fb8c3c66ea77c61033019f8aaa3b5a30eeded7b20e7e8ed02838f
MD5 39d5d3e4413752af56a6ac811c6e1fa1
BLAKE2b-256 8c167b7a70cae48c2370f21c8d911e9407df5adb206e78c263d80fcd501c1ab4

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