Instant HTML5 2D Platformer

Aidan Temple

  • 出版商: Packt Publishing
  • 出版日期: 2013-08-29
  • 售價: $1,070
  • 貴賓價: 9.5$1,017
  • 語言: 英文
  • 頁數: 52
  • 裝訂: Paperback
  • ISBN: 1849696780
  • ISBN-13: 9781849696784
  • 相關分類: HTML
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn how to develop a 2D HTML5 platformer that is capable of running in modern browsers

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn about HTML5 2D game development and how to create your own HTML5 games
  • Embed your game within a webpage and share it with friends
  • Create enhanced games and publish to the Apple app store, Google Play, Windows Marketplace, or Facebook

In Detail

Game development has traditionally only been accessible to those with experience in computer science and access to the best or most expensive development tools. However, with the advent of technologies such as HTML5 and the ability to self-publish, web-based games such as those on Facebook and smartphones are becoming more attractive to develop than ever before. Through the use of open technologies such as HTML5, anyone with even a basic understanding of games development can begin to develop video games in their spare time and publish them to the Web or as an application for mobile devices.

Instant HTML5 2D Platformer is a practical, hands-on guide that provides you with a number of clear, step-by-step, task-based exercises, which are used to discuss game development and put into practice development techniques through the use of HTML5 and JavaScript. This book looks at the creation of a 2D platform-based game using the HTML5 canvas element.

Instant HTML5 2D Platformer introduces you to HTML5 canvas through a number of exercises, which show what the canvas is capable of. The book contains a number of clear, practical, hands-on tasks that incrementally build on the concepts of game creation and result in a 2D HTML5 platform-based game.

By undertaking the tasks within this book, you will learn how to develop your own 2D HTML5 game framework that you can use in the creation of your own video games, not just the game developed within this book. Alongside this framework you will learn how to develop and understand 2D animation, game logic, and how to handle user input devices.

What you will learn from this book

  • Develop a multi-browser-compatible HTML5 game
  • Implement a JavaScript-based games framework
  • Handle user input devices
  • Create a game object management system that will be used to represent the player, enemy units, and collectible items
  • Implement your own 2D animation manager system
  • Add sound effects to an HTML5 game
  • Monitor game statistics and reflect this through an HTML5-canvas-based graphical interface

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. The step-by-step approach taken by this book will show you how to develop a 2D HTML5 platformer-based game that you will be able to publish to multiple devices.

Who this book is written for

This book is great for anyone who has an interest in HTML5 games development, and who already has a basic to intermediate grasp on both the HTML markup and JavaScript programming languages. Therefore, due to this requirement, the book will not discuss the inner workings of either of these languages but will instead attempt to describe the functionality of the code present within this book.

商品描述(中文翻譯)

學習如何開發一個能在現代瀏覽器中運行的 2D HTML5 平台遊戲

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時成果
- 了解 HTML5 2D 遊戲開發及如何創建自己的 HTML5 遊戲
- 將你的遊戲嵌入網頁並與朋友分享
- 創建增強版遊戲並發佈到 Apple App Store、Google Play、Windows Marketplace 或 Facebook

詳細內容
遊戲開發傳統上僅對那些具備計算機科學經驗和使用最佳或最昂貴開發工具的人可及。然而,隨著 HTML5 等技術的出現以及自我發佈的能力,基於網路的遊戲,如 Facebook 和智能手機上的遊戲,變得比以往更具吸引力。透過使用 HTML5 等開放技術,任何對遊戲開發有基本了解的人都可以在空閒時間開始開發視頻遊戲,並將其發佈到網路或作為移動設備的應用程式。

《Instant HTML5 2D Platformer》是一本實用的、動手操作的指南,提供多個清晰的、逐步的、基於任務的練習,這些練習用於討論遊戲開發並通過使用 HTML5 和 JavaScript 實踐開發技術。本書探討了使用 HTML5 canvas 元素創建 2D 平台遊戲的過程。

《Instant HTML5 2D Platformer》通過多個練習介紹 HTML5 canvas,展示 canvas 的能力。本書包含多個清晰、實用的動手任務,逐步建立遊戲創建的概念,最終形成一個 2D HTML5 平台遊戲。

通過完成本書中的任務,你將學會如何開發自己的 2D HTML5 遊戲框架,這個框架可以用於創建自己的視頻遊戲,而不僅僅是本書中開發的遊戲。除了這個框架,你還將學會如何開發和理解 2D 動畫、遊戲邏輯,以及如何處理用戶輸入設備。

你將從本書中學到的內容
- 開發一個多瀏覽器兼容的 HTML5 遊戲
- 實現基於 JavaScript 的遊戲框架
- 處理用戶輸入設備
- 創建一個遊戲物件管理系統,用於表示玩家、敵方單位和可收集物品
- 實現自己的 2D 動畫管理系統
- 為 HTML5 遊戲添加音效
- 監控遊戲統計數據並通過基於 HTML5 canvas 的圖形介面反映這些數據

方法
本書充滿了實用的、逐步的指導和對最重要和有用任務的清晰解釋。本書採取的逐步方法將向你展示如何開發一個基於 2D HTML5 平台的遊戲,並能夠將其發佈到多個設備上。

本書的讀者對象
本書非常適合對 HTML5 遊戲開發感興趣的人,並且已經對 HTML 標記和 JavaScript 程式語言有基本到中級的掌握。因此,由於這一要求,本書不會討論這兩種語言的內部運作,而是試圖描述本書中代碼的功能。