A Five Nights at Freddy's (or FNAF) framework made for Godot 4, with a Godot 3 version also available.
Important
This framework only contains the very basic necessities to build your FNAF inspired game. As such, I will not be adding any features that :
- A - Are very easy to make on your own
- B - Are not necessary for a FNAF like game
- C - Make the project a convoluted mess
- Office
- A simple scrolling system where the speed is based on how close your mouse is to the screens edge
- An equirectangular perspective shader (like the one seen in Five Nights at Candy's Remastered)
- Camera System
- A simple camera system that can be easily expanded to include more rooms
- Camera movement (like in FNAF 1)
- Character AI (No Jumpscares)
- AI system faithful to the original FNAF games with difficulty scaled from 0 to 20 (for Custom Night)
- Support for custom character states for alternate poses on Cameras
If you encounter any bugs with an unmodified version of the framework, please post the issue on Github with a video attached. If you want to contribute to the project, do a pull request on Github and I'll take a look at it.
The Cupcakes Framework is licensed under the MIT license. Meaning that you can do whatever you want as long as you credit me, and include the MIT license contained within this repository with your software/source. Reminder, this is my understanding of the MIT license. I'm not a lawyer, do your own research.