Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig e9cb2a939d feat: Implement jewel selection and swapping mechanics with visual feedback
- Increased starting rows from 2 to 5 for larger initial grid
- Added selectedJewel and swapWithJewel properties for tracking selections
- Enhanced world bounds to provide better collision detection area
- Implemented click handling for jewels with selection/deselection logic
- Added adjacent jewel checking and swapping functionality with animations
- Included visual feedback through scaling tweens when selecting jewels
- Implemented isSwapping flag to prevent concurrent interactions during swaps
- Disabled interactivity during swap animations and re-enabled afterward
- Removed gravity from arcade physics for puzzle game behavior

The changes implement core gameplay mechanics for a match-three style puzzle game where players can select jewels, check adjacency, and swap positions with visual feedback.
2025-08-23 13:44:24 -06:00
Brian Fertig 31c7eaefb6 first commit 2025-08-23 12:49:48 -06:00