18 lines
395 B
GDScript3
18 lines
395 B
GDScript3
|
extends BaseTrack
|
||
|
|
||
|
func _init():
|
||
|
_default = {
|
||
|
"artist": "Kevin MacLeod",
|
||
|
"thumbnail": preload("res://thumbnails/example.bmp"),
|
||
|
"source": "https://incompetech.com/",
|
||
|
}
|
||
|
|
||
|
_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
|