Flopsy/scenes/levels/level.gd

16 lines
467 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-18 12:58:38 +02:00
export var camera_limit_left : int = 0
export var camera_limit_right : int = 10000000
export var camera_limit_top : int = -10000000
export var camera_limit_bottom : int = 1080
2022-07-17 14:24:15 +02:00
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)