Bugz
Index
Contents
Functions
Classes
Player
Enemy
Rect
Vec2
Color
PlayerData
TexAsset
SfxAsset
Font
Camera
MusicData
MusicAsset
SpriteSheet
Sprite
MapObject
MapAsset
EnemyData
AreaData
Modules
tables
screen
os
entity
shop
level
ai
Topics
01-hooks
Class
MusicData
Stores music track data.
See also:
MusicAsset
Functions
MusicData.new (path, loop, force)
Creates a new music asset.
Functions
Methods
MusicData.new (path, loop, force)
Creates a new music asset.
Parameters:
path
string
The path of the music
loop
float
The loop point of the track
force
bool
True if the track should wait for the previous to finish.
Returns:
MusicData
The new music
generated by
LDoc 1.5.0
Last updated 2024-05-23 11:40:37