https://github.com/defGameEngine/defGameEngine
defGameEngine is a cross-platform game engine. Available on Windows, Linux and (probably) MacOS. Requires C++20 or higher
https://github.com/defGameEngine/defGameEngine
cpp emscripten game game-dev game-development game-engine gles gles3 glfw glfw3 gui imgui imgui-glfw lua opengl opengl3 web
Last synced: 9 months ago
JSON representation
defGameEngine is a cross-platform game engine. Available on Windows, Linux and (probably) MacOS. Requires C++20 or higher
- Host: GitHub
- URL: https://github.com/defGameEngine/defGameEngine
- Owner: defGameEngine
- License: gpl-3.0
- Created: 2022-05-11T04:56:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T00:25:32.000Z (11 months ago)
- Last Synced: 2025-05-08T01:24:55.741Z (11 months ago)
- Topics: cpp, emscripten, game, game-dev, game-development, game-engine, gles, gles3, glfw, glfw3, gui, imgui, imgui-glfw, lua, opengl, opengl3, web
- Language: C++
- Homepage:
- Size: 12.6 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Overview
defGameEngine is a lightweight, cross-platform 2D game engine designed for simplicity and ease of use. It provides essential tools for rendering graphics, handling input, and managing game states. The engine supports both desktop (via GLFW) and web (via Emscripten) platforms.
# Features
- Cross-Platform: Supports Windows, Linux, macOS, and web browsers.
- 2D Rendering: Draw shapes, sprites, and text with various blending modes.
- Input Handling: Keyboard, mouse, and touch input support.
- Sprite & Texture Management: Load, manipulate, and render images.
- Layers: Organise rendering into layers with custom shaders.
- Customisable: Extendable via virtual methods for game logic and rendering.
## Getting Started
To use this game engine in your project, follow the [install instructions](/README.md#installation), clone this repository, and start exploring the code and examples. Check out the `Examples` directory for a comprehensive set of already made games using the game engine.
## Installation
### Platforms
- [Windows](Docs/Install_Instructions_Windows.md)
- [Linux](Docs/Install_Instructions_Linux.md)
- [Mac](Docs/Install_Instructions_Mac.md)
- [Emscripten](Docs/Install_Instructions_Emscripten.md)
****Note**:* C++20 or higher is required
## Documentation
[defGameEngine](Docs/GameEngine_Doc.md)