Skip to content

Don't Starve inspired game created to go along with live coding sessions on Youtube

License

Notifications You must be signed in to change notification settings

mwbryant/bevy_survival_crafting_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy Survival Crafting

A survival crafting game in Bevy designed after Don't Starve.

The player can move with WASD and pickup items with Space. These will be placed into your inventory on the bottom bar of the screen. If you gather the correct materials (flint and twigs) then some of the tools will highlight in the crafting menu on the left of the screen which can be crafted by clicking on their icons. A tool can then be equiped by clicking on it in the inventory which will move it to the equiped slot in the bottom right. Finally if you have equipped an axe then you are able to cut down the trees.

Example Gif

Crafting recipes and SpriteSheet descriptions are loaded from a ron file at run time allowing for easy creation of new recipes without needing to recompile the game.

The game features a custom shader and material to generate the fire effect which lights up the world. Currently modifying the fire entity in the inspector allows you to increase the size and position of the 3 demo fires but the system supports any number of fires (until GPU limitations take over).

All code is either contributed by community members or was live recorded and commentated in the Bevy Longs series by LogicProjects on Youtube

Art provided by Sal

Usage

cargo run --release

Contributing

Yes please! Any issues, bug fixes, code style fixes are welcome. This is intended to be an educational project and I'm hoping it's a good example of using Bevy to make a simple game.

About

Don't Starve inspired game created to go along with live coding sessions on Youtube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages