This repository contains the game engine written for my University of Helsinki Master's thesis in 2025, Game engine implementation in the Rust programming language. The engine's applicability as a game engine was validated by using it to build the Diving for Oxygen game for Ludum Dare 57.
The online repository and CI results can be found at: https://github.com/pcjens/rust-game-engine-prototype
The documentation for the Rust code can be found at: https://pcjens.github.io/rust-game-engine-prototype/engine/
Dependencies:
- Rust and cargo
- SDL2 from your system package manager (
libsdl2-dev
on Debian), or:- Built alongside the engine, with the
sdl2/bundled
feature, though this requires CMake and SDL's own dependencies to be installed instead. - Downloaded from Microsoft's vcpkg package manager with the
sdl2/use-vcpkg
feature, though this requires vcpkg to be installed instead.
- Built alongside the engine, with the
The engine can be built straightforwardly with cargo build
. (Or cargo build --features sdl2/bundled
, or cargo build --features sdl2/use-vcpkg
, depending
on your source of SDL.)
All the code in this repository can be used under the terms of the GNU GPL 3.0 license, and all the files have been annotated to be understood by the reuse tool.