View source
class SetCameraBopSongEvent
package funkin.play.event
extends SongEvent
Available on all platforms
This class handles song events which change how the camera bops to the beat of the song.
Example: Bop the camera twice as hard, once per beat (rather than once every four beats).
{
'e': 'SetCameraBop',
'v': {
'intensity': 2.0,
'rate': 1,
}
}
Example: Reset the camera bop to default values.
{
'e': 'SetCameraBop',
'v': {}
}Constructor
Methods
getEventSchema():SongEventSchema
{
'intensity': FLOAT, // Zoom amount
'rate': INT, // Zoom rate (beats/zoom)
}Returns:
SongEventSchema