View source
class ScrollSpeedEvent
package funkin.play.event
extends SongEvent
Available on all platforms
This class handles song events which change the scroll speed of the chart. This affects the speed at which the notes move towards the strums.
Example: Scroll speed change of both strums from 1x to 1.3x:
{
'e': 'ScrollSpeed',
"v": {
"scroll": "1.3",
"duration": "4",
"ease": "linear",
"strumline": "both",
"absolute": false
}
}Constructor
Methods
getEventSchema():SongEventSchema
{
'scroll': FLOAT, // Target scroll level.
'duration': FLOAT, // Duration in steps.
'ease': ENUM, // Easing function.
'easeDir': ENUM, // Easing function direction (In, Out, InOut).
'strumline': ENUM, // Which strumline to change
'absolute': BOOL, // True to set the scroll speed to the target level, false to set the scroll speed to (target level x base scroll speed)
}
Returns:
SongEventSchema