Terachor/tracks/example.gd

19 lines
414 B
GDScript3
Raw Normal View History

2024-08-27 21:11:45 +00:00
extends BaseTrack
func _init():
_default = {
"artist": "Kevin MacLeod",
"thumbnail": preload("res://thumbnails/example.bmp"),
"source": "https://incompetech.com/",
2024-08-27 21:28:21 +00:00
"disabled": true
2024-08-27 21:11:45 +00:00
}
_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