Skip to content

Repo for dungeoncrawler game built in preparation for CSCI 7200 and heavily expanded upon as a Master's Project.

Notifications You must be signed in to change notification settings

McGarity99/Rust-Dungeon-Crawler

Repository files navigation

Rust-Dungeon-Crawler

This repo is inteded to hold the source code and resources for the dungeoncrawler game made in Rust with the bracket-lib crate and the Legion ECS system.
The game was developed through the book Hands-on Rust, by Herbert Wolverson (ISBN 978-1-68050-816-1). Through this book/exercise, I learned of several important aspects of game design, such as Entity Component Systems and data-driven design, as well as procedural generation and code re-use. Following the book, the bulk of the work on this project was a series of significant expansions on the original work, with the Hands-on Rust work serving as foundational code. All artwork and audio are attributed within this file, and below is a condensed list of significant additions made to the original code.

Ideas for Expansion

  • Change tileset from fantasy to sci-fi/horror theme
  • Increase enemy variety and complexity
  • Introduce new map elements (locked doors, keys, etc.)

Introduce new items for gameplay:

  • Item to increase player's Field of Vision attribute
  • Attack armor: shield player from incoming damage until armor is depleted
  • Introduce environmental hazards:
  • Poison floor / fire floor (could require special item to traverse safely)

Other Mechanics:

  • Add a scoring mechanism
  • Add gameplay music and/or sound fx

Stretch Goals

If time permits, I would like to look into these more advanced concepts:

  • Shift into real-time gameplay instead of turn-based
  • Look into Bevy game engine for possible improvements to performance
  • Add more detail to the game's story with an intro/outro screen

Crates used:

bracket-lib = ~0.8.1
legion = 0.3.1
serde = 1.0.115
ron = 0.6.1
rodio = 0.15.0

Attributions:

General idea and foundational code: Hands-on Rust by Herbert Wolverson. Copyright 2021. The Pragmatic Programmers, LLC. Print. (ISBN: 978-1-68050-816-1)

Artwork:

https://opengameart.org/content/unfinished-dungeon-tileset
https://opengameart.org/content/fantasy-magic-set
https://opengameart.org/content/fantasy-sword-set
http://opengameart.org/content/dungeon-crawl-32x32-tiles

Audio:

https://opengameart.org/content/16-monster-growls
https://opengameart.org/content/monster-sound-effects-pack
https://opengameart.org/content/horror-sound-effects-library (Little Robot Sound Factory: www.littlerobotsoundfactory.com)
https://opengameart.org/content/rpg-sound-pack
https://opengameart.org/content/win-sound-effect

Bitmap Editor:

GIMP (https://www.gimp.org/)

About

Repo for dungeoncrawler game built in preparation for CSCI 7200 and heavily expanded upon as a Master's Project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published