Phaser III Game Starter Kit Collection
Phaser III Game Starter Kit Collection (The Book (bonus content, and Game Develop Course Certification included))
$49.89
Minimum price
$127.39
Suggested price
Phaser III Game Starter Kit Collection

This book is 91% complete

Last updated on 2020-02-20

About the Book

Start your own Game Studio!

  • 24 General Game Licenses are included in this book - a savings of $1,440 if purchased separately!

Phaser III Game Starter Kit Collection (5th Edition) is a hands-on guide for making browser games using Phaser versions 3.16+ Gaming Frameworks. This book is an entire collection of single chapters available from Amazon. It delves into the greatest classical game mechanics -- 10+ popular game mechanics and 19 sub-genres (for a total of 29!) with development techniques. All written in a fun and friendly style with completed projects and open-ended exercises that encourage you to build and to include your own game assets and features. You’ll also download supporting tools to classify the book’s snippets and add your own modification. Phaser Game Starter Kit Collection (a sister volume to this one) is similar to this book's Part II but all the tutorials in that volume are written in Phaser v2.x.x in a separate volume.

 

Phaser III Game Starter Kit Collection contains several sections. It starts with

  • Part I, an Introduction into game perspective, modes, genres, workstation set-up, and generation tools.
  • Part II demonstrates basic game mechanisms using Phaser. Each chapter is a separate game mechanic for Phaser III in this volume! This is a reference book; simply turn to the chapter of the game you'd like to create. In a matter of hours, you will have a working game prototype for that game mechanics using the Game Design System™ -- fully explained in the Phaser III Game Design workbook (new 5th edition). You then add your own artwork and any additional game features; then over the next few days, you'll have your own completed game ready to deploy in the "apps" stores. You might consider this a joint effort: I am your game programmer and you are the game designer, artist, and marketer.
  • Part III is a massive collection of 59+ Flash ActionScript games just waiting for you to transpile into Phaser III. There's also a chapter on converting older Phaser v2.x.x into Phaser III!
  • Part IV is an excerpt from Making Massive Multiplayer Gaming Systems; it holds all the starter kits essentials for multiplayer games using web sockets.
  • Part V introduces Simulations! take your programming skills to the next level in developing Financial Simulations.

You’ll find detailed working examples, 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. 

If you prefer, you can buy individual chapters - sold separately on LeanPub.com or Amazon.com

 

What you’ll learn:

By the end of this workbook, you’ll have integrated into your own bespoke game designs:

  • Step-by-step methods concerning older Phaser v2.x.x into vIII.21+ conversions.  
  • Built "future-proof" and flexible game architecture.  
  • Used the Game Design System™ which creates Game Recipes™. from automated tools.  
  • Adopted processes for business project management and agile software development.  
  • Organized a standardized file structure for general game developments;  
  • Used a blank game template to scaffold further game projects;  
  • Converted and adopted new upcoming changes in Phaser III API.  
  • Managed groups and layers of game objects with Phaser III;  
  • Imported resources and game assets;  
  • Displayed, animated and moved game avatars on various screen renderings;  
  • Managed groups of game objects;  
  • Incorporated sound effects (sfx) and theme music across various game scenes;  
  • 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;  
  • Incorporated sound and graphics effects (sfx, gfx);  
  • Created and managed various game phase deployments (CMS, SPWA, & PWA);  
  • Managed permanent game assets across game phases and scenes;  
  • Optimized your games for various mobile devices;  
  • Integrated several 3rd-party scripts and services.  

Who This Book Is For:

Students of -- and professionals in -- "game art and animations" with some experience in HTML5 and JavaScript who want to enhance -- or begin learning the essential techniques of game programming skills in Phaser's III JavaScript Gaming Framework. If you are interested in making browser games, especially for the mobile market, then Phaser III Game Starter Kit Collection is a perfect choice.

Bonus Content:

About the Author

Stephen Gose
Stephen Gose

Avatar is an adorable cartoon sketch of my wife. 41st anniversary this Sept 1!

Steve is a Licensed Minister since 1972; certified Network Engineer (retired after 40 years) and currently as a full-time teaching faculty in software engineering and network cyber-security as Professor Emeritus for the past 14 yrs. Since 2002, He has been a Cisco Certified Academy Instructor (CCAI).

Review my profile on LinkedIn.com:  https://www.linkedin.com/in/stephen-gose-71ba853b/

Personal website:  http://www.Stephen-Gose.com./

Kingdom of Heaven: http://kingdomofgodprinciples.com/

Game Support Site: http://makingbrowsergames.com/

Game Showcase: http://www.renown-games.com

Purchase Game source code and License: http://shop.pbmcube.net/

Table of Contents

  •  
    • Distribution Permission
      • Viewing this eBook:
    • Disclaimer
    • Forwards
    • About this Workbook
      • Disclosures
    • Workbook Content
    • How to Read & Use this workbook:
    • Book formatting:
    • Who should use this workbook?
    • Your newly obtained skills…
    • Bonus Content
    • Game Design System™ Recipes:
    • Our References:
      • Tweet This Book!
  • The Game Design System™
    • 1 Introduction
      • 1.1 Game Component Perspectives
      • 1.2 Game Delivery Modes
        • Game Mode - Single-Player Flowchart
        • Game Mode - Multi-Player Flowchart
      • 1.3 Game Genres
        • Action Games
        • Adventure Games
        • Casino Games
        • Educational Games
        • Fighting Games
        • Platform Games
        • Puzzle Games
        • Racing Games
        • Rhythm / Music Game
        • Role-Playing Games (RPG)
        • Shooter Games
        • Simulations
        • Sports Games
        • Strategy Games
        • Tower Defense™ — USPTO awarded to COM2US
      • 1.4 Mind The Gap!
      • 1.5 Game Tools & Generators
      • 1.6 Standard Project Setup
        • Standardized File Structure
      • 1.7 Game Recipe™
        • Development:
        • Design:
        • Encoding:
      • 1.8 Creating Prototype Mechanisms — “4-step method”
        • Standard Game Index Page (formal method)
        • Mobile Apps: Game.js (aka Main.js)
      • 1.9 Game Shell and Logic Flow
        • Network Impact
        • Gamer’s Local Activity
        • Generic Main.js
        • Generic Boot.js
        • Generic Preload.js
        • Generic Splash.js or Language.js
        • Generic Menu.js
        • Sample CMS page — Credits.js
        • Play.js
        • Inside each Game Phase
      • 1.10 Plug-in Enhancements
      • 1.11 Introduction References
  • Part II - Game Mechanics
    • 2 Action-Arcade Game Mechanics
      • 2.1 Reference From
      • 2.2 Overview
      • 2.3 Our Goal
      • 2.4 Game Mechanics
        • Historical background
      • 2.5 Game Examples
        • Official Phaser v3.21+ Examples
      • 2.6 Game Recipe™ Featured Ingredients
      • 2.7 Starting an Action-Arcade Game Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 2.8 Action-Arcade — Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 2.9 Action-Arcade Core Mechanics
      • 2.10 Design Considerations
        • Gameboard Development
        • Right- or Left-handed?
        • Cursor Keys: Timing vs. Movement
      • 2.11 Rhythm Game Logic & Supporting Functions
        • Play.js
      • 2.12 Rhythm Core Game Mechanics
        • Step 3. Create your core game logic & supporting functions.
      • 2.13 Stage 1 - Seek, Find & Record
      • 2.14 Stage 2 - Phaser “v2 to v3” Conversion Guide
        • Visual Changes
        • Deeper Dive: Multi-Player version
        • General Changes
        • constants.js Conversion
        • “hud.js” & “billboard.js” Conversions
        • “banjostring.js” Conversions
      • 2.15 Game Design System™ (Stage 3)
      • 2.16 Conclusion
    • 3 Adventure & RPG Game Mechanics
      • 3.1 Reference From:
      • 3.2 Overview
      • 3.3 Our Goal
      • 3.4 Game Mechanics
        • Historical background?
        • Game Genre Components
        • “13 Rogue likeness Factors”
      • 3.5 Game Examples
      • 3.6 Game Recipe & Starter Kit Features
      • 3.7 Starting the Adventures & Mazes for RPGs project
        • Step 0: Review Game Demonstrations:
        • Step 1. Create your standard index file.
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 3.8 Adventures & Mazes Core Functions
        • Story Plot Generation
        • Story Generation Tools
        • Labyrinth Generation Methods
        • Fixed Generation
        • Fixed Generation with dynamic content
        • Pure Linear labyrinths
        • Rules for Creating the Perfect Maze
        • Depth-First Search (DFS)
        • Open-path Worlds
      • 3.9 Conclusion
    • 4 Collapsing Blocks Games Mechanics
      • 4.1 Reference From:
      • 4.2 Overview
      • 4.3 Our Goal
      • 4.4 Game Mechanics
        • Historical background
        • Game Components
      • 4.5 Game Examples
      • 4.6 Game Recipe™ Featured Ingredients
      • 4.7 Starting the Collapsing Blocks project
        • Step 0: Review your competition and game demonstrations:
        • Step 1. Create your Standard “index” file.
      • 4.8 Collapsing Blocks Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js (or Game.js)
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 4.9 Collapsing Blocks Game Mechanics Component
        • Step 3. Create your core game logic & supporting functions.
      • 4.10 Game Set-up Options — Lines 555 to 643
        • “flood fill” Example
      • 4.11 Game Mechanisms Component - “playGame” Class
        • PlayGame.constructor – Lines 74 to 76
        • “Preload” Essential Functions – Lines 80 to 87
        • “Create” Essential Functions – Lines 89 to 136
        • PlayGame.drawGameBoard – Lines 141 to 156
        • PlayGame.tileSelect – Lines 158 to 190
        • PlayGame.makeTilesFall – Lines 192 to 248
        • PlayGame.makeTilesSlide – Lines 250 to 276
        • PlayGame.endOfMove – Lines 277 to 304
      • 4.12 Collapsing Blocks Game Mechanics Component
      • 4.13 Conclusion
    • 5 “Connect-4” & “Go” Game Mechanics
      • 5.1 Reference From
      • 5.2 Overview
      • 5.3 Our Goal
      • 5.4 Game Mechanics
      • 5.5 Using “AI Design”
      • 5.6 Historical background
      • 5.7 Game Examples
      • 5.8 Game Recipe™ Featured Ingredients
        • Game Genre Commercial Components
        • Rule Variations
      • 5.9 Starting a Connect-4 AI Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 5.10 Connect-4 AI — Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js (or Game.js)
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 5.11 Design Considerations
        • Gameboard Development
        • Game Disc-Tokens
        • 2-player or “AI-bot”
      • 5.12 Connect-4 Game Logic & Supporting Functions
        • Play.js
      • 5.13 Connect-4+ Core Game Mechanics
        • Step 3. Create your core game logic & supporting functions
        • Play.js Deconstruction Plan
      • 5.14 Stage 1 - Seek, Find & Record
        • Play.js - Lines 1 to 33
        • Play.js - Lines 34 to 136
        • Play.selectCol() - Lines 137 to 221
        • HUD Mouse functions
        • Validate “4-in-a-row” Winning Conditions
        • Declaring a Winner
      • 5.15 Anticipation of Change in Play.js
        • Other problems for your bespoke solution?
      • 5.16 Doing the AI-thing!
        • Sample Resources
        • Deeper Dive: A.I. in Connect4 & Go
        • Stage 2: Conversion into Phaser III
      • 5.17 Conclusion
    • 6 Dress-Up & Fashion Game Mechanics
      • 6.1 Reference From:
      • 6.2 Overview
      • 6.3 Our Goal
      • 6.4 Game Mechanics
      • 6.5 Game Logic and Construction Considerations
        • Step #1 Find an avatar(s).
        • Step #2 Create the wardrobe
        • Step #3 Messy or tidy?
        • Step #4 Layout Arrangement
        • Step #5 Asset Download Considerations
      • 6.6 Game Examples
      • 6.7 Current Demand for Dress-UP Games
      • 6.8 Game Recipe Starter Kit Features
      • 6.9 Starting the Dress-Up project
        • Step 0: you can review several games in these demonstrations:
        • Step 1. Create your standard index file.
      • 6.10 Dress-UP Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 6.11 Play.js — Overview
      • 6.12 Dog.js – a gentle introduction to standard Dress-UP games
      • 6.13 Dog.js Preload function – Lines 105 to 163
      • 6.14 Dog.js Create function – Lines 164 to 228
      • 6.15 Mark.js – adding clothes and toggles
      • 6.16 Miyoko.js – adding data structures and spriteSheets management
      • 6.17 Managing Hair and “Split-ends”
      • 6.18 What’s a Girl to Wear? Clothes management
      • 6.19 Zoe.js – the full Monty
      • 6.20 Common Menu HUD
      • 6.21 Printing
      • 6.22 Saving
      • 6.23 Camera Snap-shots
      • 6.24 Conclusion
    • 7 Hidden Objects Game Mechanics
      • 7.1 Reference From
      • 7.2 Overview
      • 7.3 Our Goal
      • 7.4 Game Mechanics
        • Historical background
        • General Construction Advice?
        • Deeper Dive: Replayability
      • 7.5 Game Examples
      • 7.6 Game Recipe™ Featured Ingredients
      • 7.7 Starting a “Hidden Objects” Project
        • Step 0: Review your competition and game demonstrations:
        • Step 1: Create your “front-door”
      • 7.8 Hidden Objects Core Game Phases
        • Step 2: Create your standard game shell scenes
        • Main.js (or Game.js)
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 7.9 Creation Methods for Hidden Objects Games
        • Step 3. Create your core game logic & supporting functions
      • 7.10 Method #1: HTML5 Conversion into Phaser Framework.
        • Step 1: Project Preparation
        • Step 2: Project Refactoring
        • Step 3: Project Plan
        • Deeper Dive: Better Location Selections
        • Deeper Dive: Making Phaser III Graphics “clickable”
      • 7.11 Method #2: ActionScript into Phaser Framework.
        • D.R.Y. Speed Limit - 5 GPH (Games Per Hour)!
        • Cashing In with Hidden Object Games
      • 7.12 Method #3: Winx Quests.
        • Flash Demo
      • 7.13 Method #4 (for Adults): “Find My Flaws”
        • Flash Demos
        • Microsoft Office to the Rescue!
      • 7.14 Method #5 - “Find the Difference” Construction
        • Why not do what others are doing?
        • Step 1: Project Preparation
        • Deeper Dive: Project Preparations
        • Step 2: Create your standard game shell scenes
        • Step 3: Project Plan & flowchart
        • Phaser Resources
      • 7.15 Conclusion
    • 8 “Jump to Capture” Games Mechanics
      • 8.1 Reference From:
      • 8.2 Overview
      • 8.3 The Goal
      • 8.4 Game Mechanics
      • 8.5 Game Logic and Rules
      • 8.6 Game Data Structure
      • 8.7 Game Examples
      • 8.8 Game Starter Kit Features
      • 8.9 Starting the Jump-to-Capture project
        • Step 0: you can review an Jump-To-Capture game in these demonstrations:
        • Step 1. Create your standard index file.
      • 8.10 Peg Solitaire Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 8.11 Peg Solitaire game logic & Supporting functions
        • Overview
        • Game Data structures — Lines 57 to 60
        • hole Selected — Lines 418 to 425
        • peg Selected — Lines 428 to 435
        • validateMove — Lines 512 to 771 (hand-craft FSM)
      • 8.12 Bonus Content
        • Multi-player Variations
        • Three Musketeers game board
        • Hnefatafl game board
        • Blue & Gray – US Civil War Jump-to-Capture
        • Single-player Variations
      • 8.13 Conclusion
    • 9 MahJong Game Mechanics (1st draft)
      • 9.1 References From:
      • 9.2 Overview
      • 9.3 Our Goal
      • 9.4 MahJong Game Mechanics
        • MahJong Rule Variations
      • 9.5 Historical background
      • 9.6 Game Examples
      • 9.7 Game Recipe™ Featured Ingredients
      • 9.8 Starting a MahJong Game Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 9.9 MahJong — Core Game Phases
        • step 2: Create your standard game shell scenes
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 9.10 MahJong Game logic & supporting functions
        • Play.js
      • 9.11 MahJong Core Game Mechanics
        • Step 3. Create your core game logic & supporting functions
    • 10 Match-3 Game Mechanics
      • 10.1 References From:
      • 10.2 Overview
      • 10.3 Our Goal
      • 10.4 Game Mechanics
      • 10.5 Game Examples
      • 10.6 Game Recipe™ Featured Ingredients
      • 10.7 Starting the Match-3 Project
        • Step 0: Review your competition and game demonstrations:
        • Step 1. Create your standard index file.
      • 10.8 Match-3+ Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js (or Game.js)
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 10.9 Match-3+ Core Mechanics
        • Step 3. Create your core Game logic & supporting functions
      • 10.10 Game Set-up Options
        • Phaser III Config and Game Settings - Lines 630 to 718:
      • 10.11 Game Mechanisms Component - “playGame” Class
        • PlayGame.constructor – Lines 75 to 78
        • “Preload” Essential Functions – Lines 79 to 152
        • “Create” Essential Functions – Lines 95 to 151
        • PlayGame.drawGameBoard – Lines 156 to 172
        • PlayGame.tileSelect – Lines 173 to 204
        • PlayGame.swapTiles – Lines 205 to 232
        • PlayGame.handleMatches – Lines 234 to 287
        • PlayGame.makeTilesFall – Lines 289 to 340
        • PlayGame.endOfMove – Lines 342 to 362
      • 10.12 Match-3 Game Mechanics Component
        • Arrange Board After Match – Lines 392 to 409
        • Create and Manage the Gameboard data – Lines 419 to 463
      • 10.13 Match 3 (Placed) = Tic-tac-toe
      • 10.14 Match 4 (Placed) = “Connect-4”
      • 10.15 Match 5 (Placed) = “Go” or “Gomoku”
      • 10.16 Match 3+ by “Tracing a Line”
      • 10.17 Conclusion
    • 11 Memory Match Game Mechanics (1st draft)
      • 11.1 References From:
      • 11.2 Overview
      • 11.3 Our Goal
      • 11.4 Memory Match Game Mechanics
      • 11.5 Game Examples
        • Memory Match
      • 11.6 Game Recipe™ Featured Ingredients
      • 11.7 Starting Memory Match project
        • Step 0: Review your competition and game demonstrations:
        • Step 1. Create your “front-door” index file.
      • 11.8 Memory Match (Pairs) Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 11.9 Pairs Memory Match logic & supporting functions
      • 11.10 MahJong (Memory Match) logic & supporting functions
        • Play.js — Overview
      • 11.11 Sequence Memory Match logic & supporting functions
        • Play.js — Overview
      • 11.12 Conclusion
    • 12 Music & Audio Mechanics (1st draft)
      • 12.1 References From:
      • 12.2 Overview
      • 12.3 Our Goal
      • 12.4 Audio Tools
      • 12.5 Game Mechanics
      • 12.6 Game Examples
      • 12.7 Game Recipe™ Featured Ingredients
      • 12.8 Starting a Music & Audio Game Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 12.9 Music & Audio Core Game Phases
      • 12.10 Design Considerations
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 12.11 Music & Audio Game logic & supporting functions
    • 13 Puzzle Game Mechanics (1st draft)
      • 13.1 References From:
      • 13.2 Overview
      • 13.3 Our Goal
      • 13.4 Game Mechanics
        • Deeper Dive: Constructing Unique Jigsaws!
        • Background History
      • 13.5 Game Examples
      • 13.6 Current Demand for Puzzle Games
      • 13.7 Game Recipe™ Featured Ingredients
      • 13.8 Starting a Puzzle project
        • Step 0: Review demonstration games:
        • Step 1. Create your “front-door” index file.
      • 13.9 Jigsaw & Slider Puzzle — Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 13.10 Stage 1 - Slider Puzzle “Seek, Find & Record”
        • Slider Puzzle Code Review:
      • 13.11 Deeper Dive: Design Considerations
      • 13.12 Slider Puzzle - Core Mechanics
      • 13.13 Slider Puzzle Mechanisms & Supporting Functions
        • Step 3. Create your core game logic & supporting functions.
      • 13.14 Stage 2 - Phaser “v2 to v3” Conversion Guide
        • Transition Overview
        • Game Mechanics Component — SliderPuzzle
        • Game Mechanisms Component — SliderPuzzle.prototype
        • Lines xxx to xxx — checkPiece
        • Lines xxx to xxx — getPiece
        • Lines xxx to xxx — nextRound
        • Lines xxx to xxx — shufflepzGrp
        • Lines xxx to xxx — slidePiece
        • Lines xxx to xxx — startPlay
        • Lines xxx to xxx — startPuzzle
        • Lines xxx to xxx — swopPiece
        • Lines xxx to xxx — tweenOver
      • 13.15 Jigsaw Puzzle - Core Mechanics
      • 13.16 Jigsaw Puzzle Mechanisms & Supporting Functions
        • Step 3. Create your core game logic & supporting functions.
      • 13.17 Design Considerations - Jigsaw Game Components
        • Creating Image Shards
        • Cropping the pieces
        • Bezier Curves
      • 13.18 New Jigsaw Design Consideration
      • 13.19 Stage 1 Jigsaw Puzzle - Seek, Find & Record
      • 13.20 Jigsaw Puzzle Code Review:
        • Jigsaw Work-Horse: Puzzle.js
        • Jigsaw Work-Horse: Puzzle_Piece.js
      • 13.21 Stage 2 - Phaser “v2 to v3” Conversion Guide
      • 13.22 Plugins
      • 13.23 Conclusion
    • 14 Quiz Trivia & Dating Game Mechanics
      • 14.1 References From:
      • 14.2 Overview
      • 14.3 The Goal
      • 14.4 Game Mechanics
      • 14.5 Game Examples
      • 14.6 Game Recipes™: Starter Kit Features
      • 14.7 Starting a Quiz & Trivia Project
        • Step 0: Review demonstration games:
        • Step 1. Create your standard index file.
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js (or Game.js)
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Sample CMS Phaser page — Credits.js
        • Play.js
      • 14.8 3 Trivia Quiz & Dating games logic & Supporting functions
      • 14.9 Game #1 — Mensa Mental Math™ — a math tutor game.
        • Design Notes:
        • Game Project #1 Code Review:
      • 14.10 playGame
        • playGame Initialized – Lines 136 to 144
        • preload function – Lines 145 to 156
        • create function – Lines 159 to 245
        • update function – Lines 247 to 306
      • 14.11 Game #1 Supporting Functions
        • answeredQ function – Lines 318 to 324
        • btnOver function – Lines 326 to 352
        • checkAnswer function – Lines 353 to 376
        • gameOver function – Lines 379 to 387
        • nextQuestion function – Lines 388 to 447
      • 14.12 Game #1 Score storage - Lines 449 to 451
      • 14.13 Game Project #2 — Tomfoolery Trivia Topics™
        • Design Notes:
        • Database Construction Tools
        • Remote Question Pool Using AppML
        • Building an AppML application
        • Remote Question Pool Using JSON
        • Creating various Languages
      • 14.14 Game #2 Code Review - main.js
      • 14.15 Game #2 Code Review - boot.js
      • 14.16 Game #2 Code Review - load.js
      • 14.17 Game #2 Code Review - language.js
      • 14.18 Game #2 Code Review - menu.js
      • 14.19 Game #2 Code Review - exitGame.js
      • 14.20 Game #2 Code Review - play.js
        • init function — Lines 97 to 125
        • create function — Lines 135 to 217
        • update function — Lines 219 to 277
      • 14.21 Game #2 Supporting Functions
        • checkAnswer function — Lines 288 to 311
        • gameOver function — Lines 312 to 318
        • nextQuestion function – Lines 319 to 352
      • 14.22 Game Project #3 — Dating Veronica Darlene™
        • Design Notes:
        • New conversation dialog format
        • Conversation Dialog Sequence
        • Creating various Languages
        • Game #3 updated question format
        • Game #3 JSON format Skeleton
        • Game Pool Technology
        • Art Resources
        • Facial Expressions
        • Game #3 Code Review
        • Init function — Lines 100 to 254
        • preload function — Lines 255 to 282
        • create function — Lines 285 to 421
        • update function — Lines 422 to 467
      • 14.23 Game #3 Supporting Functions
        • checkAnswer function — Lines 516 to 544
        • clickContinue function — Lines 546 to 746
        • gameOver function — Lines 749 to 753
        • nextQuestion function — Lines 756 to 788
      • 14.24 Plugins
      • 14.25 Conclusion
    • 15 Strategy Game Mechanics (1st Draft)
      • 15.1 Reference From
      • 15.2 Overview
      • 15.3 The Goal
      • 15.4 Game Mechanics
        • Historical background?
        • Game Genre Components
      • 15.5 Game Examples
      • 15.6 Game Recipe™ Featured Ingredients
      • 15.7 Starting a strategy Game Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 15.8 Strategy — Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
        • Play.js
      • 15.9 Strategy Game logic & supporting functions
    • 16 Tower Defenses Mechanics (1st Draft)
      • 16.1 Reference From
      • 16.2 Overview
      • 16.3 Our Goal
      • 16.4 Game Mechanics
        • Historical background?
      • 16.5 Game Examples
      • 16.6 Game Recipe™ Featured Ingredients
      • 16.7 Starting a “Defensive Towers” Game Project
        • Step 0: Review Game demonstrations
        • Step 1: Create your “front-door”
      • 16.8 Defensive Towers — Core Game Phases
        • Step 2. Create Your Standard Game Shell Phases.
        • Main.js
        • Boot.js
        • Preload.js
        • Splash.js or Language.js
        • Menu.js
      • 16.9 Design Considerations
        • Gameboard Development
        • Game Defensive Positions
        • 2-player and AI-bot
      • 16.10 “Anti-Tower Defense” Game logic & Supporting Functions
        • Play.js
      • 16.11 “Anti-Defensive Towers” Core Game Mechanics
        • Step 3. Create your core game logic & supporting functions
      • 16.12 Conclusion
  • Part III Conversions into Phaser III
    • 17 Transpiling AS2 or AS3 into JS
      • 17.1 Introduction and official statements
      • 17.2 Flash Platform Basics
      • 17.3 HTML5 Platform Basics
      • 17.4 Difference between JS and AS
      • 17.5 Converting from Flash ActionScript to JavaScript
        • Conversion Tools
      • 17.6 Why TypeScript? Phaser 4 coming!
    • 18 AS3 to JavaScript
      • 18.1 References:
      • 18.2 Language similarities
      • 18.3 Getting Started
      • 18.4 Tools
      • 18.5 Conversion Practicum
    • 19 AS2 to JavaScript
      • 19.1 References:
    • 20 Phaser Conversion Guide (1st draft)
      • 20.1 Practicum Resource: (FREE as of 20191231)
      • 20.2 Introduction
      • 20.3 How it works (Excerpt)
        • Deeper Dive 3.19+ Tweens
        • Deeper Dive: Phaser III Events!
      • 20.4 HTML5 into Phaser III
      • 20.5 Conversion Chart - the Manual Process
        • Game Phases
        • Sprites
        • Text
      • 20.6 Automated Conversion Tools
      • 20.7 Chapter Resources
    • 21 322+ AS Games Available for Conversion!
      • 21.1 Reference:
      • 21.2 Some important notes:
      • 21.3 Questions and Answers
        • AS2
        • AS3
      • 21.4 Flash Game University — 36+ games!
      • 21.5 About GameScene
      • 21.6 MacroMedia 150+ Flash Game Collection
      • 21.7 Stephen Gose Game Studio (SGGS) - 127+ more!
      • 21.8 1,746+ Games from the “Internet Arcade”
  • Part IV MMOG (Excerpt only)
    • 22 Hot-seat MMoG?
      • 22.1 Network Foundation Inventory
      • 22.2 Deeper Dive: Testing MMoGs Locally??
      • 22.3 Hot-seat MMoG Demos
    • 23 2-Player Remote Games
      • 23.1 MMoG engine Criteria:
    • 24 Massive Multi-Player Games
      • 24.1 MMoG Application Architecture
      • 24.2 Comparing Single- to Multi-Player Games
        • Deeper Dive: Using Web Workers
        • Deeper Dive: Await and Promises
      • 24.3 Differences in MMoG Games?
    • 25 MMoG Hosting Options
      • 25.1 Server-side Research
  • Simulations & “A.I.” Mechanics
    • 26 Foreign Exchange, Bit-Coin & Commodities Trading
      • 26.1 Reference and Excerpts From
      • 26.2 Overview
      • 26.3 Our Goal
      • 26.4 Simulation Mechanics
      • 26.5 Simulation Game Examples
      • 26.6 Simulation Charting
    • 27 “Vo4X Shepherd Shell”™
      • 27.1 “Vo4X Shepherd Shell”™ Construction
      • 27.2 Cashing In with Your Expert Advisor(s)
      • 27.3 EA Protection
      • 27.4 VoFX Collection
      • 27.5 Chapter Summary
  • Appendix
    • Appendix: Making Phaser 3D Games!
    • Appendix: Phaser Plugins
    • Other resources:
    • Selling your Game Assets
    • JS OLOO - Modern Game Development Method
      • Deeper Dive: JS Delegation (aka “Inheritance”?)
      • The old way
      • Objects Linking to Other Objects (OLOO)
      • Compare your code
      • Object.create
      • Exercise Lesson 9:
      • Game Singletons
      • Deeper Dive: Object Manipulation objects in ES5/6
      • Lesson Summary
      • Resource References:
  • Notes
  • Answers to Exercises
    •  
      • Appendix
        • JS OLOO - Modern Game Development Method

Authors have earned$8,520,651writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

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

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! 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