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

x/remapper/src/custom_event.ts>CustomEvent

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

Constructors

new
CustomEvent(time?)

Event object for ease of creation.

Properties

animateTrack: (
track?: TrackValue,
duration?: number,
animation?: Record<string, any>,
easing?: string,
) => unknown

Animate a track.

assignFogTrack: (track: string) => unknown

Assign the fog to a track.

assignPathAnimation: (
track?: TrackValue,
duration?: number,
animation?: Record<string, any>,
easing?: string,
) => unknown

Animate objects on a track across their lifespan.

assignPlayerToTrack: (track?: string) => unknown

Assign the player to a track.

assignTrackParent: (
childrenTracks: string[],
parentTrack: string,
worldPositionStays?: boolean,
) => unknown

Assign a parent to a track.

Methods

Create an event with no particular identity.

import(json: Record<string, any>)

Create a custom event using JSON.