How isidorn/le-chaton-platformer works
Fat Cat Climb is a browser-based pixel platformer. The player controls a cat that jumps between generated platforms, collects stars, and earns score; falling ends the run, and the best score is persisted. The game loop and most gameplay/rendering responsibilities are concentrated in js/game.js, with optional sprite, sound, and particle-effect modules. The HTML and CSS are present in the tree but were not sampled, so their wiring and presentation details are not inferred.
Main entry points: game.js Game loop · art.js Pixel art assets · audio.js Sound effects · juice.js Particles and shake
Components 9
Gameplay
- Game loop
js/game.js - Platforms and collisions
js/game.js - Score and best
js/game.js
Presentation
- Canvas rendering
js/game.js - Pixel art assets
js/art.js
Game feedback
- Sound effects
js/audio.js - Particles and shake
js/juice.js
Other components
- Player
- Browser best-score storage
Connections 8
- Player → Game loop: provides input
js/game.js - Game loop → Platforms and collisions: updates and checks
js/game.js - Game loop → Score and best: updates score
js/game.js - Game loop → Canvas rendering: renders frame
js/game.js - Game loop → Browser best-score storage: reads and writes
js/game.js - Game loop → Sound effects: plays effects
js/game.js - Game loop → Particles and shake: triggers effects
js/game.js - Canvas rendering → Pixel art assets: uses sprites
js/game.js