Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@3.0.0/src/note.ts";

Constructors

new
Note(
time?,
type?,
direction?,
x?,
y?,
)

Note object for ease of creation.

Properties

angleOffset: number

The angle added to the note's rotation.

animate

The animation of this note.

direction: CUT

The direction the note will be cut.

flip: Vec2

Specifies an initial position the note will spawn at before going to it's unmodified position.

json: Json
noteGravity: boolean

Whether note gravity (the effect where notes move to their vertical row from the bottom row) is enabled.

noteLook: boolean

Whether this note will look at the player.

spawnEffect: boolean

Whether this note will have a spawn effect.

type: NOTETYPE

The color of the note.

Methods

import(json: Json)

Create a note using Json.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.

push(fake?, clone?)

Push this note to the difficulty.