Introducing JavaScript Game Development: Build a 2D Game from the Ground Up

Graeme Stuart

  • 出版商: Apress
  • 出版日期: 2017-12-07
  • 售價: $1,300
  • 貴賓價: 9.5$1,235
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 1484232518
  • ISBN-13: 9781484232514
  • 相關分類: JavaScript
  • 立即出貨 (庫存=1)

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

商品描述

Learn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been easier than it is now. New web technology allows even beginner developers to turn their hand to game development. Developed from an undergraduate course module, Introducing JavaScript Game Development teaches each new technology as it is introduced so can be followed by enthusiastic beginners as well as intermediate coders.

 

You will learn how to work with HTML5 and the canvas element, how to understand paths, how to draw to a design and create your spaceship and asteroids. You’ll then move on to animating your game, and finally building. You will work step-by-step through the game design process, starting with only what is necessary to complete each step, and refactoring the code as necessary along the way, reflecting the natural progression that code follows in the real world. Each chapter is designed to take your code base to the next level and to add to your skills. After completing the examples in this book you will have the tools necessary to build your own, high-quality games.

 

Make the process of creating object-oriented 2D games more fun and more productive and get started on your game development journey. 

商品描述(中文翻譯)

學習使用HTML5、CSS和JavaScript建立一個完全功能的2D遊戲,靈感來自於1979年Atari經典遊戲Asteroids。現在開發遊戲比以往任何時候都更容易。新的網頁技術使得即使是初學者開發者也能投身於遊戲開發。《Introducing JavaScript Game Development》是從一個大學課程模組發展而來,它在介紹每一個新技術的同時教授相應的技術,因此不僅適合熱情的初學者,也適合中級開發者。

你將學習如何使用HTML5和canvas元素,如何理解路徑,如何根據設計繪製你的太空船和小行星。然後,你將進行遊戲動畫製作,最後進行遊戲建立。你將逐步進行遊戲設計過程,從只完成每一步所需的內容開始,並根據需要重構代碼,反映代碼在現實世界中的自然進展。每一章都旨在將你的代碼提升到更高的水平,並增加你的技能。完成本書中的示例後,你將具備構建自己高質量遊戲所需的工具。

讓創建面向對象的2D遊戲的過程更有趣、更高效,並開始你的遊戲開發之旅。