Coderblock

Game Templates

2D Platform Game Template

A classic 2D platformer built with Phaser 3 and React. The full game loop is in place: platforming mechanics, coin collection, enemies with patrol AI, power-ups, level progression and score tracking with a persistent high score, all controlled via WASD or arrow keys on a responsive canvas. Generate it on Coderblock and design your own levels and characters in chat.

  • 2D platforming mechanics powered by Phaser 3
  • Coin collection and score tracking with high score
  • Enemy AI with patrol behavior
  • Power-up system
  • Level progression across stages
  • Keyboard controls (WASD/arrows) on a responsive canvas

More templates in this category →