Skip to content

rbartlensky/tower-def-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tower-def

Introduction

This is my attempt at creating a tower defense game in Rust using the Amethyst game engine.

Implemented so far

  • Runners choose a random path towards the castle
  • Towers shoot on sight and deal damage (if a runner is hit twice, it dies)
  • Simple tower selector when you click on "X" tiles.
  • Debuffs (when frost tower hits enemy it is slowed down)
  • Tower upgrades
  • Basic level selector

To be implemented

  • Menus
  • More towers
  • Smart runners (runners that do interesting stuff)

To improve

  • Make missles move at a constant speed towards the target. (My calculations are wrong when I decide how much to append to the missle's transform)
  • Tower selector (very basic atm, would like to add some sort-of border around items in the selector)
  • Debuffs (maybe implementing a trait is better than having closures?)
  • Level selector

Images

How to run

To run the game, run the following command, which defaults to the vulkan graphics backend:

cargo run

Windows and Linux users may explicitly choose "vulkan" with the following command:

cargo run --no-default-features --features "vulkan"

Mac OS X users may explicitly choose "metal" with the following command:

cargo run --no-default-features --features "metal"

Credits

  • To Andre Mari Coppola for the awesome sprite pack! (check assets folder more information about the artist)

Resources

About

A tower defense game in Amethyst

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages