Le Sanglier – Features

Le Sanglier - Features

Boar

In patrol state, a random point is taken in a predefined area and boar moves to this point. The boar has a hearing range (that increases during the game), every time the player character takes a step, a noise is emitted and if the boar hears it, it moves to noise location. When the player character enters in boar’s field of view, it follows the player and its speed variable is gradually increased.If the boar enters in traps collider (when it is activated) or with player’s shotgun projectile, it is stunned for a while. If the player leaves its field of view for a certain time, boar returns to patrol state. If boar enters in player character collider, game is over.

Marcassins

In the editor, the marcassins number is set and at the start of the game all nests are set in an arrayNests are randomly taken in the array and marcassins will spawn at those locations. When a marcassin is picked up by the player character, hearing range of the boar is increased and a timer is started. When this timer expires, an empty nest is randomly selected to spawn another marcassin.

phoneSiteLogo

(+33)7.68.26.54.84.

mailSiteLogo.jpg

tristanbonnetpro@gmail.com