From: Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> Date: Fri, 11 Jun 2021 09:28:08 +0000 (+0200) Subject: Add Space to controls documentation X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=7127870aec38137ee53ac6b47e6d64ba5992fac1;p=dungeon_game.git Add Space to controls documentation --- diff --git a/README.md b/README.md index c6f699d..e003dd9 100644 --- a/README.md +++ b/README.md @@ -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 ".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.