[!ERROR] Due to recent changes to the devkipro (and probably something wrong when I uploaded the source code) the game is at non compilable state. Will give an error that it doesn't fit on the VRAM bank, due to one of the .s files being way too large. I'm not sure on how to compress it, or reconvert it to .s as I lost the original source code with the images.
Important
DISCLAIMER
THIS IS A STUDENT PROJECT MADE AS A WAY TO LEARN THE NDS AND C++ PROGRAMMING. NO COPYRIGHT INFRINGMENT IS INTENDED, ALL RIGHTS BELONG TO SCOTT CAWTHON AND STEEL WOOL STUDIOS.
If a legal entity wishes to this code to be removed, i'll take it down immediately.
Note
A highly experimental, colledge assignement game, remake of Five Night's at Freddy's for the Nintendo DS with devKitPro
Project done as a final college assignment for the subject: VJ1214 - VIDEO GAME CONSOLES AND DEVICES.
This is a very experimental clone of the videogame Five Night's at Freddy's for the Nintendo DS. The game was developed using the devKitPro toolchain and the libNDS library.
I've opened the source code of my game so my colleages and other people can learn and improve from this code, as this was done by a very much beginner of C++.
- Touch screen with D-PAD support. Doors and cameras are fully functional.
- Five minutes of gameplay.
- Bonnie and Chica AI is i screens.
- Foxy AI is implmented but kinda buggy.
- Freddy is a vegetable.
- Battery levels and time change in real time.
- Experience zero sounds and music.
- Custom renderer logic to handle a TON of images (nevernesters beware).
- Mostly copied AI from the original game.
- Almost all of the code fully documented.
- A lot of spaghetti code.
- Includes a Makefile ready to be used to compile the game.
- Clone this repo with Github Desktop or cmd, or use the green button above, everything works.
- Download and install devKitPro and a NDS emulator (WinDS Pro works fine, DesMume is good too).
- devkitPro NEEDS to be added to Path, but should be done automatically.
- Open the folder on VSCode.
- Open a Terminal there and:
- Run
maketo compile the game. - Run
make cleanto clean the build and.ndsand.elffiles.
- Run
To make use of the debug functions of this code, you need the no$gba debug version of the emulator. You can find it here.
- Original camera images taken from:
- VSCode devKitPro template (so VSCode properly recognises the libNDS functions).
- Grit, to convert the game images to something the NDS can read.
- Maxmod, for the sound (although I wasn't able to use it)
- problemkapputt for the
no$gbaemulator. - Scott Cawthon for the original game.
- The UJI teachers for grading this project an 8.5 / 10.
You are permited to read, modify and redistribute this code as long as you aknowledge me, this reposity, the original author and the original game. This code is not intended to be used for commercial purposes, and is only a learning project.