New book released: HTML5 Cross Platform Game Development Using Phaser 3

I announced it some days ago, now here we go: my new book HTML5 Cross Platform Game Development Using Phaser 3 has been released and I put a lot of love in writing it.

It’s the first Phaser 3 book which will guide you to the creation of a complete game from scratch, starting from JavaScript bare bones to all kind of tricks and solution to common problems you may face when building a game. 175 pages and 28 source code examples wait for you to master Phaser 3. And the Android Studio project for you to create a native Android app from your HTML5 game.

With the experience of more than 250 Phaser tutorial and more than 1,500 – one thousand and a half – tutorials written on this blog, I carefully explained in detail all steps in the creation of a game like “2048” with a lot of rooms for customization – what about playing on a 5×5 or 6×4 grid – and each step comes its source code for you to play and experiment.

Have a look at the content of the folder with all source code examples:

By following the book you will learn, among other things:

* The concepts behind HTML5 cross platform development
* The basics of JavaScript such as functions, objects, classes, statements
* How to scale and resize a game to make it look nice on each device
* The structure of your first Phaser project
* Preload images, sounds, fonts and other kind of assets
* Group images into sprite sheets to optimize the game
* Add images and sprites on the stage
* Use tweens to create animations
* Wait for player input
* Process keyboard input
* Process mouse or finger input
* Use arrays to handle game information
* Move sprites
* The importance of placing sprites in front of other sprites using Z-order
* Add and play sound effects
* Design and add a game interface
* Add interactivity with buttons
* Use bitmap fonts to create text effects
* Save and load high scores using local storage

I am also in the process of writing an update to the book, which will show you ho to build a completely different genre of game based on the same engine.

As usual, all updates will be free. Last but not least, by getting the book you will give the blog a great support.

October, 24 2018 first update: turn your HTML5 game into a native Android game using Cordova and Android Studio

* Understand the differences between a web app and a native app
* Install Node.js
* Install Cordova and create your first Cordova project
* Install Android Studio and create your first Android Studio project
* Run your HTML5 game in Android Studio
* Edit Android manifest file to set your custom game configuration
* Draw and edit Android app icons and loading screens
* Create your final APK

Android Studio project included, for you to play with it.

Get the book and learn to build HTML5 games.

Get the most popular Phaser 3 book

Through 202 pages, 32 source code examples and an Android Studio project you will learn how to build cross platform HTML5 games and create a complete game along the way.

Get the book

214 GAME PROTOTYPES EXPLAINED WITH SOURCE CODE
// 1+2=3
// 100 rounds
// 10000000
// 2 Cars
// 2048
// A Blocky Christmas
// A Jumping Block
// A Life of Logic
// Angry Birds
// Angry Birds Space
// Artillery
// Astro-PANIC!
// Avoider
// Back to Square One
// Ball Game
// Ball vs Ball
// Ball: Revamped
// Balloon Invasion
// BallPusher
// Ballz
// Bar Balance
// Bejeweled
// Biggification
// Block it
// Blockage
// Bloons
// Boids
// Bombuzal
// Boom Dots
// Bouncing Ball
// Bouncing Ball 2
// Bouncy Light
// BoxHead
// Breakout
// Bricks
// Bubble Chaos
// Bubbles 2
// Card Game
// Castle Ramble
// Chronotron
// Circle Chain
// Circle Path
// Circle Race
// Circular endless runner
// Cirplosion
// CLOCKS - The Game
// Color Hit
// Color Jump
// ColorFill
// Columns
// Concentration
// Crossy Road
// Crush the Castle
// Cube Jump
// CubesOut
// Dash N Blast
// Dashy Panda
// Deflection
// Diamond Digger Saga
// Don't touch the spikes
// Dots
// Down The Mountain
// Drag and Match
// Draw Game
// Drop Wizard
// DROP'd
// Dudeski
// Dungeon Raid
// Educational Game
// Elasticity
// Endless Runner
// Erase Box
// Eskiv
// Farm Heroes Saga
// Filler
// Flappy Bird
// Fling
// Flipping Legend
// Floaty Light
// Fuse Ballz
// GearTaker
// Gem Sweeper
// Globe
// Goat Rider
// Gold Miner
// Grindstone
// GuessNext
// Helicopter
// Hero Emblems
// Hero Slide
// Hexagonal Tiles
// HookPod
// Hop Hop Hop Underwater
// Horizontal Endless Runner
// Hundreds
// Hungry Hero
// Hurry it's Christmas
// InkTd
// Iromeku
// Jet Set Willy
// Jigsaw Game
// Knife Hit
// Knightfall
// Legends of Runeterra
// Lep's World
// Line Rider
// Lumines
// Magick
// MagOrMin
// Mass Attack
// Math Game
// Maze
// Meeblings
// Memdot
// Metro Siberia Underground
// Mike Dangers
// Mikey Hooks
// Nano War
// Nodes
// o:anquan
// One Button Game
// One Tap RPG
// Ononmin
// Pacco
// Perfect Square!
// Perfectionism
// Phyballs
// Pixel Purge
// PixelField
// Planet Revenge
// Plants Vs Zombies
// Platform
// Platform game
// Plus+Plus
// Pocket Snap
// Poker
// Pool
// Pop the Lock
// Pop to Save
// Poux
// Pudi
// Pumpkin Story
// Puppet Bird
// Pyramids of Ra
// qomp
// Quick Switch
// Racing
// Radical
// Rebuild Chile
// Renju
// Rise Above
// Risky Road
// Roguelike
// Roly Poly
// Run Around
// Rush Hour
// SameGame
// SamePhysics
// Save the Totem
// Security
// Serious Scramblers
// Shrink it
// Sling
// Slingy
// Snowflakes
// Sokoban
// Space Checkers
// Space is Key
// Spellfall
// Spinny Gun
// Splitter
// Spring Ninja
// Sproing
// Stabilize!
// Stack
// Stick Hero
// String Avoider
// Stringy
// Sudoku
// Super Mario Bros
// Surfingers
// Survival Horror
// Talesworth Adventure
// Tetris
// The Impossible Line
// The Moops - Combos of Joy
// The Next Arrow
// Threes
// Tic Tac Toe
// Timberman
// Tiny Wings
// Tipsy Tower
// Toony
// Totem Destroyer
// Tower Defense
// Trick Shot
// Tunnelball
// Turn
// Turnellio
// TwinSpin
// vvvvvv
// Warp Shift
// Way of an Idea
// Whack a Creep
// Wheel of Fortune
// Where's my Water
// Wish Upon a Star
// Word Game
// Wordle
// Worms
// Yanga
// Yeah Bunny
// Zhed
// zNumbers