feat(scenes): data/scenes/game.yaml amb timings i corbes de transició
This commit is contained in:
1 parent
651db50a93
commit
368f9d2d6a
4 files changed
+117
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Configuració de la GameScene: timings i corbes de la FSM de sala
|
||||
# (ROOM_INTRO i ROOM_OUTRO). Tots els valors són ms i tota la geometria
|
||||
# i font del text es reutilitzen del tema UI (data/ui.yaml > pause +
|
||||
# notification). Si manca el fitxer o alguna clau, GameScene cau als
|
||||
# fallbacks compilats; veure `readSceneConfig` a game_scene.cpp.
|
||||
|
||||
room_intro:
|
||||
fade_in_ms: 500 # negre opac → món visible
|
||||
text_delay_ms: 500 # espera amb el món net abans de sortir el text
|
||||
text_enter_ms: 500 # text esquerra → centre
|
||||
text_hold_ms: 1000 # text quiet al centre
|
||||
text_exit_ms: 500 # text centre → fora per l'esquerra
|
||||
|
||||
room_outro:
|
||||
text_enter_ms: 500
|
||||
text_hold_ms: 1000
|
||||
text_exit_ms: 500
|
||||
fade_out_ms: 500 # món visible → negre opac
|
||||
|
||||
text:
|
||||
# Noms d'easing tal com els resol UiConfig::curveByName (vegeu
|
||||
# `data/ui.yaml`). El text entra suau i surt accelerant.
|
||||
enter_curve: outCubic
|
||||
exit_curve: inCubic
|
||||
Reference in new issue
Block a user