Build an HTML5 Game: A Developer's Guide with CSS and JavaScript (Paperback)

Build an HTML5 Game: A Developer's Guide with CSS and JavaScript (Paperback)

作者: Karl Bunyan
出版社: No Starch Press
出版在: 2015-03-23
ISBN-13: 9781593275754
ISBN-10: 1593275757
裝訂格式: Paperback
總頁數: 224 頁





內容描述


If you already have even basic familiarity with HTML, CSS, and JavaScript, you're ready to learn how to build a browser-based game. In Build an HTML5 Game, you'll use your skills to create a truly cross-platform bubble-shooter game - playable in both desktop and mobile browsers.As you follow along with this in-depth, hands-on tutorial, you'll learn how to:Send sprites zooming around the screen with JavaScript animationsMake things explode with a jQuery plug-inUse hitboxes and geometry to detect collisionsImplement game logic to display levels and respond to player inputConvey changes in game state with animation and soundAdd flair to a game interface with CSS transitions and transformationsGain pixel-level control over your game display with the HTML canvasThe programming starts right away in Chapter - no hemming and hawing, history, or throat clearing. Exercises at the end of each chapter challenge you to dig in to the bubble shooter's code and modify the game.Go ahead. Take the plunge. Learn to create a complete HTML5 game right now and then use your newfound skills to build your own mega-popular, addictive game.




相關書籍

The Well Grounded Rubyist 3/e

作者 David A. Black Joseph III Leo

2015-03-23

A Designer's Guide to Adobe InDesign and XML: Harness the Power of XML to Automate your Print and Web Workflows

作者 James J. Maivald Cathy Palmer

2015-03-23

建構微服務|設計細微化的系統 (Building Microservices)

作者 Sam Newman 楊仁和 譯

2015-03-23