This project has been built while following along one of ClearCode's magnificant coding tutorials.
I had little experience with pygame so this was literally quite the adventure.
My intention was to figure out most of the stuff on my own, do some refactoring and add docstrings to the code.
But mostly, completing this project was a lot of fun and it's an awesome feeling to see the game coming together feature by feature!
Mind that the game is working with its features but still incomplete!
- There is no player death / respawn mechanic
- There is no savegame or state mechanic
- There is no monster respawn mechanic
| Action | Key |
|---|---|
| Movement | W A S D |
| Attack | Space |
| Cast Spell | Left CTRL |
| Switch Weapon | Q |
| Switch Magic | E |
| Upgrade Menu | M |
| Navigate Menu | Cursor Keys |
| Upgrade | Space |
If you are on Windows hop to the Release section and download the latest release.
For other platforms you have to build from source.
This project has been built and tested with Python 3.11.4.
From source:
# Clone the project locally
# Install dependencies:
pip install -r requirements.txt
# Run game:
python ./terramythica.pyBuild Windows binary:
# Clone the project locally
# Install dependencies:
pip install --upgrade cx_Freeze
# Build binary:
python setup.py build
# Or use make:
make build-exeCleanup build files:
make cleanupThis project is published under the Creative Commons Zero (CC0) license by ClearCode (Christian Koch).
ClearCode's Project Repo
The assets used in this project are released under the Creative Commons Zero (CC0) license by
Link to their Patreon
Project is built with cx_Freeze: License for cx_Freeze
ClearCode:
Assets: