Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 3.73 KB

README.md

File metadata and controls

56 lines (45 loc) · 3.73 KB

SvinCraft

svincraft_header

A first person game prototype with mechanics inspired by StarCraft

Player can mine resources with hand-drill, spawn new npcs and give them move and resource mining commands. There is also reaction to collision with environment for drill, visual indication of the amount of mined resources, a little touch on drill animation when left mouse button is released and indication that mining capacity is full.

The purpose of the project was to see how fast a prototype can be made using only freely available assets,
unmodified Bevy Engine and a number of plugins for it to achieve some sort of gameplay
as fast as possible. (Before any polishing this version was made in about 3 weeks of working in the evenings)

video demo
Svincraft running on Steam Deck(see branch steamdeck for more info):
steamdeck

How to build

  1. Make sure you have Rust installed. See https://www.rust-lang.org/
  2. cargo build -r

How to run

cargo run -r

Controls

  • WASD - player movement
  • Shift - sprint
  • Ctrl - duck
  • Space - jump
  • Mouse Left Click (aiming at resource or non selectable entity) - initiate drilling
  • Mouse Left Click (aiming at selectable entity) - select entity (currently only npc or base building)
  • Mouse Right Click - give command to selected entity. (currentl onlyy move/mine resources for npc)
  • Shift + o - switch to pan-orbit camera for more rts-like overview
  • Numpad + - spawn npc at base building if player is looking at one
  • Numpad * - spawn stresstest batch with 20 bases and 8 npcs at each base that will instantly start mining resources

Bevy plugins used

Assets used