Note: When starting the project, make sure to press the flag at least twice. It should reset everything correctly. Use WS, or up/down arrows to move forwards and backwards respectively. AD or left/right arrows to turn. E to toggle flashlight. Hold SPACE to run. The blue bar on the left is your stamina, once it runs out you won't be able to run until it is fully recharged. The yellow bar on the right is your battery; once it's gone, it's gone. You must make 16 seconds of light last throughout the entire game. Your objective: Survive 2 minutes. ENEMY: It will never stop hunting you. The only possible way to survive it is to either run, or bring a light source near it. When the screen starts turning red, it's close. When you start hearing a heartbeat, you're in danger. Light will not save you past the 30 second mark. I believe that to be everything.
NOTES: Just an experiment with Griff's raycaster. Would've added more enemies and an actual objective but I couldn't get that part of the code to work. For now, this'll have to do. CREDITS: Raycaster and related code: Griffpatch. Enemy "AI": Me. Enemy sprite: Me. Health bar code: DkUniverse. Music and sounds: Me. Hotel: Travargo.