-
I am a programmar, I was very interested in how the arrow or notes system works in Friday Night Funkin. I would like a technical explanation (i.e how arrow or note system was programmatically made. What they use to achieve this, like arrays, etc). As well as holding notes, how was a holding note programmatically made? A technical explanation is appreciated, always help out other programmars, you know haha. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
when a player enters a song, the game generates notes and adds them to the
the
i skipped some less important shit but basically this is how input system works |
Beta Was this translation helpful? Give feedback.
when a player enters a song, the game generates notes and adds them to the
unspawnNotes
array that is sorted from lowest to highest note song positionafter it's generated a
update()
function is called every frame that:unspawnNotes
is 1500ms ahead of current song position and if it is this note is moved to thenotes
array (thenotes
array renders notes)keyShit()
functionthe
keyShit()
function (basically input system):notes
array from the lowest to highest note song positionnotes
and checks if a key was just pressed for it and if it is this note gets judgednotes
and checks if a note can be…