Files
DungeonCrawlerWorld/README.md

28 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Dungeon Crawler World — S1 Walking Skeleton
## Prerequisites
Godot 4.2+ (verified with Godot 4.5) is required. GUT **9.5.0** is vendored and pinned at `addons/gut`.
## Run
```bash
"${GODOT_BIN:-$(command -v godot4 || command -v godot)}" --path .
```
Use WASD / arrow keys (and QEZC diagonals). The deterministic public E2E seam is `Game.submit_test_action(Vector2i)`; it calls the same action processor as keyboard input.
## Tests
```bash
GODOT_BIN=/snap/bin/godot4 ./scripts/test-unit.sh
GODOT_BIN=/snap/bin/godot4 ./scripts/test-e2e.sh
GODOT_BIN=/snap/bin/godot4 ./scripts/verify.sh
```
Scripts use `GODOT_BIN`, otherwise discover `godot4`, then `godot`, and run headlessly.
## Correctif et revue
- La FOV est désormais calculée contre la carte : les murs et portes fermées restent visibles mais masquent les cases situées derrière eux.
- Le positionnement des vues d’acteurs est aligné sur l’origine des tuiles.
- Les chemins d’entrée clavier et de test E2E sont vérifiés sur le même traitement d’action ; la réponse `enemy_moved` est couverte.
- Vérification effectuée : `./scripts/test-unit.sh` (7/7), `./scripts/test-e2e.sh` (2/2) et `./scripts/verify.sh` (unitaires 7/7, E2E 2/2).
## Limits
This slice deliberately provides one compact map, one deterministic goblin, direct pursuit, no persistence, inventory, audio, or animation.