Book description
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, entity interpolation from Snowball Fight, trait-based gaming in Grave Danger, the advanced use of WebGL from the game Bar Fight, tips on combining the entangled web of HTML5 technologies brilliantly shown in Far7, the holy grail of making a unique game like Z-Type, and how to build split-screen games as in the addictive Robots Are People Too.
What you'll learn
How to create fantastic games using HTML5
How to add 3D to your games with WebGL
How to create multiplayer games
How to build a level designer for your game
Who this book is for
Game developers creating amazing games that will work across multiple devices using the HTML5 suite of technologies.
Table of contents
- Title
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- About the Cover Image Artist
- Introduction
- Chapter 1: The State of Open Web Games
- Chapter 2: Complexity from Simplicity
- Chapter 3: How to Make Multi-Platform HTML5 Games from Scratch
-
Chapter 4: Creating, Saving, and Loading Tracks
- Who we are, what we will build, and why
- The application and the sense behind it
- Why levels are important
- Split the big thing into small components
- The HTML markup
- Adding a little style
- The JavaScript structure
- The drawing loop
- The bricks
- Adding bricks to the grid
- Implement rotation
- Implement the Clear button
- The Store
- Implement the Save button
- Create the saved tracks list
- Summary
-
Chapter 5: 3D CSS Tutorial
- Introduction
- Overview of the elements
- Game variables
- The container’s 3D properties
- Events and game loop timer
- Game loop overview
- Making new fish
- Fish update
- Fish render
- Making fish
- Setting the fish properties
- Recycling the fish
- Exploding the fish
- Particles
- Parallax layers
- Disabling default touch/mouse behavior
- Conclusion
- Chapter 6: Particle Systems
- Chapter 7: Beginning WebGL
- Chapter 8: CycleBlob: A WebGL Lightcycle Game
- Chapter 9: A Real-Time Multiplayer Game Using WebSockets
- Chapter 10: Hard-Pressed for a Choice of Technology
- Index
Product information
- Title: HTML5 Games Most Wanted: Build the Best HTML5 Games
- Author(s):
- Release date: March 2012
- Publisher(s): friends of ED
- ISBN: 9781430239789
You might also like
book
Beginning HTML5 Games with CreateJS
Beginning HTML5 Games with CreateJS provides a hands-on approach to get you up and running with …
book
Pro HTML5 Games
Build your next game on a bigger scale with Pro HTML5 Games. This book teaches you …
book
Building HTML5 Games with ImpactJS
Making video games is hard work that requires technical skills, a lot of planning, and—most critically—a …
book
Build an HTML5 Game
A hands-on guide to web game development for programmers interested in building games using HTML5, CSS3, …