Introduction

Grafyte is a lightweight and simple 2D game engine written in C++ with OpenGL and exposed to Python using pybind11. It aims to provide a fast and easy-to-use interface for creating 2D games and interactive applications.

Features

  • Simple API: Designed for ease of use with a straightforward Pythonic interface.

  • Fast Rendering: Core engine written in C++ utilizing OpenGL.

  • 2D Sprites: Support for textures and colored objects.

  • Text Rendering: Easy text display with scale and color control.

  • Simple Collision System: Integrated AABB-based collision detection with automatic resolution.

  • Input Management: Easy-to-use action-based input system with support for keyboard triggers (Press, Hold, Release).

  • Scene-based Workflow: Manage game objects within scenes.