Phaser Game Prototyping
Phaser Game Prototyping (The Book (only))
Minimum price
Suggested price
Phaser Game Prototyping

This book is 100% complete

Completed on 2018-11-16

About the Book

This workbook is the new edition 4 -- a hands-on tutorial guide for Game Prototype creations using Micro-services and component object programming with emphasis on Phaser v2.x.x and other JavaScript Gaming Frameworks. 

Phaser v2.x.x Game Prototyping is a hands-on guide for making browser games using Phaser's official, CE (community edition) JavaScript Game Framework. Master the important skills and techniques you need for Phaser using our unique component object programming. This book delves into many of the great classic game mechanisms and design mechanics techniques. All written in a fun and friendly style with completed projects and open-ended exercises that encourage you to build your own game projects. You'll also download supporting tools to classify the book’s snippets and add your own modification.


Phaser v2.x.x Game Prototyping Part I demonstrates basic game mechanisms and components from the Phaser JavaScript Game Framework using OLOO paradigm. It starts by showing you how you to build game mechanisms in both Phaser v2.x.x versions! By the end of Part I, you’ll have a complete, fully-functional Game Prototype and reusable components and the supporting tools to manage further game production. You’ll have a game character’s visual and meta descriptions, learned to control your avatar through the keyboard, mouse, or touch-screen interfaces, developed a game environment, created game scene migrations and then learned how to use collision detection within a standard game loops, built dynamic menu response system, to build an interactive game world. 


Phaser Game Prototyping Part II demonstrates how to connect all your new game prototypes and components into various game mechanics using the raw power of native JavaScript OLOO. What I show you will open the pathway to building a game within a month or even 7-days! This is not hipe; I eat my own dog food and have pushed game prototypes out for final artwork in 7 days. You’ll learn to make RPG maze games, code 6 different combat systems, develop heads-up displays (HUD) that are both internal to and outside of the Phaser canvas, apply 6 different artificial intelligence systems, create tiled-maps with the Phaser features, and other fast-paced actions that cover all the popular game perspective of 2D and 2.5D gaming. I'll reveal what I'm doing with Phaser and 3D games too. You’ll discover how to develop games and multi-level isometric scenes using existing features in Phaser v2.x.x. All these techniques and supporting source code are explained in an easy-to-understand manner for game designers to gain new skills or simply update their skills in version 2.x.x.

You’ll find detailed working examples on the book's website with dozens of illustrations and many concepts you can freely apply to your own gaming projects. All the source code annotations enhance the book’s explanation. 


What you’ll learn:

  • By the end of this workbook, you’ll have integrated into your own game designs:
  • Adopted processes for business project management and agile software development.
  • Organized a standard file structure for developing games in general;
  • Used a blank game template to scaffold further game projects;
  • Imported resources and game assets;
  • Displayed, animated and moved game avatars on various screen renderings;
  • Managed groups of game objects;
  • Deployed heads-up display (HUD) on game scenes both inside and outside the canvas;
  • Used customized web fonts;
  • Incorporated multiple game-inputs (touch, multi-touch, accelerometer, mouse, and keyboard);
  • Rendered several physics systems;
  • Included graphics effects (gfx) (particle systems, rotations, fades, shaders and more);
  • Created and managed game state-phases;
  • Managed permanent game assets across state-phases;
  • Optimized your game for various mobile devices;
  • Integrated 3rd-party scripts and services;
  • Deploy single-player games.
  • Web Sockets demystified for scalable massive online game deployments.

Who This Book Is For:

Students -- and professionals in -- game development with some experience in HTML5 and JavaScript who want to enhance -- or begin learning the essential techniques of -- Phaser v2 JavaScript skills. If you are interested in making browser games, especially for the mobile market, then Phaser Game Prototyping is a perfect choice.

About the Author

Stephen Gose
Stephen Gose

Avatar is an adorable cartoon sketch of my wife. 40th anniversary this Sept 1!

Steve is a certified Network Engineer (retired after 40 years) and currently as a full-time teaching faculty in software engineering at the University of Advancing Technology (Tempe, AZ). For the past 10 yrs, He has been a Cisco Certified Academy Instructor (CCAI).

Review my profile on

Personal website:

Book Support Site:

Game Showcase:

Game License:


The Book (only)

Special pre-release discounted price. DOES NOT INCLUDE BONUS CONTENT. 507+ pages, Game Prototype guide (only).


  • extras
    Free Affiliate Guide

    Learn how to use this document and leverage revenues in our Gaming Community.

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

Minimum price
Suggested price
The Book with Bonus Content

515+ page, Game Prototyping guide focused on Phaser JavaScript Framework in standard JavaScript and ES6, Phaser versions 2.x.x and 3.x. Bonus! Content: Free Affiliate Guide, 300+ page bonus content (1,508 resource files; 310+MB (uncompressed)). Total of 815+ pages! All chapters with complete source code available on the supporting book's website Bonus Content: 232 MB (20171216 - zipped)


  • extras
    Free Affiliate Guide

    Learn how to use this document and leverage revenues in our Gaming Community.

  • extras
    Book 2D Rooms Creation (66 files; 17.2 MB)

    Following the book examples of generating Room Movement table with 2D arrays. (66 files; 17.2 MB

  • extras
    Book Artificial Intelligence (73 files; 3.91 MB)

    A*Star path finding for Phaser.

  • extras
    Book Back-end server-side middleware for ARRA (91 files; 1.94 MB)

    Two website back-ends to support ARRA games in ASP and PHP (91 files; 1.94 MB)

  • extras
    Book Bonus Games Source Code (416 files; 58 MB on disk)

    The book describes several games beyond ARRA rv_8 and rv_15. Here is the collection of software code for those bonus games. (416 files; 58 MB on disk). Life-Time licenses included a value of $180.

  • extras
    FREE Amazon Rule Book (2 files; 3.35 MB)

    Legends of Renown Deeds rule book (Amazon edition - $2.99) - an active online RPG since 1993!

  • extras
    Book Labyrinth Generators Source Code (32 files; 4.02 MB)

    various methods to generate dynamic mazes in JavaScript, C/C++, and Java. Content includes a rare and hard to find a document of Jamis Buck.

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

Minimum price
Suggested price

Reader Testimonials

Melody Romero
Melody Romero

International Children Games

I bought your book Phaser Game Prototyping. I loved it, I even managed to understand how javascript worked thanks to his explanation. With some university colleagues, we want to develop games to include children with specific learning difficulties starting in Chile. Thank you very much for your work Melody Romero Desarrollador de software en Imagoos Chile

Table of Contents

    • Distribution Permission
      • Viewing this e-Book
    • Disclaimer
    • Forwards
    • About this Workbook:
    • Workbook Content:
    • Our References:
    • Book formatting:
    • Who This Book Is For:
      • Tweet This Book!
    • Your newly obtained skills…
    • Bonus Content (4th Edition)
      • Table of Contents
    • Game Design System™ Recipes:
  • Part I - Concept & Design
    • 1 Game Studio & Project Setups
      • 1.1 Workstation Setup
      • 1.2 Project Setup
      • 1.3 Game Project Preparations
      • 1.4 Preparing a “Game Recipe™”
      • 1.5 Game Recipe™ Summarized:
      • 1.6 Summary
      • 1.7 Chapter References:
    • 2 Building a Game Launch Pad
      • 2.1 Example: Box Graphics Prototypes
      • 2.2 Creating Prototype Mechanisms — 4-Step method
      • 2.3 Game Recipe™ Step #1) the Front-Door
      • 2.4 Task #2: Launching a Game
      • 2.5 Summary
      • 2.6 Chapter References:
    • 3 Building Game Phases, States & Roses.
      • 3.1 Step #1 of 4) Generate a game phase
      • 3.2 Bare Bones Prototypes
      • 3.3 Deeper Dive: “Phaser Essential Functions”
      • 3.4 Game Phase Prototypes
      • 3.5 Game Phases as Modules
      • 3.6 Summary
      • 3.7 Chapter References:
    • 4 Building Game Prototypes, Mechanisms & Tools
      • 4.1 Task #3: Mini-Me
      • 4.2 Task #4: Moving Game Elements
      • 4.3 Task #5: Things that go bump …
      • 4.4 Task #6: When Worlds Collide …
      • 4.5 Task #7: It’s curtains for you …
      • 4.6 Other Game Mechanism Categories
      • 4.7 The Finish Line: You’re AWESOME … Gloat, Gloat …
      • 4.8 Game Recipe™ Automation Tool
      • 4.9 Chapter Source Code & Demo
      • 4.10 Summary
      • 4.11 Chapter References
  • Part II - Mechanisms into Mechanics
    • 5 Game Mechanics & Systems
      • 5.1 Game-Play vs Game Mechanics vs Game Mechanism
      • 5.2 Game Mechanics (GM)
      • 5.3 Phaser v2.x.x API into Game Mechanics (GM)
      • 5.4 Game Design System™
      • 5.5 Game Genres
      • 5.6 Summary
    • 6 Dem’s fightin’ words
      • 6.1 Dynamic Combat Menus
      • 6.2 So, Give Me Some Space …
      • 6.3 OO!, OW! AH!, OW! Stayin’ alive! Stayin’ alive!
      • 6.4 Tactical Tiled-Maps
      • 6.5 Rules of Engagement: Take 5 paces, turn and …
      • 6.6 “Where’s the beef?”
      • 6.7 Story narrative
      • 6.8 Frisking, Fondling or Groping
      • 6.9 Chapter Source Code
      • 6.10 Complete Combat Prototypes
      • 6.11 Summary
      • 6.12 Footnotes
    • 7 Whazzz-sUP! …. HUD Development
      • 7.1 HUD Housing Development
      • 7.2 HUD as Panels
      • 7.3 HUD Panels outside the Canvas?!?
      • 7.4 Play HUD Demo Here
      • 7.5 Summary
      • 7.6 Footnotes
    • 8 Don’t make me think or “Artificial Intelligence for Dummies”
      • 8.1 The “6 of 9”
      • 8.2 Chasing
      • 8.3 Evading
      • 8.4 Patterns
      • 8.5 Fuzzy logic
      • 8.6 Finite State Machines (FSM)
      • 8.7 Recursive World Feedback
      • 8.8 Complete AI Prototypes
      • 8.9 Chapter Source Code
      • 8.10 Summary
      • 8.11 Footnotes
    • 9 Common Pitfalls
      • 9.1 Lacking Debugging Tools?
      • 9.2 Same “Name-spaces”
      • 9.3 Callbacks
      • 9.4 Missing Documentation
  • Part III - Next Step … Distribution!
    • 10 Distribution Preparation
      • 10.1 Development vs. Production
      • 10.2 Create A Game Pipeline
      • 10.3 Preparing for Mobile Deployment
      • 10.4 Chapter References:
    • 11 Marketing Channels Deployment
      • 11.1 Channel Selection
      • 11.2 Channel Preparations
      • 11.3 Chapter Reference
  • Part IV - Project Walk-through
    • 12 Making your first platform game
    • 13 Phaser Game Design Course - Break Out!
    • 14 Blood Pit and Blood Pit II
    • 15 Phaser v2.x.x Game Prototype Library
    • 16 No Cluedo? No “Clue”? Want some?
      • 16.1 Bonus Clue-style Game: Kiko Escapes!
      • 16.2 Kiko Escapes - About the Game
      • 16.3 How to play -
    • 17 Ruins of Able-Wyvern™
      • 17.1 Source Code is here (online)
      • 17.2 Online Live and Book Demonstrations:
    • 18 Ruins of Able-Wyvern (rv_8)
      • 18.1 Tile-Maps are Dead! Long live … Say what?
      • 18.2 Separation of Concerns
      • 18.3 Cataloging the Game World
      • 18.4 Trickle Down - Wealth distribution
      • 18.5 Population Control
      • 18.6 Complete Movement Tables
      • 18.7 Chapter Source Code
      • 18.8 Summary
      • 18.9 Footnotes
    • 19 Ruins of Able-Wyvern (2.5D)
      • 19.1 … just another Pretty Face?
      • 19.2 Exhale; Inhale; … out with the old, in with the new.
      • 19.3 Summary
    • 20 ARRA: The Campaign
      • 20.1 As above, so below … Multi-level Gaming!
      • 20.2 An so the journey begins …
      • 20.3 Chapter Source Code is here
      • 20.4 Chapter Demo
      • 20.5 Summary
  • Appendix:
      • Table of Content
    • How to create an HTML5 web page
      • References:
      • Workstation Preparations #1
    • Appendix: Coding Styles
      • Encoding Styles Of Mice & Men
      • How does classical OOP work?
      • How does OOP work in JavaScript?
      • JavaScript Coding Styles Examples:
      • Phaser Coding Style debated
      • References:
    • Appendix: Game Design Overview
    • Artwork Research
      • Online Tools
      • Prefabricated Art
      • Where to recruit artists?
      • Audio, Graphics, Sounds and Music
    • Further Reading
      • Capturing Your Ideas
      • Game Business Development & References:
    • Game Components
      • Maze samples
      • Labyrinth Algorithm References
      • JavaScript & HTML
      • Microsoft Office Excel Maze
      • Storage
      • Structured Data
      • Wolfenstein source code
    • Game Construction Tools
      • AutoRealm
      • Booty5 Game Engine and Editor
      • CodeIgniter & Phaser Integrated CMS
      • Deadly Alien Map Editor (DAME)
      • Mappy Application
      • Tile Application
    • Game Design References:
    • Game Programming References:
      • Copyright Resources
      • CSS
      • Development Tools
      • DNS prefetching
      • HTML5
      • JavaScript
      • Ludology
      • Tutorials
    • Marketing Ad Resources Appendix
    • Mobile Distribution Channels (comprehensive)
    • Game Publishers (comprehensive listing)
    • Web site reference:
    • Appendix: Phaser v2.x.x Plugins
      • EasyStar an A* library & Phaser Path-finding Plugin
      • Phaser Check-boxes plugin
      • Phaser Dragon Bones plugin.
      • Phaser Grid Physics plugin (beta)
      • Phaser HudManager Plugin
      • Phaser Inspector plug-in
      • Phaser Isometric plug-in
      • Nadion
      • Phaser Nine-Slice plug-in
      • Phaser Plugin
      • Redux
      • Phaser SlickUI plug-in (public domain)
      • Phaser Tiled plug-in
      • Phaser UI (TypeScript) plug-in
      • Phaser UI Manager
      • Phaser Web-Workers
      • Zebra (zebKit)
      • Raiper34 Awesome phaser2 plugin list
  • Notes

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub