feat(audio): add instrumental lounge loop and refresh Brie
Local-only v0.7.0 build. Adds a 60-second instrumental Stable Audio 3 loop with a Settings toggle and save version 5, regenerates Brie with small dark eyes and matching gouache style, and updates QA. Not pushed or published.
This commit is contained in:
1 parent
5dec96e69e
commit
5c00b35e90
16 files changed
+379
-24
No files matched your search
+8
-4
@@ -14,6 +14,7 @@ const DEFAULTS := {
|
||||
"reduce_motion": false,
|
||||
"hold_seconds": 0.35,
|
||||
"double_tap_place": true,
|
||||
"music": true,
|
||||
}
|
||||
|
||||
var data := {}
|
||||
@@ -34,7 +35,7 @@ func _default_daily() -> Dictionary:
|
||||
|
||||
func _default_data() -> Dictionary:
|
||||
return {
|
||||
"version": 4,
|
||||
"version": 5,
|
||||
"completed_rooms": [],
|
||||
"unlocked_guests": [],
|
||||
"settings": DEFAULTS.duplicate(true),
|
||||
@@ -47,7 +48,7 @@ func _default_data() -> Dictionary:
|
||||
|
||||
func load_game() -> void:
|
||||
data = _default_data()
|
||||
var stored_version := 4
|
||||
var stored_version := 5
|
||||
|
||||
if FileAccess.file_exists(PATH):
|
||||
var file := FileAccess.open(PATH, FileAccess.READ)
|
||||
@@ -81,7 +82,8 @@ func load_game() -> void:
|
||||
|
||||
var migrated := false
|
||||
# Version 2 made double-tap the default; version 3 added daily streaks
|
||||
# and profile frames; version 4 added avatars and streak history.
|
||||
# and profile frames; version 4 added avatars and streak history;
|
||||
# version 5 added the music setting.
|
||||
if stored_version < 2:
|
||||
data["settings"]["double_tap_place"] = true
|
||||
migrated = true
|
||||
@@ -89,6 +91,8 @@ func load_game() -> void:
|
||||
migrated = true
|
||||
if stored_version < 4:
|
||||
migrated = true
|
||||
if stored_version < 5:
|
||||
migrated = true
|
||||
|
||||
if typeof(data.get("completed_rooms")) != TYPE_ARRAY:
|
||||
data["completed_rooms"] = []
|
||||
@@ -96,7 +100,7 @@ func load_game() -> void:
|
||||
data["unlocked_guests"] = []
|
||||
|
||||
if migrated:
|
||||
data["version"] = 4
|
||||
data["version"] = 5
|
||||
save_game()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user