-
Notifications
You must be signed in to change notification settings - Fork 0
Context
Description
Provides various value channels for accessing gameplay state and chart properties.
Remarks
This class provides channels (not plain values) that can be used to drive animations or read dynamic state. Most properties return ValueChannel objects.
| Name | Type | Description |
|---|---|---|
dropRate |
ValueChannel | The current drop rate |
globalOffset |
ValueChannel | The global offset |
currentScore |
ValueChannel | The current score |
currentCombo |
ValueChannel | The current combo |
currentTiming |
ValueChannel | The current timing |
screenWidth |
ValueChannel | The screen's width in pixels |
screenHeight |
ValueChannel | The screen's height in pixels |
screenAspectRatio |
ValueChannel | The screen's width divided by height |
is16By9 |
ValueChannel | Whether the screen is 16:9 |
isMirrorOn |
ValueChannel | Whether mirror mode is on |
laneFrom |
ValueChannel | The starting lane (can be assigned to) |
laneTo |
ValueChannel | The ending lane (can be assigned to) |
Description
Returns a channel that evaluates to the BPM at any given timing.
Parameters
| Name | Type | Description |
|---|---|---|
timingGroup |
number | Timing group to calculate with |
Return types
Remarks
_
Description
Returns a channel that evaluates to the length of a beat (in ms) at any given timing.
Parameters
| Name | Type | Description |
|---|---|---|
timingGroup |
number | Timing group to calculate with |
Return types
Remarks
_
Description
Returns a channel that evaluates to the divisor at any given timing.
Parameters
| Name | Type | Description |
|---|---|---|
timingGroup |
number | Timing group to calculate with |
Return types
Remarks
_
Description
Returns a channel that evaluates to the floor position at any given timing.
Parameters
| Name | Type | Description |
|---|---|---|
timingGroup |
number | Timing group to calculate with |
Return types
Remarks
_
Global
- Global Functions
- Scene
- Channel
- StringChannel
- TextChannel
- Trigger
- TriggerChannel
- Context
- Event
- Convert
Channels
Controllers
- Controller
- CanvasController
- ImageController
- SpriteController
- TextController
- CameraController
- TrackController
- NoteGroupController
Internal Controllers
Data types