McRogueFace/tests/cookbook/apps/__init__.py
John McCardle 55f6ea9502 Add cookbook examples with updated callback signatures for #229, #230
Cookbook structure:
- lib/: Reusable component library (Button, StatBar, AnimationChain, etc.)
- primitives/: Demo apps for individual components
- features/: Demo apps for complex features (animation chaining, shaders)
- apps/: Complete mini-applications (calculator, dialogue system)
- automation/: Screenshot capture utilities

API signature updates applied:
- on_enter/on_exit/on_move callbacks now only receive (pos) per #230
- on_cell_enter/on_cell_exit callbacks only receive (cell_pos) per #230
- Animation chain library uses Timer-based sequencing (unaffected by #229)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 18:58:25 -05:00

15 lines
615 B
Python

# McRogueFace Cookbook - Mini-Application Demos
"""
Complete mini-applications demonstrating real-world patterns.
Applications:
calculator.py - Boss-key calculator with scene switching
dialogue_system.py - NPC dialogue with choices and mood
day_night_shadows.py - HeightMap shadow projection demo
remote_control.py - FOV + entity perspective switching
health_bar_hover.py - Hover-based health display
toast_demo.py - Notification system demo
banter_chat.py - Timed chat messages
loot_detector.py - Directional arrow compass
grid_puzzle.py - Interactive Sokoban-style puzzle
"""