Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/note.ts>Note

A framework for Beat Saber map scripting.
Go to Latest
class Note
import { Note } from "https://deno.land/x/remapper@2.1.0/src/note.ts";

Constructors

new
Note(
time?: number,
type?: NOTE,
direction?: NOTE,
position?: [number, number, boolean],
)

Note object for ease of creation

Properties

animate
animation
color: ColorType
customData
direction: number
fake: boolean
flip: boolean
readonly
halfJumpDur
interactable: boolean
readonly
isGameplayModded
readonly
isModded
json: Record<string, any>
readonly
jumpDist
life: number
lifeStart: number
localRotation: number[]
NJS: number
noteGravity: boolean
noteLook: boolean
offset: number
position: [number, number, boolean]
preciseDirection: number
rotation: number[]
spawnEffect: boolean
time: number
readonly
track
type: number

Methods

import(json: Record<number, any>)

Create a note using JSON.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.

Push this note to the difficulty