Nightfall

A Godot horror game: hunt a wendigo through a forest at night before it hunts you.

Role
Solo: all the GDScript and the level; the 3D models are free-to-use assets.
Stack
Godot, GDScript
Year
2024

Code

A 3D horror game made in Godot 4.2. You go into a forest at night with a flashlight to kill a wendigo, while it hunts you; the run ends when one of you dies, and the shack is the only safe place. I wrote all the code and built the level; the 3D models are free-to-use assets. The clip is a later render, made in Blender with the game's own models and sounds.

Escape: a 25-second render made in Blender with the game's wendigo, forest and sounds. The sound is off until you unmute it.

Key features and results

The wendigo runs its own state machine. It chases you along a navigation mesh, attacks at close range for 25 damage, staggers back on one hit in ten, and the first time its health runs low it screams, heals and comes back faster. Around it, a day–night cycle turns, campfires burn, deer wander on their own paths and a howl sometimes carries through the trees.

A dark forest corridor at night. The wendigo's hunched, antlered silhouette stands between the trees, its two red eyes glowing.
The wendigo, in a frame from the Blender render made with the game's model.

Architecture

Each piece is its own Godot scene with a short GDScript: the forest (terrain built with the Terrain3D and Proton Scatter add-ons, the day–night cycle, campfires and random howls), the player's tools (an equippable flashlight and a book to read), the deer and the wendigo. Hit zones on the wendigo's body pass damage to it. The world script watches both sides: when the wendigo dies it plays the ending, and when the player dies it loads the death screen.

Diagram in four steps: the forest (Terrain3D, day–night cycle, campfires, howls), your tools (flashlight, book, the shack as a safe place), the wendigo's state machine, and the two endings. Below: wandering deer, and Godot 4.2 scenes with short GDScripts.
How the game's scenes and scripts fit together.

Origins

Nightfall is the earliest project here, uploaded to GitHub on 25 August 2024. The models are left out of the public repository so the game can't be copied whole, but its scripts are public, and the longest of them is the wendigo's: about 140 lines that turn a model into something that hunts.

Diagram of the wendigo's states: chase (speed 6, gives up while you are in the shack, attacks within 7 units), attack (25 damage after a one-second wind-up), stun (one hit in ten) and second wind (at 60 health it screams, heals to 600 and speeds up to 8). It starts with 500 health and dies at zero.
The wendigo's states, from wendigo_col_1.gd (2024).