summaryrefslogtreecommitdiff
path: root/template/DIALOG_STATE_PATTERN.md
AgeCommit message (Collapse)Author
2025-11-05Add dialog state pattern documentation for game templatesIndrajith K L
Added comprehensive documentation for implementing Zelda-style dialog systems using the GameState push/pop stack pattern. Includes: - Complete working dialog state example with text animation - Integration guide for game states - Character portraits and name box support - Post-dialog callback handling via resume() - Visual diagrams of state stack behavior - Best practices for when to use push/pop vs flags This pattern allows developers to create professional dialog systems with proper input control and clean state management.