Spooky Dungeon Crawler Engine

Paul Doyle
CPE 471 Intro to Computer Graphics
Zoe Wood
Fall 2012


Description

What was originally going to be a game eventually became more of an engine. Due to time constraints, I ended up focusing my final project on the technologies involved rather than turning it all into a game. Players can expore with first-person-shooter style controls a dimly lit dungeon with their flashlight and a few placeable lights (this was meant to mimic the spooky atmosphere of Amnesia and similar games).

Controls

W, A, S, D - Move around
F - Turn the flashlight on or off
E - Place a new light in front of you
C - Toggle sanity

Technologies

The world is generated with a 2-dimensional array and textures are selected using another 2d array. Collision detection is fully implemented.

Texturing is implemented for the walls, floors, and ceilings.



The player can use a flashlight to explore the world.



The player can place lights of different colors in the world (max 3).





The player can go insane (accomplished by warping the perspective matrix over time).



Multitexturing is implemented; in this case, different colored lights reveal different textures.