Re-create the iOS classic in Part 1 of this tutorial series.

Article by Richard Davey. Posted on 21st Oct 2015.   @phaser_

image

Fruit Ninja is a game where you have to cut fruits by swiping your cellphone screen while avoiding cutting bombs. In this tutorial, we will build a Fruit Ninja game using Phaser. To read this tutorial, it is important that you are familiar with the following concepts:

  • Javascript and object-oriented concepts.
  • Basic Phaser concepts, such as: states, sprites, groups and arcade physics

The following content will be covered in this tutorial:

  • Reading the whole level (assets, groups and prefabs) from a JSON file
  • Detect swipes in the screen and checking for collisions with game objects
  • Differently handle swipes according to the cut object

Read More