You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protogenposting edited this page Dec 7, 2023
·
1 revision
This wiki page will show how to create custom note types.
Step 1, detecting the note type/note functionality
The note functions are all handled in the step event of stats, in the "hitting notes" region (line 52).
to detect your note type simply add this code after line 58 or 96.
if(notes[i].type==<note type>) { if(keyboard_check_pressed(global.lanekeys[notes[i].lane])/*&&!lanesHit[notes[i].lane]||editor.botplay&&scoreFromHit>=100 uncomment this and remove this text to allow this note to be hit in botplay*/) { //add code for when the note is hit here } }
you can replace in the first line with whatever you want your type id to be.
you can now add whatever code you want where the comment says.
Step 2, rendering the note.
for note rendering go to line 23 of the draw event of stats.