Skip to content

The Village Sacrifice is a first person stealth game made for Ludem Dare 43.

License

Notifications You must be signed in to change notification settings

hayden-donnelly/the-village-sacrifice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

"Your village has decided to deal with over population by sacrificing you to the great stone golem who lives nearby. Your goal is to sneak through the dungeon and escape undetected." The Village Sacrifice is a stealth game made in 72 hours for Ludem Dare 43. The theme was: sacrifices must be made. This repository contains the complete unity project (last tested on version 2018.2.18f1).

Authors

  • Hayden Donnelly - Programmer
  • Peter Prickarz - Artist
  • Eric Goetz - Composer

Finite State Machine AI

The enemy AI has three main states: patrol, chase, and search. Beginning in the patrol state, it will walk around a number of pre-defined patrol routes. If the AI detects the player during its patrol, it will enter the chase state. In this state, the AI will simply run towards wherever the player is. If the AI loses line of sight on the player while chasing, it will enter the search state. Upon entering the search state, the AI will walk to the player's last known location, and then begin to search the surrounding area in four directions. If the AI detects the player at any time during this search, it will automatically transition to the chase state. But on the other hand, if the search completes and the player has not been detected, the AI will go back to the patrol state.

IMG_0778

Screenshots

VS1_c VS2_c VS3_c