22 October 2023

Scaffolding: Progress Review - The Bite of '87?!

Hello? Hello, hello? I thought I'd leave this blog post here to get you settled in for this scaffolding, specifically my alternative controller for Five Nights at Freddy's 1. When we last met, I was quite unsure of how I wanted to take you on this journey to Hurricane, Utah. Now, however, I've got a solid idea, and what better way to experience the terror of FNAF 1 than with a custom-made office controller?

Meant to mimic the office the player character works in, this one is a bit more bare-bones - and way, way smaller. Meant to be held somewhat like a controller, your thumbs are meant to hover near the touch sensors, so you can quickly close the doors if an animatronic is approaching. Of course, how would you tell without the lights? Cover the light sensors on top of the walls to illuminate the doorways in-game. The LEDs on the floor will tell you whether your doors and lights are on at a glance - and the three-way toggle switch will help you literally glance at either door, or back to the center of the office. If you need to check the cameras, never fear!...or do, since the cameras are activated (and deactivated) by a burst of noise, notably yelling. The handy potentiometer in your desk is used to cycle between the different cameras. 

Schematic: WIP

What's the driving force behind your new controller? Take a look! 

 Start function: assigning input variables to external sensors/switches, as well as output variables for the LEDs. 

Loop function: check for inputs. If sound sensor is triggered, open or close cameras and activate the potentiometer in checkCams. If light or touch sensors are triggered, send the respective input to the game, and to the changeLightLED or changeDoorLED function (with the index of the left or right LED. These last two functions may just be integrated into Loop & driven by booleans, tbh). If the switch is toggled, turn the camera to face that direction.

checkCams: ignores light/touch sensors + toggle switch and listens for 1) potentiometer movement and 2) sound input again, in order to close cameras. One prolonged shout will only open the cameras once, you have to get quiet and then yell again to close them.

 changeLightLED: turns on the LED and allows it to flicker somewhat, like the button/lights do in-game.

changeDoorLED: changes the light of the door LED from red to green, or green to red, depending on the previous state of the door.

We hope you enjoy your week at Freddy Fazbear's Pizzeria, and don't forget! It's just a game. A horror game!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.