Skip to content

lexfn/demo-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A simple graphics demo where you can fly around, spawn boxes and move them.

I made this project to learn Rust and try it in game development. There is no attempt to create an "engine", everything is pretty low level and abstractions are built along the way when needed.

Demo

Building and running

cargo run

Tested and should work on macOS, Windows and Linux 🙈

Features

  • ECS: hecs.
  • Rendering: wgpu.
  • UI: imgui.
  • Math: nalgebra.
  • Physics: Rapier
    • Rigid bodies with colliders.
    • Camera with character controller, preventing it from passing through objects.
    • Ray casting.
    • Drag-n-drop.
  • First person flying camera ("spectator") with protection from overturning.
  • Skybox rendering on a full-screen quad.
  • Vignette post-processing.

About

A playground for Rust and gamedev experiments

Topics

Resources

Stars

Watchers

Forks