- Inventory, i
- Shoot, left mouse button (TODO)
- Attack, space
- Move, arrow keys
- Main Menu, 2
- Leveleditor, 4
- Back to game/save, 1
- Change tile in editor, mousescroll
- Place tile, left mouse button
- Ingame lua prompt, enter (can use functions registered to lua such as playerAddHp)
- Lua 5.1
- SDL2
- GCC Version 4.9.2 (or other compilers that support C++11)
On Debian-derived systems make sure you have build-essential installed.
liblua5.1-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev libfreetype6-dev
Either use the Code::Blocks project file or run make system, where system is one of the following:
- linux
- slackware
- freebsd
- dragonfly
- openbsd
- htests (linux)
Use the Code::Blocks project file. In Code::Blocks, change the build target to "Debug Windows" when compiling.
Run ./hunta2 in the terminal. For fullscreen, run ./hunta2 f (not stable)
Build using make htests and run ./test