How to create a complete HTML5 “2048” game with Phaser

Article by Richard Davey. Posted on 4th Apr 2014.   @phaser_

Emanuele Feronato has created a new tutorial on ow to create 2048 using the Phaser framework.

"By studying this script you will learn these 10 principles:

  • Load graphic assets
  • Create Sprites
  • Create texts and assign them a style
  • Add and remove Sprites to the stage, both as standalone Sprites or as children of existing sprites
  • Create Groups
  • Sort and loop through groups
  • Handle keyboard input
  • Create animations using tweens
  • Manage callbacks
  • Apply color filters to Sprites"

image

See more