Flopsy/scenes/levels/level.gd

12 lines
291 B
GDScript3
Raw Normal View History

2022-07-17 14:24:15 +02:00
extends Node2D
export(String, FILE, "*.ogg") var bgm_path
export(bool) var hud_visible = true
2022-07-17 17:08:39 +02:00
export var hud_color : Color = Color("000000")
2022-07-17 14:24:15 +02:00
export var clear_color : Color = Color("cfeffc")
2022-07-17 17:08:39 +02:00
onready var main = get_parent()
2022-07-17 14:24:15 +02:00
func _ready():
VisualServer.set_default_clear_color(clear_color)