gitmyhub

Fyrox

Rust ★ 9.4k updated 2d ago

3D and 2D game engine written in Rust

Fyrox is a production-ready game engine for making 2D and 3D games in Rust, with a built-in visual scene editor. It handles graphics, sound, physics, and player input so you focus on game logic.

RustWebAssemblysetup: moderatecomplexity 4/5

Fyrox is a game engine for building 2D and 3D games, written in the Rust programming language. A game engine is a large software framework that handles the underlying systems a game needs: rendering graphics on screen, playing sounds, handling physics, managing scenes and objects, and accepting player input. Instead of building all of that from scratch, a developer uses the engine and focuses on the actual game content and logic.

Fyrox comes with a scene editor, which is a visual tool for laying out the elements of a game world without writing code for every detail. You can arrange objects, adjust lighting, and configure properties through the editor interface. This is a significant feature because many game engines at this scale are code-only, making them harder for people who prefer visual workflows.

The engine targets production-ready use, meaning it is designed for complete games rather than just prototypes. It supports a wide range of rendering features for 3D scenes and also works for 2D games, making it flexible for different project types.

Fyrox was previously known as rg3d. The name changed as the project matured. It is distributed as a Rust library (also called a crate), so developers add it to their Rust project using the standard Rust toolchain. Demos can be run directly in a web browser from the project's website, which gives you a sense of what finished projects look like.

Learning materials include an official book covering how to set up the engine, build a project, and work through practical tutorials. Community support is available through a Discord server and the GitHub Discussions section. The project is funded by individual sponsors through Patreon and Boosty, and is released under the MIT license.

Where it fits