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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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