Skip to content

Note Creation

Jevk edited this page Jul 10, 2022 · 3 revisions

Note Creation

Notes are a bit more complicated to generate than walls, they are also much laggier than just walls. If you're going to use notes as decorative elements, try to do it with only a small amount of notes.

Structure

The way to create notes with my script is different from StormPacer's script. However, it is very similar to the way walls are made in my script.

new Note(4, 0, 0, 0, 8, {
    _fake: true,
    _interactable: false,
    _noteJumpStartBeatOffset: 4,
    _disableSpawnEffect: true,
    _disableNoteGravity: true,
    _disableNoteLook: true,
    _animation: {
        _definitePosition: [0, 3, 5]
    }
});

The structure of this is the following

  • new Note() is for generating the note itself.
  • The numbers after the parenthesis are values needed for the note, in order, they are the following
  • _time
  • _lineIndex (if decorative, set to 0)
  • _lineLayer (if decorative, set to 0)
  • _type (0 = red, 1 = blue, 3 = bomb)
  • _cutDirection

Next: Function