An open API service indexing awesome lists of open source software.

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: 1 day ago
JSON representation

defGameEngine is a cross-platform game engine. Available on Windows, Linux and (probably) MacOS. Requires C++20 or higher

Awesome Lists containing this project

README

          

# Overview

defGameEngine is a lightweight, cross-platform (Windows, Linux, MacOS) 2D game engine designed for simplicity and ease of use. It provides essential tools for rendering graphics and handling input. 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, textures and text with various blending modes.
- Input handling: keyboard, mouse and touch input (web) support.
- Sprite & texture management: load, manipulate and render fully rotated and scaled images.
- Layers: organise rendering into layers with custom shaders.

## 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 repository](https://github.com/defGameEngine/Examples) for a comprehensive set of already made demos 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)

## Demos

### Online

1. [Raycaster](https://defini7.itch.io/defgameengine-raycaster)
2. [Minesweeper](https://defini7.github.io/demos/minesweeper)