Build an HTML5 Game: A Developer's Guide with CSS and JavaScript (Paperback)
暫譯: 建立 HTML5 遊戲:開發者指南(含 CSS 和 JavaScript)

Karl Bunyan

  • 出版商: No Starch Press
  • 出版日期: 2015-03-23
  • 售價: $990
  • 貴賓價: 9.5$941
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 1593275757
  • ISBN-13: 9781593275754
  • 相關分類: CSSHTMLJavaScript
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

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 animations
  • Make things explode with a jQuery plug-in
  • Use hitboxes and geometry to detect collisions
  • Implement game logic to display levels and respond to player input
  • Convey changes in game state with animation and sound
  • Add flair to a game interface with CSS transitions and transformations
  • Gain pixel-level control over your game display with the HTML canvas
The 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.

商品描述(中文翻譯)

如果您對 HTML、CSS 和 JavaScript 已經有基本的了解,那麼您已經準備好學習如何建立一個基於瀏覽器的遊戲。在《建構 HTML5 遊戲》中,您將運用您的技能創建一個真正跨平台的泡泡射手遊戲 - 可以在桌面和移動瀏覽器中遊玩。

在這個深入的實作教學中,您將學習如何:

- 使用 JavaScript 動畫讓精靈在螢幕上快速移動
- 使用 jQuery 插件讓物體爆炸
- 利用碰撞盒和幾何形狀來檢測碰撞
- 實作遊戲邏輯以顯示關卡並回應玩家輸入
- 透過動畫和聲音傳達遊戲狀態的變化
- 使用 CSS 轉場和變形為遊戲介面增添風采
- 透過 HTML canvas 獲得對遊戲顯示的像素級控制

程式設計將在第一章立即開始 - 沒有拖延、歷史或清喉嚨的時間。每章結尾的練習挑戰您深入泡泡射手的程式碼並修改遊戲。

來吧。勇敢地踏出這一步。立即學習如何創建一個完整的 HTML5 遊戲,然後利用您新學到的技能來建立您自己的超人氣、上癮遊戲。