gamedev
=======
-gamedev was started as a high school project between drumsetmonkey and tcsullivan, written in C++ and using SDL2/OpenGL. The goal of this project was to have a completed commercial-grade video game available for Linux and Windows users; the plan was to profit off the game once it and the engine were finished. Through the first year and a half of development we quickly learned that the game's engine would need the most focus, as we were starting from complete scratch. Due to this, there is no playable, plot-based game.
+gamedev was started as a high school project between drumsetmonkey and tcsullivan, written in C++ and using SDL2/OpenGL. The goal of this project was to have a completed commercial-grade video game available for Linux and Windows users; the plan was to profit off the game once it and the engine were finished. Through the first year and a half of development we quickly learned that the game's engine would need the most focus, as we were starting from complete scratch. Due to this, there is no playable, plot-based game (yet?).
-However, the engine is still growing. Development has now slowed to a crawl with the start of our college lives, but changes will still be made every now and then. Maybe a true video game will eventually come out of this, but the engine will most likely always remain open source.
+However, the engine is still growing. Development has now slowed to a crawl with the start of our college lives, but changes will still be made every now and then. Maybe a true video game will eventually come out of this, but the engine will always remain open source.
Build Requirements
------------------
-The 'gamedev' project can be built on both Linux-based and Windows operating systems. The game has been verified (at some point) to work on Debian, Arch Linux, FreeBSD, and Windows 7 through 10. The following programs and libraries are required to build 'gamedev':
+The 'gamedev' project can be built on both Linux-based and Windows operating systems. The game has been verified (at some point) to work on Debian, Arch Linux, FreeBSD, and Windows 7/10. The following programs and libraries are required to build 'gamedev':
* make
* g++
-* SDL2, including SDL2_image and SDL2_mixer
+* SDL2, SDL2_image, and SDL2_mixer
* FreeType 2
* GLEW
* giflib
Build Preparation
-----------------
-The Makefile expects a file named setup.mk to exist. It needs to define two variables on two lines:
+The Makefile expects a file named setup.mk to exist. It needs to define two variables:
```
TARGET_OS = # either win32 or linux
TARGET_BITS = # either 32 or 64
Finally, create an output directory (used for compiling):
```
-mkdir out
+mkdir -p out/systems out/components
```
Building
```
make
```
-
-This command may be multithreaded using the -j argument.
+This command may be multithreaded using the -j argument.
To run on Linux, once built:
```
Some controls can be adjusted using the in-game control menu.
Movement:
+* 'esc' for the menu
* 'a' and 'd' move the player left and right
* 'w' enters buildings
* 'e' opens the inventory