/Magic-Tower-Qt

⚔️ This is the C++(with Qt) version Magic-Tower game

Primary LanguageC++MIT LicenseMIT

Magic-Tower-Qt

PRs Welcome License: MIT Template from jarvis

Magic tower!

Screenshots

choose role

1st floor

fight

ice floor

trick floor

final floor

How to use

To run this game:

  1. Download Qt creator
  2. Open MagicTower.pro using Qt creator
  3. Click run for MagicTower.pro project
  4. Enjoy it!

If you see error like "Unknown module(s) in QT: multimedia" error in ubuntu, just run "sudo apt-get install qtmultimedia5-dev" and then rebuild

Features

  • GUI: mainly use QGraphicsview.
  • Databese: connect to local sqlite database.
  • Cheat: you can choose cheat option in the "cheat!" menu and do whatever you want. XD (GodMode => fight with monster do not decrease your HP but increase it!)
  • Gender: different gender has different basic stats.
  • Shop: you can buy something like hp, attack, different keys here.
  • Book: you can look up it and know monster more in this floor, "expected damage" is very helpful.
  • Miss + Crit: there will be some random miss or critical damage during fight, so there is no absolute best result.
  • BGM: use qmediaplayer (not completely finished, so I just use a example BGM).
  • NPC: they will give you some advices.
  • Level up: kill enough monsters and you will level up, so be brave!
  • Help: after start game, you can press "h" key for help.
  • Different endings: there are three differnt endings, wish you find a nice one :)

REMEMER! Your task is to save the pricess in the top of the tower.

Time

  • This game requires 2-3 hours to finish (without cheat!), enjoy it in your free time~ (In the future, floors will increase to 20 or more, so it will be more fun.)

Contributing

See CONTRIBUTING.md

License

MIT License