Friday Night Funkin': Kade Engine

Kade Engine is a engine made by KadeDev for Friday Night Funkin'. It takes the original engine and improves/adjusts it in many ways. Most mods today use Kade Engine, or other engines that uses Kade Engine inputs (such as FpsPlus).

New Additions
Kade Engine overhauls Friday Night Funkin's input system. Updated versions of the Kade Engine ensure the least input drops, unlike the vanilla pre-week 7 FnF game. Unfortunately, vanilla week 6's input system has major flaws, resulting in many input drops usually occurring in fast sections due to being unable to rapidly handle many notes in a short time. Unfortunately, due to Week 7 not being open source, fan-developed engines such as Kade's are requirements for many new mods; mods that don't often become very hard to play.

Kade Engine's inputs do not check if an input is pressed every frame, but instead acts when a key is pressed, directly. This prevents input drops caused by skipped frames.


 * A "slide-in" effect for the menu buttons.
 * An options menu.
 * Offset (Change how early or late the notes will be, can be changed numerically. Available throughout the options menu if nothing or something that is changed by pressing enter is selected.)
 * Changable playback speed on Freeplay
 * Gameplay Section
 * Key Bindings (A way to change your key binds.)
 * Keyboard/Gamepad Control (A way to change what type of controller you use. It can be found inside the Key Bindings menu.)
 * Upscroll/Downscroll (A way to change how the arrows scroll to the arrow receptors.)
 * Ghost Tapping (An option to turn on/off damage when hitting a note if its not there.)
 * Safe Frames (Can be changed numerically, min 1, max 20. A way to change the amount of milliseconds it takes to get a rating.
 * FPS Cap (Can be changed numerically, min 60, max 300. A way to change the FPS cap in the game.)
 * Scroll Speed (Can be changed numerically, max 10. A way to change the scroll speed of songs without being chart dependent. If set to 1, the scroll speed will be chart dependent.)
 * Accuracy Mode Complex/Accurate (An option to change what your accuracy is dependent on. Complex is millisecond based while Accurate is rating based.)
 * Instant Respawn Off/On (When enabled, skips the death animation and quickly restarts the song.)
 * Reset Button Off/On (An option to change whether the R key will cause a game over or not.)
 * Customize Gameplay (A way to change the position your ratings will be.)
 * Appearance Section
 * Distractions and Effects (A way to toggle any stage distractions.)
 * Camera Zoom (A way to change how much the camera zooms in when it zooms in.)
 * StepMania Arrows (A way to change the colors of notes based on quantization, not direction.)
 * Accuracy Visiblity (A way to change if the accuracy is shown on the info bar or not.)
 * Song Position (An option to change if there is a bar accurately showing the length of the song or not.)
 * Notes Per Second Display (An option to turn on/off the visibility of your NPS. Your NPS only goes up when hitting notes.)
 * Rainbow FPS (An option to make the FPS counter flicker with rainbow colors or not. You cannot enable this option if you have your FPS counter hidden. [See Misc. Section])
 * CPU Strums Stay Static/Light Up (An option to change if the CPU's strums light when hitting a note or not.)
 * Miscellaneous (Misc.) Section
 * FPS Visibility (An option to change if it is possible to see your FPS or not.)
 * Toggle Flashing Lights (An option to change if you can see flashing lights or not. May cause epileptic seizures if on.)
 * Toggle Watermarks (An option to toggle watermarks of the Kade Engine.)
 * Antialiasing (An option to toggle antialiasing, can improve graphics quality but performance will drop slightly.)
 * Toggle Miss Sounds (An option to toggle the miss sounds when not hitting a note.)
 * Toggle Score Screen (An option to toggle the score screen at the end of a song/week. This score screen shows accuracy in a chart-like form, your final rating [if you have MFC, GFC, FC, or SDCB and if you have AAAAA, AAAA:, AAAA., all the way down to D], etc.)
 * Show All Inputs (An option to toggle if every input is on the accuracy chart.)
 * Optimization (A way to toggle characters, backgrounds, and everything else but notes, to make it feel like a normal rhythm game.)
 * Preload Characters(A way to toggle character loading on engine startup. Requires high memory.)
 * Botplay (A way to toggle botplay to showcase charts. It's basically a built-in FNFBot.)
 * Saves and Data Section
 * Replay (A way to view saved replays.)
 * Reset All Score (A way to reset all scores on all tracks and weeks. This is an irreversible option.)
 * Lock Weeks (A way to reset all story mode progress without losing all score. This is an irreversible option.)
 * Reset All Settings (A way to reset all settings. This is an irreversible option.)
 * Files Section (not in-game, must be changed in files)
 * Modcharts (Modcharts originate from NotITG [Not In The Groove], Taro4012, the NotITG dev, helped in adding modchart support to the Kade Engine. You can change how the strums and arrows move. This requires naming the modchart file "modchart.lua" exactly and coding what you want the arrows to do. Modchart tutorials are found at the github here.)
 * New Menu Remix

Issues
Issues relating to "Kade Engine" are maintained on the bug tracker. Report issues there.

Download Link
GameBanana

Source Code

Trivia

 * As of version 1.5, the opponent's arrows glow when hit as well. CPU note glows trigger when they hit a note, and the glow animation loops on sustain. For single hits, the note glows for as long as the glow animation lasts, unlike player-controlled notes, which play the note hit animation but freeze at the last frame if the note is held and isn't sustaining.
 * Version 1.6 makes it possible for mods to have locked weeks.
 * Health and points work differently: While sicks and goods give the same number of points in comparison to vanilla, bads are worth 0 points, and shits are worth -300 points, and they both deduct health from you. Shits count as a miss and are extremely rare due to their small time window.
 * If your accuracy mode is simple (accurate), it will be calculated like this: Sicks are worth 1 hit, goods are worth 0.75 hits, bads are worth 0.5, and shits are worth -1. Misses count as 0. During a note sustain, it will add 1 hit every so often, making high accuracy scores easier to hit for songs with long sustain sections. Accuracy is calculated by this formula: NOTES HIT / TIMES THIS COUNTER WAS UPDATED.
 * If your accuracy mode is complex, it will be calculated with Wife3. Each "time difference", the absolute value of the difference between the time you are supposed to hit the note and the time you hit a note has an associated "notes hit" value, ranging from 1 to -6 (slightly less than that). This makes getting a 100% accuracy score nearly impossible, as all your inputs MUST be within 5ms. Safe frames affect how accuracies are calculated. Your accuracy score can go negative, but the game won't display any value below zero, despite still internally storing that negative value. It is possible for your accuracy to go negative despite having a full combo.
 * Complex accuracy mode tends to focus the most on your sick to good ratio. The marginal (derivative of the) accuracy punishment is less for greater time differences.
 * Version 1.5 fixes some input drops situated in version 1.4. Mods using KE 1.4 may have users experiencing input drops, making modding with 1.4 discouraged, alongside the extremely broken arrow trails that were fully fixed in version 1.6.
 * Kade engine has changed what was precieved to be normal within the Friday Night Funkin' game. Originally, the new input system was not recognized upon first release and was only seen for forcing on ghost tapping, as many new players did not realize that Friday Night Funkin' dropped many of their inputs, but now, the problem of dropped inputs is long gone.