𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

HTML5 Cross Platform Game Development Using Phaser 3

✍ Scribed by Emanuele Feronato


Tongue
English
Leaves
203
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


HTML5 Cross Platform Game Development Using Phaser 3
A little preface
What is a cross-platform game and why should I make cross-platform games?
What is HTML5?
What is Phaser?
Ok, I am lost. HTML5, CSS, JavaScript, Phaser… too much stuff
Can I build games like GTA with Phaser?
Choosing a free text editor
Other free software you may need
Choosing a free web server
REALLY choosing a web server, rather than closing the book
Choosing a web browser
Downloading Phaser
The structure of your first Phaser project
Running your Phaser game
Creating a Phaser Game configuration object
Adjusting CSS to make the game run in the center of the page
Resizing the game to cover the wider area possible
Understanding Phaser scenes
Adding more scenes to the game
The game we are going to build: 4096
Preloading and adding images to the game
The importance of storing all game customizable variables in a single place
Creating tile graphics as a sprite sheet and using it in the game
The importance of adding as less sprites as possible during the game
Using two-dimensional arrays to store board configuration
Placing β€œtwo” tiles on empty spots on the board
Using tweens to animate tiles
Checking when tweens end
Waiting for player input
Understanding how pixels scale
Processing keyboard input
Processing pointer input
Moving tiles
Understanding the conditional operator
Keeping on moving tiles
Understanding depth or Z-order
Moving only necessary tiles
Moving tiles as long as there is room for movement
Merging tiles
Keeping on moving
Moving tiles according to game rules
Checking if the player actually moved
Upgrading tiles only once per turn
Animating tile movement
Animating tile upgrade
Adding sound effects
Covering the entire window area
Adding game interface
Making sprites interactive
Using bitmap fonts
Handling a score system
Saving the best score
Limiting tile value to β€œ4096”
Web Apps Vs Native Apps
Installing Node.js
Installing Cordova and creating your first Cordova project
Installing Android Studio and creating your first Android project
Running your game in Android Studio
Editing Android manifest file to set game configuration
Using your own icons and loading screens
Building the APK to be published on the stores
Publishing your game on Android stores
Using the Scale Manager
Adding Full Screen mode
Creating a pure JavaScript class with no dependencies to handle the game
Using a Texture Atlas
Thank you and let's keep in touch


πŸ“œ SIMILAR VOLUMES


From null to full HTML5 cross platform g
✍ Feronato Emanuele. πŸ“‚ Library 🌐 English

Amazon Digital Services LLC, 2016. β€” 73 p. β€” ASIN: B01AUR98GY<div class="bb-sep"></div>I will take you by hand from the very bare bones of JavaScript until the creation of a complete HTML5 cross platform game using Phaser framework and other FREE software. Designed especially for beginners but also

Cross-Platform Game Programming (Game De
✍ Steven Goodwin πŸ“‚ Library πŸ“… 2005 🌐 English

With many of today's games being released simultaneously on all platforms, the need for a good cross-platform development strategy is essential. Cross-Platform Game Programming covers this rarely discussed area and provides the techniques needed to develop your games effectively. It explains the ple

Learning Cocos2d-JS Game Development: Le
✍ Emanuele Feronato πŸ“‚ Library πŸ“… 2015 πŸ› Packt Publishing 🌐 English

Whether you are new to game development or an experienced developer, you will be surprised by how easy it is to create HTML5 cross-platform games with Cocos2d-JS. In this book, you will use JavaScript to create spectacular and exciting games of different genres. Without any dreary theory, which oft

Developing an Ionic Edge: HTML5 Cross-Pl
✍ Anton Shevchenko, Robin Van Baalen, Keith D Moore, Alan Levicki, Diego Netto πŸ“‚ Library πŸ“… 2015 πŸ› Bleeding Edge Press 🌐 English

Ionic helps you develop rich and robust applications based with a powerful yet flexible framework at its core: AngularJS. With an emphasis on native performance, Ionic plays nice with Apache Cordova to build native-like hybrid mobile applications for both Android and iOS platforms. It even provides

Developing an Ionic Edge: HTML5 Cross-Pl
✍ Anton Shevchenko, Robin Van Baalen, Keith D Moore, Alan Levicki, Diego Netto πŸ“‚ Library πŸ“… 2015 πŸ› Bleeding Edge Press 🌐 English

Ionic helps you develop rich and robust applications based with a powerful yet flexible framework at its core: AngularJS. With an emphasis on native performance, Ionic plays nice with Apache Cordova to build native-like hybrid mobile applications for both Android and iOS platforms. It even provides