Skip to content

Context

Tempestissiman edited this page Jul 26, 2022 · 1 revision

Descriptions

Provides various information.

Remarks

This class is shared with macros, which is why some properties doesn't seem useful.

Properties


Name Type Description
offset number The offset of the current chart
timingPointDensityFactor number The timing point density factor
beatlineDensity number The beatline density value of the editor
language string Currently used language settings
baseBpm number The base bpm value of the editor
songLength number The song's length
maxCombo number The max combo of the chart
title string The title of the song
composer string The composer of the song
charter string The charter of the chart
difficulty string The difficulty text of the chart
difficultyIndex string The difficulty type of the chart (0=past, 1=present...)
isLight boolean If the skin is light sided
currentArcColor number Currently active arc color of the editor
maxArcColor number The maximum possible arc color
allArcTypes Table of string List of all arc types (b, s, si,...)
currentArcType string Currently active arc type of the editor
currentIsVoidMode boolean Currently active arc type of the editor
currentTimingGroup number Currently active timing group of the editor
timingGroupCount number Number of timing groups in the chart
screenWidth number The screen's width in pixel
screenHeight number The screen's height in pixel
screenAspectRatio number The screen's width divided by height
is16By9 boolean Whether the editor is running in 16 by 9 or 4 by 3 aspect ratio
screenMiddle XY The middle point of the screen
availableFonts Table of string List all fonts that can be used in TextController

Methods


beatLengthAt(timing, timingGroup = 0)

Descriptions

The length (in miliseconds) of a beat calculated at the specified timing.

Parameters

Name Type Description
timing number Timing point to calculate at
timingGroup number Timing group to calculate with

Return types

number

Remarks

_


bpmAt(timing, timingGroup = 0)

Descriptions

The bpm value calculated at the specified timing.

Parameters

Name Type Description
timing number Timing point to calculate at
timingGroup number Timing group to calculate with

Return types

number

Remarks

_


divisorAt(timing, timingGroup = 0)

Descriptions

The divisor value calculated at the specified timing.

Parameters

Name Type Description
timing number Timing point to calculate at
timingGroup number Timing group to calculate with

Return types

number

Remarks

_

Clone this wiki locally