ModchartBackend is a work-in-progress Friday Night Funkin' V-Slice mod which aims to easily allow the creation of dynamic strumline effects. Heavily inspired by NotITG and similar FNF projects, ModchartBackend aims to allow control over the playfield using a collection effect modifiers.
This project uses the Funkin Compiler VSCode extension! To compile the source code, check out the extension's page on the Funkin Cookbook.
This is a simple template to get you started with V-Slice modding. Below is the explanation of the folders in your new mod project
This folder houses all assets used by your mod. This includes any non-code files and .json or .fnfc files.
Check out it's separate README for more details!
This folder houses all script files, that will be later compiled with the rest of the files in mod_base.
The structure made in this folder will be replicated in the "scripts" folder of your mod merging with mod_base/scripts if you decide to put any scripts outside this template (like song events).
It's recommended to put into source folder all files from the "scripts" folder of your existing mod into this one (if you have any).
While doing so remember to:
- change
.hxcextension to.hx - add a
package <mod_name>.<path>;line to the beginning of them (your IDE should help you with that) - Make sure you don't put
package;by accident somewhere
By default this folder contains:
source/ExampleModule.hxAdds a single option to the preferences menusource/ExampleEvent.hxAdds a single event to the Chart editorsource/misc/ExampleModule.hxHas some functions used by thesource/mod/ExampleModule.hx
To see your mod in action head over to "Run and Debug" section of your IDE, which has all the necessary tasks to let you playtest your mod:
Just run FNFStarts up your engine (stopping this task will also stop the game. Useful in some cases)Compile & Run FNF modRunsCompile ModandJust run FNFin one go.Funk: Compile current V-Slice modExports your mod to a v-slice engine located. It'll be put in "funkinGame/mods/workbench" unless otherwise defined.Funk: Export current V-Slice modExports your mod to the "export" folder. Useful for uploading to the gamebanana.