Improve settings theme and add intro scroller

This commit is contained in:
2024-05-13 18:33:42 +01:00
parent 4239e9626f
commit 11539a2a42
13 changed files with 298 additions and 45 deletions

View File

@@ -64,8 +64,9 @@ func load_from_file(filename : String) -> void:
func load_from_data(data : Dictionary) -> void:
purge_bricks()
level_data = data
Background.texture = Global.Backgrounds.get(level_data.background, null)
Background.modulate = Color("#%s" % level_data.get("tint", "FFFFFF"))
if not Engine.is_editor_hint():
Background.texture = Global.Backgrounds.get(level_data.background, null)
Background.modulate = Color("#%s" % level_data.get("tint", "FFFFFF"))
for y in level_data.data.size():
var line : String = level_data.data[y]
for x in line.length():