Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig ea0a95c4e5 Refactor Player entity to use sprite-based rendering with animations
- Replaced simple circle/rectangle graphics with a spritesheet-based player sprite.
- Added animation definitions for idle, walk, idle-gun, and walk-gun states.
- Implemented state tracking (`_isMoving`, `_isShooting`) to drive animation switching.
- Adjusted barrel position calculation to use `GUN_TIP_DIST` for bullet spawning.
- Updated invincibility tween and cleanup logic to target the new sprite object.
- Added sprite loading in GameScene preload phase.
2026-03-07 12:54:37 -07:00
Brian Fertig 8dc7762aba intial commit 2026-03-07 11:40:57 -07:00