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

x/remapper/src/mod.ts>Arc

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

Constructors

new
Arc(
time?,
type?,
x?,
y?,
headDirection?,
tailTime?,
tailX?,
tailY?,
tailDirection?,
)

Arc object for ease of creation.

Properties

anchorMode: ANCHORMODE

How the arc curves from the head to the midpoint.

animate

The animation of this arc.

flip: Vec2

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

headLength: number

Multiplier for the distance the start of the arc shoots outward.

json: Json
noteGravity: boolean

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

tailDirection: CUT

The cut direction of the tail of the arc.

tailLength: number

Multiplier for the distance the end of the arc shoots outward.

Methods

import(json: Json)

Create an arc using JSON.

Apply an animation through the Animation class.

push(clone?)

Push this arc to the difficulty