HTML5 Game Development HOTSHOT


HTML5 Game Development HOTSHOT
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$21.59
save 20%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Create eight different games using HTML5
  • Learn essential games development techniques, such as game loop, animations, and browser storage
  • Follow the project-based approach to build games from start to finish with in-depth explanations on game management

Book Details

Language : English
Paperback : 366 pages [ 235mm x 191mm ]
Release Date : July 2014
ISBN : 1849695466
ISBN 13 : 9781849695466
Author(s) : Makzan
Topics and Technologies : All Books, Game Development, Other

Table of Contents

Preface
Project 1: Building a CSS Quest Game
Project 2: Card Battle!
Project 3: Space Runner
Project 4: Multiply Defense
Project 5: Building an Isometric City Game
Project 6: Space Defenders
Project 7: A Ball-shooting Machine with Physics Engine
Project 8: Creating a Sushi Shop Game with Device Scaling
Index
  • Project 1: Building a CSS Quest Game
    • Mission briefing
    • Creating the HTML structure
    • Managing the game scene
    • Representing the quest composition
    • Placing the patterns on the deck
    • Selecting the pattern
    • Comparing the player and quest composition
    • Showing different quests
    • Adding a countdown timer to the game
    • Mission accomplished
    • Hotshot challenges
    • Project 2: Card Battle!
      • Mission briefing
      • Creating the game scenes
      • Creating a 3D card-flipping effect
      • Selecting a card
      • Adding a power value to the cards
      • Creating the opponent's card
      • Building the battle animation
      • Adding health points to the game
      • Restarting the game for the next round of battle
      • Mission accomplished
      • Hotshot challenges
      • Project 3: Space Runner
        • Mission briefing
        • Managing the scenes
        • Defining the floor and tiles in the game
        • Controlling the tiles creation in JavaScript
        • Using a game loop
        • Parallax background scrolling
        • Controlling a player with the keyboard
        • Determining a collision between the player and tiles
        • Sprite sheet animation
        • Mission accomplished
        • Hotshot challenges
        • Project 4: Multiply Defense
          • Mission briefing
          • Setting up the canvas and EaselJS
          • Defining the numbered box
          • The game loop and falling boxes
          • Inputs and equations
          • Removing the boxes
          • Ending the game
          • Restarting the game
          • Replacing the rectangle shape with bitmap graphics
          • Mission accomplished
          • A Hotshot challenge
          • Project 5: Building an Isometric City Game
            • Mission briefing
            • Designing the game's user interface
            • Placing the tiles and grid in the city layer
            • Choosing which building to build
            • Placing buildings on the floor
            • Advancing the construction progress over time
            • Generating coins and diamonds
            • Collecting pop-up diamonds
            • Saving and loading the game progress
            • Mission accomplished
            • Hotshot challenges
            • Project 6: Space Defenders
              • Mission briefing
              • Setting up the user interface
              • Placing the defense buildings
              • Summoning the enemies
              • Generating energy
              • Enemies attacking the buildings
              • Firing bullets and attacking the enemies
              • Controlling enemy waves
              • Loading the bitmap graphics into the game
              • Mission accomplished
              • Hotshot challenges
              • Project 7: A Ball-shooting Machine with Physics Engine
                • Mission briefing
                • Creating a simulated physics world
                • Shooting the ball
                • Handling collision detection
                • Defining levels
                • Adding a launch bar with power
                • Adding a cross obstacle
                • Visualizing the graphics
                • Choosing a level
                • Mission accomplished
                • Hotshot challenges
                • Project 8: Creating a Sushi Shop Game with Device Scaling
                  • Mission briefing
                  • Making a responsive layout
                  • Decorating the game
                  • Making the sushi
                  • Creating a customer queue
                  • Refilling sushi ingredients
                  • Adding sound effects
                  • Distributing the game
                  • Making the game mobile friendly
                  • Mission accomplished
                  • A Hotshot challenge

                  Makzan

                  Makzan focuses on web development and game design. He has over 14 years of experience in building digital products. He has worked on real-time multiplayer interaction games, iOS applications, and rich interactive websites.

                  He has written two books and one video course on building a Flash virtual world and creating games with HTML5 and the latest web standards. He is currently teaching courses in Hong Kong and Macao SAR.

                  Sorry, we don't have any reviews for this title yet.

                  Code Downloads

                  Download the code and support files for this book.


                  Submit Errata

                  Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                  Sample chapters

                  You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                  Frequently bought together

                  HTML5 Game Development HOTSHOT +    Domino 7 Lotus Notes Application Development =
                  50% Off
                  the second eBook
                  Price for both: $31.50

                  Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                  What you will learn from this book

                  • Create DOM-based HTML5 games
                  • Use the CreateJS library to build a canvas-based game
                  • Create different types of animations that are spritesheet-based, tween-based, and Flash vector-based
                  • Modularize game components in JavaScript with object inheritance
                  • Store and load persistent game progress in browsers
                  • Convert coordinates between the screen and isometric perspective
                  • Maintain a hierarchy for game elements to keep the extensibility of the game
                  • Learn essential workflows and tools to create game assets easier

                  In Detail

                  This book will show you how to create stunning cross-browser games without the need for Flash or other plugins. Learn about Box2D, DOM elements, the EaselJS framework, and more, all providing a foundation of knowledge to expand your game-creating skills. With in-depth explanations and step-by-step instructions, you will finish this book feeling confident about building great games with HTML. Whether you are familiar with the basics of object-oriented programming concepts, are new to HTML game development, or are familiar with just web design, this project-based book will get you up and running in no time. It will teach and inspire you to create great interactive content on the Web.

                  Approach

                  With a wide range of projects to build, this step-by-step guide will give you all the tools you need to create a variety of games.

                  Who this book is for

                  Whether you are familiar with the basics of object-oriented programming concepts, are new to HTML game development, or are familiar with just web design, this project-based book will get you up and running in no time. It will teach and inspire you to create great interactive content on the Web.

                  Code Download and Errata
                  Packt Anytime, Anywhere
                  Register Books
                  Print Upgrades
                  eBook Downloads
                  Video Support
                  Contact Us
                  Awards Voting Nominations Previous Winners
                  Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                  Resources
                  Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software