##A simple top down shooter with a field of view
#Build instructions
I have only tested it on Linux so far. To build it from source you will need SFML, Box2D and make. Both are available in a package on Ubuntu.
####Build instructions for Ubuntu
First move to the directory where you've downloaded the project. To do this execute:
cd /Path/To/The/Project/
To install:
sudo apt-get install libsfml-dev libbox2d-dev
make
To run the game:
./topDownShooter
####Windows binaries
Building the game on windows is more complicated, as there are no packages for SFML and Box2D, so I have built a binary that should work on every 32 or 64 bit Windows system (Only tested on Windows 8).
This binary has been last updated after this commit - https://github.com/raatmarien/TopDownShooter/commit/ab9fefca419c724bda47f8d9b56f1fdb34aee866 - on 15 May 2015.
To run the game, unpack the 7zip file and execute (double click) the file "TopDownShooter".
#Controls
- Use wasd or the arrow keys to move
- Right click to aim
- Left click to shoot while aiming
#Maps
Maps are written in any image format supported by sfml, png for example, where a brightness of 255 or 1 is a wall and a brightness of 0 is normal ground. An minimap will automatically be generated by the game. For the best performance, walls should only be one tile thick.
Maps can also be procedurally generated by the game at runtime. So far this uses a very basic algorithm where random rooms are generated and corridors are placed to connect them.
###Some examples of procedurally generated maps:
#Light maps
Positions of the lights are saved in a seperate bitmap of te PPM type. This bitmap should be as big as the part of the map from the top left of the map where you want to have lights. Black in this bitmap indicates a tile without a light. Any other color indicates a light of that color.
#'Gameplay' so far