- Checkout to the
visual-studio
branch - Open the visual studio solution in the
HotlineKentuckyVisualStudio
folder - Open a
.cpp
file - In properties make sure it's set to release
- Under C/C++ -> General -> Additional Include Directories add the following path
(repo-path)/SFML-2.5.1/include
- Under Linker -> General -> Additional Library Directories add the following path
(repo-path)/SFML-2.5.1/lib
- Under Linker -> Input -> Additional Dependencies add
sfml-system.lib;sfml-window.lib;sfml-graphics.lib;
to the start of it
- Install
g++
using your package manager - Install
make
using your package manager - Install
libsfml
orlibsfml-dev
using your package manager - cd into the same directory as the
Makefile
- run
make linux
main-linux should appear in bin/
Feature | State |
---|---|
Displayed at the correct screen size of 1920x1080 | ✔️ |
Dungeon represented as a tile map | ✔️ |
Edge of the world has a dead zone which is ½ the dimension of the viewable area | ✔️ |
Dungeon procedurally generated at each new level, e.g., multiple non-overlapping rooms, walls, corridors and portal tiles correctly placed | ✔️ |
Fog of war reveals the dungeon as the player character progressively navigates through the dungeon | ✔️ |
One or more player characters are controlled by user keyword | ✔️ |
Two distinct animated enemies | ✔️ |
Careful sprite and terrain collision detection, e.g., sprite to enemy, sprite to wall collision detection | ✔️ |
Careful collision detection that affects the score and condition, e.g., sprite to coin, sprite to health potion | ✔️ |
Working battle system, e.g., turn-based or/and to-the death | ✔️ |
Immediate gameplay feedback including battle system feedback, score, win and loss | ✔️ |
One enemy that exhibits artificial intelligence behaviour. This may be implemented using trigonometry | ✔️ |