Add several boards per level, CM1/CM2 levels and the CE1 'plage des sons' pilot board (0.6.0)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Denis Defolie
2026-10-12 11:05:00 +02:00
parent 0e48b1995e
commit d0380a76af
118 changed files with 2421 additions and 111 deletions
+5 -8
View File
@@ -1,13 +1,9 @@
extends Control
## Decor plein ecran derriere un ecran (illustration vectorielle provisoire,
## voir assets/CREDITS.md). "forest" pour le CE1, "marsh" pour le CE2.
## voir assets/CREDITS.md). Le decor est celui du « tableau » (BackdropKinds) ;
## un identifiant inconnu retombe sur la foret.
const TEXTURES := {
"forest": "res://assets/environments/forest_backdrop.svg",
"marsh": "res://assets/environments/marsh_backdrop.svg",
}
@export_enum("forest", "marsh") var kind: String = "forest":
@export var kind: String = "forest":
set(value):
kind = value
_apply()
@@ -21,4 +17,5 @@ func _ready() -> void:
func _apply() -> void:
if _picture != null:
_picture.texture = load(TEXTURES.get(kind, TEXTURES["forest"]))
var path: String = BackdropKinds.TEXTURES.get(kind, BackdropKinds.TEXTURES["forest"])
_picture.texture = load(path)