Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Adamkob12/minecraft_bevy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft with Bevy (Check out the re-iteration: NovaCraft)

/ / /

Archived in favour of NovaCraft, a more recent, well organized, stabler iteration of the project.

/ / /

After Bevy 0.12 and Bevy Meshem 0.3 update, Final version.

Screenshot 2023-11-05 at 16 41 53

You're welcome to take a look!

git clone https://github.com/Adamkob12/minecraft_bevy.git
cd minecraft_bevy
cargo run --release

History of development:

Screenshot 2023-10-11 at 0 35 01

Updated after bevy_meshem 0.2.3

Screenshot 2023-10-14 at 19 21 30

After adding Ambient Occlusion

Screenshot 2023-10-15 at 2 35 03

Minecraft_bevy was built to showcase bevy_meshem. After a week of developing it has:

Chunk loading / unloading

each chunk's mesh is being quickly generated by bevy_meshem, generating up to thousands of meshes per frame asynchronously.

Block placing / breaking

using bevy_meshem's 0.2 release that made run-time mesh updates possible, block placing and breaking feels smooth and snappy. Press Q to switch blocks. and the numbers 1-9 to select a block.

Custom Collision physics

without any 3rd party crates / physics engines.

Video Showcase (slightly outdated):

Most Recent Update: breaking / placing blocks, collision with terrain https://github.com/Adamkob12/minecraft_bevy/assets/46227443/fc8418a2-cd44-4f5c-aeb5-3129baca8700

Terrain generation, run-time chunk loading/unloading: https://github.com/Adamkob12/minecraft_bevy/assets/46227443/f3c7828b-7142-44b5-ba03-2fd1a810d524