Skip to main content

A simple tile engine based on OpenGL

Project description

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.

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

pytgf-1.0.1.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

pytgf-1.0.1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file pytgf-1.0.1.tar.gz.

File metadata

  • Download URL: pytgf-1.0.1.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytgf-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c2e6e01f3e59ddcc2e6e2e82236866dbae2dcfbdd4da198b492d14cf509e65b0
MD5 8e1a70fa78c4562931d7760af1b22906
BLAKE2b-256 187057d6b374dcffb8c535ab2a29289abf3d991e7d6f2854a38a7da3d14e96ea

See more details on using hashes here.

File details

Details for the file pytgf-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pytgf-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytgf-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 189d4c2ba9878a85560df52420c362ddb8291c711eaffcb31e40bf5cbe87a925
MD5 0d5861bf80468f574674aefd3bfed5f0
BLAKE2b-256 07a04cf29f5a91c8c9897ab361ac7a28b41889d6eb8605797add8a8ed039021d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page