Toxoid
A modern, cross-platform, highly modular / decoupled, data-driven, ECS-based game engine written in Rust with scripting support for C#, JavaScript and Rust to Rust (WASM), hot-reloading, WebGPU rendering, and web target support.
Install / Use
/learn @toxoidengine/ToxoidREADME
Toxoid Engine
⚠️ Warning ⚠️ - This repository is under construction.
Required Dependencies
Rust
https://www.rust-lang.org/tools/install
Cargo Component
https://github.com/bytecodealliance/cargo-component
LLVM
https://github.com/llvm/llvm-project/releases
Emscripten (Web target only)
https://emscripten.org/docs/getting_started/downloads.html
Examples
How to run Snake example:
make install
make build-host
make run-cli
Notes
- Supported Spine Version - 4.1.24 ESS
Credits
This technology would not be possible without:
- Flecs: A fast, lightweight (zero dependency), and portable entity component system written in C.
- Sokol: Headers-only cross-platform C renderer with WebGPU support.
- Wasmtime: A fast and secure JIT runtime for WebAssembly.
- Wasmi: A fast and secure WebAssembly interpreter.
- Emscripten: A complete compiler toolchain to WebAssembly, using LLVM, with a special focus on speed, size, and the Web platform.
- Rust: A memory-safe systems programming language.
