Skip to content

vasiltop/voxel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voxel

Block world you can walk around in. Rust + wgpu.

In-game In-game

Run

cargo run

Web

rustup target add wasm32-unknown-unknown
cargo install trunk
trunk serve

Open the URL Trunk prints. Textures come from textures/block/ (copied by Trunk).

Controls

Input Action
G / Esc Grab / release mouse
WASD, Space Move, jump
Left / right / middle click Break, place, pick block
1–7 Block type

Textures

PNG files in textures/block/. A starting pack: 26.1-Template.zip — extract and copy its blocks folder here as textures/block.

About

wgpu voxel engine

Resources

Stars

Watchers

Forks

Contributors