Pierre Wessman 999003b012 Add player fall mechanic after successful tackles
When a player is successfully tackled, they now experience a realistic fall animation:
- Immediately decelerate to 0 velocity
- Stay down for 500ms (configurable via TACKLE_FALL_DURATION)
- Resume normal movement after recovery period

Changes:
- Added TACKLE_FALL_DURATION constant (500ms)
- Added fall state tracking to Player class (isFallen, fallRecoveryTime)
- Implemented fall() method to trigger the fall state
- Updated update() to handle fallen state and prevent movement during recovery
- Modified executeTackle() to call fall() instead of just reducing velocity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 11:14:53 +02:00
2025-10-01 13:57:42 +00:00
2025-10-02 08:06:08 +02:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 11:46:38 +00:00
2025-10-02 08:06:08 +02:00
...
2025-10-02 08:11:21 +02:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
Description
No description provided
344 KiB
Languages
TypeScript 99.2%
HTML 0.8%