HTML5 Cross Platform Game Development Using Phaser 3
Please rate the book
Book short description
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.
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