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

x/remapper/src/model.ts>Text#toWalls

A framework for Beat Saber map scripting.
Latest
method Text.prototype.toWalls
import { Text } from "https://deno.land/x/remapper@3.1.2/src/model.ts";

Generate walls from a string of text.

Parameters

text: string

The string of text to generate.

start: number

Wall's lifespan start.

end: number

Wall's lifespan end.

optional
wall: (wall: Wall) => void

A callback for each wall being spawned.

optional
distribution = [UNSUPPORTED]

Beats to spread spawning of walls out. Animations are adjusted, but keep in mind path animation events for these walls might be messed up.

optional
animFreq: number

The frequency for the animation baking (if using array of objects).

optional
animOptimizer = [UNSUPPORTED]

The optimizer for the animation baking (if using array of objects).