This is currently deprecated. See Joalor64Engine-Rewritten
I will occasionally make some bugfixes and such out of boredom, but for now, this engine is deprecated. -MemeHoovy
This is the repository for Chocolate Engine, which is basically a fork of the original FNF. Not everything is perfect, so contributions and/or pull requests would be nice!
If you need a tutorial on modding, go check out the wiki!
This engine is in a major WIP state, report bugs in issues.
- Polymod Support
- A LOT of Customizables
- Easy to Use Credits System (From Mag Engine)
- MP4 and WebM Video Support
- Week 7 [Is working but cutscenes are broken lmao]
- Support for Lua Scripts [Very WIP]
- Attempt to softcode characters with JSON
- Joalor64 YT - Main Programmer and Director
- MemeHoovy - Assistant Coder and MemeHoovy Engine Code
- Wither362 - Assistant Coder and Fixer
- LeviXDD - HTML5 Handler
- ShadowMario - Psych Input
- PolybiusProxy - MP4 Video Support
- Smokey - Adobe Animate Texture Atlas Support
- Sqirra-RNG - Window Focus and Unfocus Code and Crash Handler
- Leather128 - Some Polymod Code
- stephensrt - Lots of Polymod Code and Mag Engine Code
- KadeDev - Extension WebM and Kade Engine Code
- Manux123 - Cool Engine Code
- MissingTextureMan101 - Funkin Strawberry Code
- Lars Doucet - Polymod
- Angel Bot - Reverse engineered Week 7 code
- AnimatingLegend - Some Week 7 code
- Ninjamuffin99 - The Base Game (WOULD NOT BE POSSIBLE WITHOUT HIM)
How to build the funny game or something
First, install Haxe (USE 4.2.5 BRUH) and HaxeFlixel:
Then, install these or something:
flixel
flixel-addons
flixel-ui
hscript
Then, these I think:
- Download git-scm. Works for Windows, Mac, and Linux, just select your build.
- Follow instructions to install the application properly.
- Run
haxelib git polymod-mastereric https://github.com/MasterEric/polymod
to install Polymod. - Run
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
to install Discord RPC. - Run
haxelib git hxCodec https://github.com/polybiusproxy/hxCodec
to install hxCodec.
Everything should be ready. You can continue from here.
At the moment, you can optionally fix the transition bug in songs with zoomed-out cameras.
- Run
haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons
in the terminal/command-prompt.
And you should be good to go.
Once you have all those installed, it's pretty easy to compile the game. You just need to run lime test html5 -debug
in the root of the project to build and run the HTML5 version. (command prompt navigation guide can be found here: https://ninjamuffin99.newgrounds.com/news/post/1090480)
To run it from your desktop (Windows, Mac, Linux) it can be a bit more involved. For Linux, you only need to open a terminal in the project directory and run lime test linux -debug
and then run the executable file in export/release/linux/bin. For Windows, you need to install Visual Studio Community 2019. While installing VSC, don't click on any of the options to install workloads. Instead, go to the individual components tab and choose the following:
- MSVC v142 - VS 2019 C++ x64/x86 build tools
- Windows SDK (10.0.17763.0)
Once that is done you can open up a command line in the project's directory and run lime test windows -debug
. Once that command finishes (it takes forever even on a higher end PC), you can run FNF from the .exe file under export\release\windows\bin
As for Mac, lime test mac -debug
should work, if not the internet surely has a guide on how to compile Haxe stuff for Mac.