Skip to main content

pytgf - Simple python tile based game framework

A simple implementation of a tile engine, including a physical and graphical engine based on OpenGL. The python package embbed the following functions:

  • a complete event pipeline, for pure event-driven programming.
  • multithreaded collision detection and exact resolution.
  • rendering of the world and GUI with or without a window.
  • OpenGL and GLSL code free. If you don't want to do advanced rendering things, you don't have to know how OpenGL works.

Requirement

Your GPU should support OpenGL 3.3.0 and GLSL 3.30 (unless you create custom shaders compatible with previous versions).

Installation

This package can be installed using pip install pytgf.

Dependencies

The library requires the following packages (the latest stable versions should be used):

  • moderngl
  • pyglet
  • numpy

Optional packages

Other usefull packages:

  • imageio (library for reading and writing a wide range of image, video, scientific, and volumetric data formats)

License

This library is available under the MIT license.

Metadata

Release files for pytgf 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytgf 1.0.1
File Size Uploaded
pytgf-1.0.1.tar.gz 50.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytgf 1.0.1
File Interpreter ABI Platform
pytgf-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 106.6 kB

Release files / pytgf-1.0.1.tar.gz

Download URL pytgf-1.0.1.tar.gz
Size 50.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c2e6e01f3e59ddcc2e6e2e82236866dbae2dcfbdd4da198b492d14cf509e65b0
BLAKE2b-256 checksum
How to use checksums
187057d6b374dcffb8c535ab2a29289abf3d991e7d6f2854a38a7da3d14e96ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / pytgf-1.0.1-py3-none-any.whl

Download URL pytgf-1.0.1-py3-none-any.whl
Size 56.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
189d4c2ba9878a85560df52420c362ddb8291c711eaffcb31e40bf5cbe87a925
BLAKE2b-256 checksum
How to use checksums
07a04cf29f5a91c8c9897ab361ac7a28b41889d6eb8605797add8a8ed039021d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page