HTML5 Games Most Wanted [electronic resource] : Build the Best HTML5 Games /
Kuryanovich, Egor.author.
Shalom, Shy.author.
Goldenberg, Russell.author.
Paumgarten, Mathias.author.
Strauss, David.author.
Lee-Delisle, Seb.author.
Renaudeau, Gatan.author.
Wagner, Jonas.author.
Bergknoff, Jonathan.author.
Hawkes, Rob.author.
Danchilla, Brian.author.
HTML5 Games Most Wanted gathers the top HTML5 games developers and reveals the passion they all share for creating and coding great games. You'll learn programming tips, tricks, and optimization techniques alongside real-world code examples that you can use in your own projects. You won't just make games-you'll make great games. The book is packed full of JavaScript, HTML5, WebGL, and CSS3 code, showing you how these fantastic games were built and passing on the skills you'll need to create your own great games. Whether you're a coding expert looking for secrets to push your games further, or a beginner looking for inspiration and a solid game to build on and experiment with, HTML5 Games Most Wanted is for you. Topics and games covered include building complexity from simplicity in A to B, how to create, save, and load game levels in Marble Run, creating fast 3D action games like Cycleblob, and tips on combining the entangled web of HTML5 technologies brilliantly shown in Far7.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; About the Cover Image Artist; Introduction; Chapter 1 The State of Open Web Games; A brief introduction; Why should you care about open web games?; Easy to get started; Excellent documentation; Large and friendly community; Write once, use anywhere; Uncompiled and open; Everyone has control; Access to the world's biggest audience; What is the current state of open web games?; Game-related browser technologies already exist; 2D graphics with HTML5 canvas and SVG
3D graphics with WebGLBetter animation performance with requestAnimationFrame; Music and sound with HTML5 audio and the audio data APIs; Real-time multiplayer gameplay with WebSockets; Store data locally with IndexedDB, Local Storage, and other APIs; Play games offline with the application cache; Immersive gameplay with the FullScreen API; Tame the mouse with the Mouse Lock API; Console-like experience with the Gamepad API; Identify players with services like BrowserID; Create native OS applications with environments like WebRT; With much more on the way
There are plenty of good open web games out thereBejeweled; Angry Birds; Robots Are People Too; Runfield; TF2 WebGL demo; Distribution and monetization options already exist; Mozilla Labs Apps project; Chrome Web Store; Facebook; iOS App Store; Many more; The not-so-good side to open web games; What does the future hold and what still needs to be done?; Chapter 2 Complexity from Simplicity; Who am I?; Game design background; A to B; Influence and inspiration; Brainstorming phase; Pre-production; Production; Post-production and release; Reception; Rules of simplicity; Why A to B works
Processing.jsHow does Processing.js work?; Who should use Processing.js?; What are its strengths and weaknesses?; Is it a good fit for games?; Examples and integration of Processing.js; Basic Processing syntax; Embedding a sketch; In-line processing; Integrating JavaScript; Using audio; Importing and loading images; High-score list with jQuery; Summary; Resources; Chapter 3 How to Make Multi-PlatformHTML5 Games from Scratch; Introduction; Three-part code organization; HTML, a content language; Bootstrapping our game; CSS, a descriptive stylesheet language; CSS syntax
Some significant CSS propertiesWeb fonts; Transitions; Transforms; Fixing user interface for your needs; The cursor; Stylesheet languages above CSS; Compass; Making our page transition effects; JavaScript, a high-level dynamic language; Coding the game controller; Coding our Chess Game; Game specification; Game styles; Game logic; Scope and namespacing; A real example for our chess game; The Game class; The Renderer class; The Storage class; Implementing our controller; The result; Mobile frameworks; jQuery and Zepto; PhoneGap; PhoneGap Build; Configuration of our chess game; WebAppBuilder
Makefile for of our chess game
Includes bibliographical references and index.
Includes index.
HTML5 Games Most Wanted gathers the top HTML5 games developers and reveals the passion they all share for creating and coding great games. You'll learn programming tips, tricks, and optimization techniques alongside real-world code examples that you can use in your own projects. You won't just make games-you'll make great games. The book is packed full of JavaScript, HTML5, WebGL, and CSS3 code, showing you how these fantastic games were built and passing on the skills you'll need to create your own great games. Whether you're a coding expert looking for secrets to push your games further, or a beginner looking for inspiration and a solid game to build on and experiment with, HTML5 Games Most Wanted is for you. Topics and games covered include building complexity from simplicity in A to B, how to create, save, and load game levels in Marble Run, creating fast 3D action games like Cycleblob, and tips on combining the entangled web of HTML5 technologies brilliantly shown in Far7.
Computer games-Programming.
Software engineering.
Game Development.
Software Engineering/Programming and Operating Systems.