Create an HTML5 game like “Drop Wizard” with Phaser – patrolling enemies

Posted on 5th Mar 2015. Follow @phaser_ and get the Phaser World newsletter.

"Now it’s time to add enemies to the game, and such enemies must be able to patrol the platform they are placed on. Enemies too will be created as an extension to Sprite class, so the only difficult thing will be making them move on their platform without falling down."

image

Read the full tutorial

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now
$19