Khelda II [KrampusHack 2021] Game Jam

I made a Zelda II alike world with a big map on top view and some dungeons in side view. Permanent world, only the monsters are reset between dungeons / starts.

The limit was way overdue before I could do all I wanted so I’m linking both version here, the entry for the compo and the updated / finalised one.

Compo rules: https://tins.amarillion.org/krampu21/rules/

Tins log : https://tins.amarillion.org/krampu21/log/entrant/4277

git repo: https://framagit.org/GullRaDriel/krampushack2021-kheldaii

Click here for full pack with datas, sources and binaries

Screens:

Gameplay demo : 

Khelda II gameplay demo

=============================================

How to play:

  • You are Kwink. You have to save princess Khelda which is kept prisonner by an Ogre
  • You directly start on the main map. Move around and kill some simple monsters to gain a bit of XP/Life before trying yourself at the dungeons.
  • Each dungeons is guarded by a lot of mobs. Killing them is up to you. Leveling up before being traped in a dungeon is recommended
  • Find all the 3 key fragments before going onto the last dungeon. Deliver princess Khelda by defeating the last mob

Keys:

  • Esc: quit
  • Arrow keys: move, go up/down or jump/crouch
  • CTRL/LeftMouseButton: attack
  • F1 -> F4t: change weapon (Wood stick, sword, magic bow, magic wand)
  • Key PAD PLUS: shield potion
  • Key PAD ENTER: health potion

Items to be collected:

  • shield (passive, always equiped once found)
  • sword of Khelda
  • magic ice wand
  • infinite arrow bow
  • health potion
  • shield potion

Obtain: the kiss of the princess one the Ogre is dead !

Tips:

  • Leveling up a bit on easy monsters before trying yourself to a dungeon
  • Wandering around and use the map find the sword, the magic wand, the arrow, the shield
  • Loot a bit of potions before entering the last dungeon

==============================================

Options:

  • configurable log level, example: ./KheldaII.exe -V DEBUG
  • cheat: editable player_state.json after first execution

==============================================

How to build: need gcc on linux and gcc + msys / cygwin on windows

mkdir -p KheldaII
mkdir -p KheldaII/LIB
mkdir -p KheldaII/Src/
cd KheldaII/LIB
git clone https://framagit.org/GullRaDriel/nilorea-library.git .
cd ../Src/
git clone https://framagit.org/GullRaDriel/krampushack2021-kheldaii.git
cd https://framagit.org/GullRaDriel/krampushack2021-kheldaii.git
make

MSYS2 ALLEGRO5 Setup

I’ve set up my last allegro 5 install + compilers in less than 15 minutes.

1) download and install msys2 ( https://www.msys2.org/ )

Now launch the msys2 terminal and copy pasta the followings:

#UPDATE MSYS2
pacman -Syu
#INSTALL GCC 32 & 64BITS
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git subversion mercurial mingw-w64-i686-cmake mingw-w64-x86_64-cmake
#INSTALL ALLEGRO5 32 & 64BITS
pacman -Sy mingw32/mingw-w64-i686-allegro mingw64/mingw-w64-x86_64-allegro 
#INSTALL ALLEGRO5 64BITS DEPENDENCIES
pacman -Sy mingw-w64-i686-dumb mingw-w64-i686-flac mingw-w64-i686-opusfile mingw-w64-i686-freetype mingw-w64-i686-libjpeg-turbo mingw-w64-i686-libpng mingw-w64-i686-libvorbis mingw-w64-i686-libwebp mingw-w64-i686-openal mingw-w64-i686-physfs
#INSTALL ALLEGRO5 32BITS DEPENDENCIES
pacman -Sy mingw-w64-x86_64-dumb mingw-w64-x86_64-flac mingw-w64-x86_64-opusfile mingw-w64-x86_64-freetype mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-libpng mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libwebp mingw-w64-x86_64-openal mingw-w64-x86_64-physfs