diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2021-06-11 11:28:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 11:28:08 +0200 |
commit | 7127870aec38137ee53ac6b47e6d64ba5992fac1 (patch) | |
tree | 5b0418797b6156834fb5bed639441e6cd9f09e6c | |
parent | 96638e856c4f481d3ea021f507dbc18fbf6f3841 (diff) | |
download | dungeon_game-7127870aec38137ee53ac6b47e6d64ba5992fac1.tar.xz |
Add Space to controls documentation
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ A small but flexible dungeon crawler written in C. The loader needs GCC to compi You can easily create plugins for the game by putting a new folder into plugins/ with the name of your plugin and then compiling your code into a shared library placed inside this folder named "<plugin name>.so" (`-shared -fpic`). You might want to include the game.h file from plugins/game/game.h. Have a look into it to see available API. See the existing plugins for examples. -Controls: WASD to move, Q to quit. +Controls: WASD to move, Q to quit, Space to shoot. To build the loader and the plugins in the plugins/ folder, simply type `make` or `make all`. There are separate targets for the loader (`dungeon`) and the plugins. All Makefiles that are placed in plugin directories, so you might want to include a makefile in your plugin. The plugins target simply depends on ${PLUGINS}, so just add things to this in your plugin Makefile to add them to the plugins target (usually your plugin.so) To run the loader, type `./dungeon`. It will load all plugins including the game itself dynamically and run the game. |