Reptilian Dungeon

About

Reptilian Dungeon is a 2D horror themed puzzle game that's done for a game jam based on 'Alone' theme.

Game Info

(3) Role: Programmer

Time Frame: 9 Days

Engine: Unity (C#)

Introduction

Reptilian Dungeon was a challenging and enjoyable experience for me where I worked in a team of 3, as a game programmer and designer, to make a game in 9 days only based on 'Alone' theme.

Play Reptilian Dungeon on Itch.io

Gameplay

The player character is a human-crocodile hybrid that was imprisoned after a failed experiment, he wants to escape the prison, to do so he needs to solve two number puzzles, collect all necessary items to inventory and avoid being followed by a ghost.
Player controllers: arrow keys.

Story: Subject (A) , human-crocodile hybrid, wakes up all alone in the reptilian dungeon to find all guards dead, he remembers nothing, not even his name. Confused but hopeful, he searches for freedom from this hellish dungeon.

player idle animation
Player Idle Animation
player run animation
Player Run Animation

Puzzle

To make the puzzle, I made an 'Intractable Key' that points to the puzzle mini-game game object once the player try to take the key. The puzzle mini-game script is then called, which disables player controllers temporary and enable the puzzle.
A series of digits are called at random and then disappear in few seconds. If the input code from the player input 'button click' matches the series of digits 'card code' then the key is collected in inventory and the player controllers are enabled again.

key to puzzle
Puzzle Key
puzzle
Puzzle Mini-Game

Ghost Follow Player

If the player fails to write the correct code in Room 2, then the ghost character that was locked in the box escapes and haunt the player by following him to kill him.
To make the ghost follow player direction, I calculated the difference between the player and the ghost position using Vector 'direction' method, then normalized the result to make the ghost character move at a steady pace.

ghost in a box
Ghost Locked in a Box
ghost follow player
Ghost Haunt the Player

Panic Room

Room 7 is where a brief clip is played that shows the player losing control and smash everything in the room with the phrase 'You are all alone, with me' to allude that the monster that killed everyone lives within the player character.
The clip was made using Cinemachine and is played once the player character set the trigger on by stepping into the room.

panic room before
Panic Room Before
panic room after
Panic Room After