Skip to content

CuddlyBunion341/rsmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsmc

A stupid little Minecraft clone written in Rust, powered by the Bevy engine.

Features

  • Procedual world generation using 3D Perlin noise
  • Custom terrain mesher based on face culling
  • Custom Client / Server architecture using Renet
  • Data serialization using bincode serde
  • World update synchronization between game clients
  • World physics using rapier
  • World updates using primitive ray casting
  • Modular architecture using ECS

Installation

Prerequisites

Default setup

Just run the cargo command to install the dependencies and start the game:

cargo run --bin server
cargo run --bin client

In order to create a more optimized build, you can pass the release flag:

cargo run --bin server --release
cargo run --bin client --release

Installation on NixOS

Nix shell can be used to run the code using the given Nix Shell Config File. This will automatically install rust and the bevy dependencies. Strongly inspired by the Bevy NixOS installation guide

nix-shell --run "cargo run --bin server"
nix-shell --run "cargo run --bin client"