Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/note.ts>Chain

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

Constructors

new
Chain(
time?,
type?,
x?,
y?,
tailTime?,
tailX?,
tailY?,
direction?,
links?,
)

Chain object for ease of creation.

Properties

animate

The animation of this chain.

flip: Vec2

Specifies an initial position the chain 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 chain will look at the player.

squish: number

An interpolation or extrapolation of the path between the head and tail.

Methods

import(json: Json)

Create a chain using Json.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.

push(fake?, clone?)

Push this chain to the difficulty.