Skip to content
Discussion options

You must be logged in to vote

Yeah I'll try to explain it as best as I can. I'll assume you have basic programming knowledge, whether it's Haxe or something else. No I didn't AI generate this stuff. This is using my knowledge of the game.

Hit Windows

FNF loops through each note and determines whether it can be pressed at that time using hit windows. I believe the number the game uses for this is 160, but you can adjust that how you like it. We'll also call this number hitWindowMS.

I'll try my best to explain a very basic hit window system.

var hitStart:Float = noteTime - hitWindowMS;
var hitEnd:Float = noteTime + hitWindowMS;

// Hell yeah Jigsaw you the goat!
// Early enough where the note can be hit
if (songPosition >=

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CollectorDev09
Comment options

@VirtuGuy
Comment options

@CollectorDev09
Comment options

Answer selected by CollectorDev09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants