Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Modcharting

MagnusStrom edited this page Jun 1, 2021 · 4 revisions

ProjectFNF - Modcharting

Written by MagnusStrom, I'm new to wiki writing pls don't bully me

Recently, custom modcharting code was added to projectFNF. This modcharting is very different to Kade Engines, and relies on more source code in the game.

MODCHARTING IS CONSTANTLY CHANGED, THIS WIKI WILL BE UPDATED.

For now, it can only be done in the game, but later on, you will be able to drag and drop custom modcharts.

Starting out

To start, go to line 1187 of PlayState.hx. Go to the end of the line and press enter. Whatever you write here will be run right after "GO!" is heard, and the song starts. So, if we wanted to make the notes circle around, we would put:

for (note in 0...strumLineNotes.members.length) {
      ModCharts.circleLoop(strumLineNotes.members[note], 100, 3);
}

Now, what this will do is loop through all the strum line notes(the notes at the top of the screen that when you press they light up) and spin them, at 100 radius and at 500 speed. Compile and play any song.

Now, you should see the arrows spinning, and the notes tracking onto them. However, you should notice that sometimes, The music does not sync up at the time the notes hit the arrows, so you have to rely on the music more than your eyes. This is an issue with the Strum line, where the notes are checked. At this moment, the strum line is not synced up with the arrows, but this is fixable.

Go to line 204, or wherever the create function is, and press enter. copy paste ModCharts.autoStrum = true; at the new line, and recompile.

Congrats, you have just made your very first mod chart!

Clone this wiki locally