Skip to content

syntaxerror-9/RustyCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustyCraft

This project is a learning project for rust and wgpu. Don't take it too serious

Introduction

This is a basic minecraft clone with the following features:

  • Map generation via fbm noise
  • Placing and removing blocks
  • Chunk culling based on camera frustum
  • AABB and Raycasting for collision detection
  • Multiple render passes for translucency and ui
  • Save and load chunks/player states
  • Ambient occlusion and directional light

Commands:

(WASD) for moving, (Scroll wheel / J-K) change placing block, (G) to toggle flying mode, (Space) jumping

Building

Make sure you have rustc and cargo installed. Run the following command:

cargo run --release

screenshot2

screenshot1

Configuration

Most of the configurations are done through constants in world.rs file.

About

A Minecraft clone built with wgpu and Rust

Resources

Stars

Watchers

Forks

Packages

No packages published