Commit graph

2 commits

Author SHA1 Message Date
fc24028ed9 Refactor to ES6 classes with GameObject inheritance pattern
- Convert from function-based to class-based architecture
- Create GameObject base class with common functionality (position, collision, scene management)
- Implement Player, Coin, and Obstacle classes extending GameObject
- Add Game class to manage game lifecycle and state
- Fix shadow rendering by configuring directional light shadow camera bounds
- Fix player collision to prevent sinking below ground (horizontal push only)
- Improve code organization and maintainability with OOP principles
2025-11-25 14:32:48 -05:00
0bf4afd499 initial commit 2025-11-25 14:21:59 -05:00