18 lines
414 B
GDScript
18 lines
414 B
GDScript
extends BaseTrack
|
|
|
|
func _init():
|
|
_default = {
|
|
"artist": "Kevin MacLeod",
|
|
"thumbnail": preload("res://thumbnails/example.bmp"),
|
|
"source": "https://incompetech.com/",
|
|
"disabled": true
|
|
}
|
|
|
|
_tracks = [
|
|
{
|
|
"name": "Study and Relax",
|
|
"track": "res://music/example/Study and Relax.mp3"
|
|
}
|
|
]
|
|
|
|
# Each track can redifine things set in _default. The two get merged giving priority to things set in tracks
|