73 lines
1.7 KiB
Markdown
73 lines
1.7 KiB
Markdown
<!-- file: history/0.1.0/1-alpha.2.fix.5.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Historique 0.1.0-1-alpha.2.fix.5
|
|
|
|
## Statut
|
|
|
|
Validé par l'utilisateur le 2026-09-17.
|
|
|
|
## Gates Rust
|
|
|
|
- audits Rust/workspace propres ;
|
|
- audit Markdown propre ;
|
|
- `cargo check --workspace` propre ;
|
|
- Clippy workspace strict propre ;
|
|
- `game-logging-lib` : test d'intégration propre ;
|
|
- `game-reflex-poc` : 4/4 tests ;
|
|
- `game-reflex-poc-wasm` : crate testable propre.
|
|
|
|
## WebAssembly
|
|
|
|
`scripts/build_reflex_tauri_wasm.py` compile la crate dédiée `game-reflex-poc-wasm` en `wasm32-unknown-unknown` puis génère les bindings `wasm-bindgen` dans le frontend Tauri.
|
|
|
|
Le gameplay Reflex reste porté par `game-reflex-poc`.
|
|
|
|
## Tauri / Vite / TypeScript
|
|
|
|
Le smoke utilisateur a confirmé :
|
|
|
|
- démarrage du runtime Tauri ;
|
|
- initialisation du tracing frontend ;
|
|
- frontend ready ;
|
|
- frontend démarré ;
|
|
- rendu Reflex fonctionnel.
|
|
|
|
## Logging
|
|
|
|
Les événements Rust et frontend sont visibles dans le terminal via le subscriber partagé de `game-logging-lib`.
|
|
|
|
Événements observés :
|
|
|
|
```text
|
|
Starting Reflex Tauri runtime
|
|
Reflex Tauri frontend tracing initialized
|
|
Reflex Tauri frontend ready
|
|
Reflex Tauri frontend started
|
|
```
|
|
|
|
## Sortie Escape
|
|
|
|
Le smoke utilisateur a confirmé la chaîne :
|
|
|
|
```text
|
|
Escape
|
|
-> ReflexWasmGame::quit_requested_escape()
|
|
-> EngineGame::quit_requested(QuitSource::Escape)
|
|
-> QuitDecision::Exit
|
|
-> close_main_window
|
|
```
|
|
|
|
Les événements observés confirment la décision de sortie puis la fermeture native acceptée.
|
|
|
|
## Conclusion
|
|
|
|
`1-alpha.2` valide la coexistence de deux runners Desktop consommant le même gameplay :
|
|
|
|
```text
|
|
SDL3 natif
|
|
Tauri + WebView + WASM + Vite/TypeScript
|
|
```
|
|
|
|
La phase alpha est terminée.
|