In the second part of this series you create a Trainer and different species of Pokemon.

Article by Richard Davey. Posted on 14th Oct 2016.   @photonstorm

image

From GameDev Academy: "In the last tutorial we created the basic Phaser states for our game. Now, we are going to add the Trainer in the WorldState, and change our game to regularly spawn Pokemon. The following topics will be covered in this tutorial:

In this first tutorial I will cover the following content:

  • Creating a Trainer prefab to walk around the World
  • Creating a prefab to regularly spawn Pokemon in the World
  • Adding different species of Pokemon with different probabilities
  • Saving the Pokemon caught by the trainer, which are shown in its Pokedex"

Read More