wgpu game engine written in Rust. The goal is to have the entire engine as a separate library to ensure low coupling.
This crate contains the following subcrates:
lib
: contains structs and helpers that are shared across the entire engine, such as the world, scene, model, mesh, texture, and material structsrenderer
: contains rendering logicsystem::io
: contains various I/O functions such as loading/saving features and a glTF importersystem::particle
: particle system, TBAsystem::physics
: physics engine, TBAsystem::sound
: sound engine, TBAThe program creates a directory run
in the current working directory (cwd) where all textures and other resources are expanded at runtime. This directory is cleared upon exit.
World files (world.json
) contain relative paths to resources like images. Thus, the scene file must be contained in the same directory as the other resource directories.
The working directory can be set using the WORKING_DIR
environment variable.