Trade in HTML5 Games Development by Example: Beginner's Guide for an Amazon.co.uk gift card of up to £2.40, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Special Offer until June 30, 2013: Receive an additional £5 promotional Gift Card, when you trade-in at least £10 worth of books. Learn more
HTML5 promises to be the hot new platform for online games. HTML5 games work on computers, smartphones, and tablets including iPhones and iPads. Be one of the first developers to build HTML5 games today and be ready for tomorrow!
The book will show you how to use latest HTML5 and CSS3 web standards to build card games, drawing games, physics games and even multiplayer games over the network. With the book you will build 6 example games with clear step-by-step tutorials.
HTML5, CSS3 and related JavaScript API is the latest hot topic in Web. These standards bring us the new game market, HTML5 Games. With the new power from them, we can design games with HTML5 elements, CSS3 properties and JavaScript to play in browsers.
The book divides into 9 chapters with each one focusing on one topic. We will create 6 games in the book and specifically learn how we draw game objects, animate them, adding audio, connecting players and building physics game with Box2D physics engine.
What you will learn from this book : Start nice and simple: build a traditional Ping Pong game with two players playing in one computer. Create a CSS3-driven card game with transform and 3D flipping effects. Use the Canvas with multiple layers and the Drawing API to create a string untangle game Frame-by-frame animation with sprite sheets Create HTML5 game audio, and build a piano-based musical game Store game data persistently using local storage. Building real-time network multiplayer games Adding physics to your canvas games using the Box2D physics engine.
Approach Step-by-step example-driven tutorials to create several games from scratch. Each game comes with a specific learning topic in HTML5 or CSS3.
Who this book is written for This book is for web designers or game developers who want to build browser games with HTML5 and CSS3. Youll need some background with web development or other programming but no game development experience is necessary.
{"itemData":[{"priceBreaksMAP":null,"buyingPrice":27.99,"ASIN":"1849691266","isPreorder":0},{"priceBreaksMAP":null,"buyingPrice":15.99,"ASIN":"0321767365","isPreorder":0},{"priceBreaksMAP":null,"buyingPrice":17.91,"ASIN":"1119975085","isPreorder":0}],"shippingId":"1849691266::Sn6b5zBBaxEZ96103vkFUV%2F1J5oLBd3XrjxbJ8qdb5eDdoeLaoh77M01UJ45FaZia65Cb%2BvN73%2BsVKQubfSIe%2BiPypjphCwY,0321767365::9%2BxSDqq6BOgowxny5h1beNHDwTckpr6RYXpeHIFGY04TpcM%2FWpCO4561WKMoU9U%2B%2BMvX4wsntfBTmSLYP8nXJ41ge75Itcqy,1119975085::uLT3kpxPA4y1Vvy4by81FTg%2F4MMmPySDrI%2F7Jnn3dCNfFpeNNCK24oZxsDMEXgqFFxTzsnM%2B270WjoUYJ2576B2tMyQNafb3","sprites":{"addToWishlist":["wl_one","wl_two","wl_three"],"addToCart":["s_addToCart","s_addBothToCart","s_add3ToCart"],"preorder":["s_preorderThis","s_preorderBoth","s_preorderAll3"]},"currenyCode":"GBP","shippingDetails":{"xz":"same","yz":"same","xy":"same","xyz":"same"},"tags":["x","y","z"],"strings":{"addToWishlist":[null,null,null],"addToCart":["Add to Basket","Add both to Basket","Add all three to Cart"],"showDetailsDefault":"Show availability and delivery details","shippingError":"An error occurred, please try again","hideDetailsDefault":"Hide availability and delivery details","priceLabel":["Price:","Price For Both:","Price For All Three:"],"preorder":["Pre-order this item","Pre-order both items","Pre-order all three items"]}}
Makzan is the founder of 42games limited. He started designing games since he was a child. He likes to see how the well-designed interactions in his games can trigger the emotions and influent the players. He believes the games should let player shares joyful time with friends. Therefore his favorite game type is multiplayer casual games.
Makzan also wrote a book named Flash Multiplayer Virtual World. It is about developing a virtual world to play with friends in real time with Adobe Flash and socket server.
HTML5 Games Development by Example: Beginner's Guide by Makzan is as title suggest is intended for beginners. Unfortunately I'm not sure if it's true. Content is really good and I liked it, but there are many, many errors in code in listings, so I think that I had problem with almost every example. Don't get me wrong, this was mostly simple errors, and source code that I downloaded from PacktPub website was working but bad taste still exists. The worst one was first, I search for my own typo and finally find that variables has two names. It looks like in book is a mix of code from before and after refactoring. Bugs was easy and all looks similar, they was just annoying.
Tips for other readers: Download source code Keep in mind that code in book has bugs Keep internet connection on (some images and WebFonts to download)
I recommend this book, for me it was good reading and fun to create games prototypes. Bugs are annoying but are easy to fix so this not as bad as You may think.
I can recommend this book especially to developers that want to start learning about Games in HTML5 (beginners), person who already created his own game engine in JS probably would not be interested.
HTML5 Games Development by Example allow the reader to dive into games development concepts. You need basic understanding of Web Technology to read it (HTML5, CSS3, Javascript) but the author doesn't assume the reader is a ninja in these technologies.
Markzan starts by giving new features provided by HTML5, thus allowing the user to have a better understanding of what's possible with this language. From the Canvas element to local storage, the reader learns the tricks to develop a good HTML5 Game.
Best practices are also taught and the reader will definitely learn things by going through this book.
The book consists of introduction to HTML5 technology and its usage in game development area. The book contains six complete game examples. The games are simple enough to understand and recreate, but are feature complete and working. The examples are picked to demonstrate different HTML5 features (CSS3, Canvas, Audio, LocalStorage and WebSockets). The material is based on JQuery library usage and explains its basics as well. Typical game programming approaches like event loops, layered rendering and impact collisions are covered.
Be warned that this is not an introduction to HTML, CSS and JavaScript. Although the author makes sure to explain what is happening in the code it is advisable to learn Web technologies basics before starting reading this book. HTML5, JQuery and CSS3 topics are covered from the very introductory level however, so you should not have any experience with that. Since the technology is moving forward very fast, some of the material is a bit out of date, but the author makes sure to warn the reader about the possible API and compatibility changes and provides external links for the reader to investigate by himself.
Because the examples in the book are not hardcore, the book could be used as an introductory HTML5 material even for those who are not going to write computer games. The game examples just make the learning process more fun and inspirational.
I would recommend this book to anyone interested in learning HTML5 features just before those will get mainstream. This is a great introductory material, which you could use as a starting point to your HTML5 experience. The game examples make this book entertaining to read.