Book description
Anyone familiar with Zynga's Farmville understands how fun and addictive real-time social games can be. This hands-on guide shows you how to design and build one of these games from start to finish, with nothing but open source tools. You'll learn how to render graphics, animate with sprites, add sound, validate scores to prevent cheating, and more, using detailed examples and code samples.
By the end of the book, you’ll complete a project called Tourist Resort that combines all of the techniques you’ve learned. You’ll also learn how to integrate your game with Facebook. If you’re familiar with JavaScript, HTML5, and CSS3, you’re ready to get started.
- Use HTML5’s canvas element to build smooth animations with sprites
- Create an isometric grid pattern for high-performance graphics
- Design a GUI that works equally well on mobile devices and PCs
- Add sound to your game with HTML5’s audio element
- Implement the game’s path-finding function with WebWorkers
- Build a client data model on the server with PHP and MySQL
- Make your game come alive with dynamic CSS3 objects
Publisher resources
Product information
- Title: Making Isometric Social Real-Time Games with HTML5, CSS3, and JavaScript
- Author(s):
- Release date: August 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449304751
You might also like
book
The Advanced Game Developer's Toolkit: Create Amazing Web-based Games with JavaScript and HTML5
Master the most important skills and techniques you need to know for professional HTML5 and JavaScript …
book
The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games
Want to start building great web games with HTML5 and JavaScript? Moving from Flash or other …
book
Building a 2D Game Physics Engine: Using HTML5 and JavaScript
Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from …
book
HTML5 Game Development by Example : Beginner's Guide - Second Edition
Make the most of HTML5 techniques to create exciting games from scratch Get to grips with …