Skip to content

gavlig/svincraft

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

About

No description, website, or topics provided.

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-GIGA
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages