Welcome to Shards of Creation!
Required Development Software:
Python 3.7.3 (https://www.python.org/downloads/)
Tiled (https://www.mapeditor.org/)
Setup:
- In the root directory of this repository, create a virtual environment from the command line/terminal:
python -m venv venv
- Activate the venv in the terminal/command line:
venv\Scripts\activate
- Verify that the path in your command prompt is now prefixed with:
(venv)
- Install current requirements in your local vevn by running the following command from the command line*:
python -m pip install -r requirements.txt
*Please note, if during development you install any additional python dependencies, you must update the requirements.txt. The easiest way to accomplish this will be by running the following command from a command line/terminal with an activated virtual enviornment:
python -m pip freeze > requirements.txt
Making a release:
- Activate the venv in the terminal/command line:
venv\Scripts\activate
- Verify that the path in your command prompt is now prefixed with:
(venv)
- Run the make_a_release.bat script from the command line
make_a_release.bat
- Go into the dist folder, select all the contents, and on the right-click context menu, select "Send To > Compressed (zipped) Folder"
- Move the release *.zip to another loaction
- Clean up the release process:
clean_up_release.bat
Starting the game:
- Activate the venv in the terminal/command line:
venv\Scripts\activate
- Verify that the path in your command prompt is now prefixed with:
(venv)
- The game can now be ran by running the command:
python main.py
Controls
General Controls:
- Esc - Quit
- h - Activate hit box outlines if in debug mode
- p - Pause
- n - Night mode
- e - Open Inventory
- t - Talk
- r - Read
Movement Controls:
- a - Rotate Left
- d - Rotate Right
- w - Move Forward
- s - Move Backwards
- Left Arrow - Rotate Left
- Right Arrow - Rotate Right
- Up Arrow - Move Forward
- Down Arrow - Move Backwards
Inventory Controls:
- w - Scroll Up Inventory List
- s - Scroll Down Inventory List
- Up Arrow - Scroll Up Inventory List
- Down Arrow - Scroll Down Inventory List
- r - Throw/Discard Selected Inventory Item
- u - Use Selected Inventory Item
- x - Exit Inventory Screen
Conversation Controls:
- x - Exit Conversation
- 1, 2, 3 - Select Conversation Option
- Enter - Select First Conversation Option or Advance to Next Dialogue
Reading Controls:
Things to Check for Functionality
Pause Screen
Debug - Outlines
Night Mode
Inventory
Inventory: Use Item
Inventory: Drop Item
Inventory: Scroll Through Items
Movement Controls - Rotation and Movement
Casting Spells
Talking to NPCs
Reading Items
Collisions with Walls
Collisions with Mobs
Healing Mob of Corruption
Becoming Corrupted by a Mob
Traveling through Portals
Picking Items Up
(Continue with New Functionality as Added)