Cookbook Recipes

Copy-paste solutions organized by category.

Combat Systems

Recipe Description
Animated Movement Smooth entity movement with animations
Enemy AI Basic enemy behavior patterns
Melee Combat Close-range attack systems
Status Effects Buffs, debuffs, and conditions
Turn System Turn-based game flow

Visual Effects

Recipe Description
Color Pulse Pulsing tile highlights
Damage Flash Hit feedback effects
Floating Text Damage numbers and messages
Path Animation Animated movement paths
Scene Transitions Fade and slide transitions
Screen Shake Impact feedback

Grid Utilities

Recipe Description
Cell Highlighting Highlight tiles on hover/select
Dijkstra Maps Distance-based AI and effects
Dijkstra Heightmap Terrain cost visualization
Dungeon Generator Procedural room generation
Fog of War Visibility and exploration
Multi-Layer Grids Layered tile rendering

Procedural Generation

Recipe Description
Cellular Caves Cave generation with cellular automata
Wave Function Collapse Constraint-based generation

UI Patterns

Recipe Description
Alignment Centering and positioning
Health Bars HP and resource displays
Menus Button-based navigation
Message Log Scrolling text history
Modal Dialogs Popup confirmations
Tooltips Hover information

Looking for the main cookbook page with inline examples? See Cookbook Overview.