In part 2 of this series we add lives, game over, particles and special fruits.

Article by Richard Davey. Posted on 22nd Oct 2015.   @phaser_


In Part 1 of the Fruit Ninja tutorial we started creating a Fruit Ninja game. In our game we already have fruits and bombs, which we can cut. If you cut a fruit, you increase your score, which is shown in the screen. Otherwise, if you cut a bomb, you lose. In this tutorial we will the following content to our game, making it more fun to play:

  • Player lives, so the player has a number of bombs he can cut before losing
  • A game over screen, which will show the current score and the highest score so far (the highest score will be saved)
  • Particle effects when the player cut something, making it visibly more attractive
  • A special fruit, that stops when you cut it for the first time, allowing you to make more cuts in a row

Read More