Back to skip links

Additional product details

eText: 
ISBN-10 144931578XISBN-13 9781449315788
Print: 
ISBN-10 1-4493-0475-3ISBN-13 978-1-4493-0475-1
Author(s): Mario Andres Pagella
Publisher: O'Reilly Media
Pages: 156
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 spritesCreate an isometric grid pattern for high-performance graphicsDesign a GUI that works equally well on mobile devices and PCsAdd sound to your game with HTML5’s audio elementImplement the game’s path-finding function with WebWorkersBuild a client data model on the server with PHP and MySQLMake your game come alive with dynamic CSS3 objects

Three Ways to Study
with eTextbooks!

  • Read online from your computer or mobile device.
  • Read offline on select browsers and devices when the internet won't be available.
  • Print pages to fit your needs.

CourseSmart eTextbooks let you study the best way – your way.