A Beginner's Guide to 2D Shooter Games with Unity: A Beginner's Guide to 2D Shooter Games with Unity: Create a Simple 2D Shooter Game and Learn to Cod
暫譯: Unity 2D 射擊遊戲入門指南:創建簡單的 2D 射擊遊戲並學習編程

Felicia, Patrick

  • 出版商: Createspace Independent Publishing Platform
  • 出版日期: 2017-02-02
  • 售價: $1,120
  • 貴賓價: 9.5$1,064
  • 語言: 英文
  • 頁數: 144
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1542900492
  • ISBN-13: 9781542900492
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

商品描述

In this book, the second in the "Beginner's Guide" series, you will create a simple 2D shooter game, create challenging gameplay and learn techniques to code more in less time.

This book can be read as a standalone (you don't need to have read the previous books in the series, although it may help) and focuses on: scoring system and lives (e.g., keeping track of the score), user interface (menus and in-game information for 2D games), movement of the spaceship (e.g., left, right, up and down), missiles and explosions (i.e., fire missiles or create animated explosions upon collision), Artificial intelligence (e.g., moving independently or attacking the player) and improving your C# programing and Unity skills (e.g., important and useful functions and principles that you can reuse in your own games).

The main idea behind this book is to save you some headaches when you need to create your 2D shooter and to help you to find the time to actually code your game, by explaining simple and effective ways and best coding practices that you can use easily to create more code (and games) in less time with less stress and more fun.

The content of each chapter is as follows:

  • Chapter 1, Creating a Simple Level, shows you how to create a simple level for a shooter game including a spaceship that you can move in all directions, missiles that you can fire, and meteorites that appear in random locations and that can be destroyed or avoided by the player.
  • Chapter 2, Adding Special Effects, explains how it is possible to create simple, yet effective, visual effects to improve your game. Along the way, you will learn how to use sprite sheets and slice them to create your own animations.
  • Chapter 3, Improving our Game, explains how you can add some interesting Artificial Intelligence to the NPCS (i.e., enemies) so that they can detect and shoot at the player; you will also learn how to keep track of the health of the player and the NPCs.
  • Chapter 4, Polishing-up the game, shows and explains how to make the game even more challenging by progressively increasing the difficulty levels of the game, to add a temporary shield to the player, along with sound effects.
  • Chapter 5 provides answers to Frequently Asked Questions (FAQs) related to the topics covered in this book.
  • Chapter 6 summarizes the topics covered in the book and provides you with more information on the next steps.

The method explained in this book has been tried-and-tested, and I can guarantee that after reading this book, you will be able to create your own 2D shooter games; this is because the book includes step-by-step instructions, plenty of screenshots and explanations, and a format that is easy to read (just like a friend or a friendly instructor would explain coding to you: in a casual way, yet concise, accurate, and informative).

After buying the book, you also get access to the author, if you have any question, and to plenty of free add-ons worth over $100 exclusively made available to you including a member area with weekly updates, a private Facebook group where you can post your questions, over 25 tutorials (video and text), cheat sheets, discounted paperback copies, and much more

商品描述(中文翻譯)

在這本書中,作為「初學者指南」系列的第二本,您將創建一個簡單的 2D 射擊遊戲,設計具有挑戰性的遊戲玩法,並學習在更短的時間內編寫更多代碼的技巧。

這本書可以獨立閱讀(您不需要閱讀系列中的前一本書,雖然這可能會有所幫助),重點包括:計分系統和生命(例如,跟蹤分數)、用戶界面(2D 遊戲的菜單和遊戲內信息)、太空船的移動(例如,向左、向右、向上和向下)、導彈和爆炸(即,發射導彈或在碰撞時創建動畫爆炸)、人工智慧(例如,自主移動或攻擊玩家)以及提升您的 C# 編程和 Unity 技能(例如,您可以在自己的遊戲中重用的重要和有用的函數和原則)。

這本書的主要理念是幫助您在創建 2D 射擊遊戲時減少一些麻煩,並幫助您找到實際編寫遊戲的時間,通過解釋簡單有效的方法和最佳編碼實踐,使您能夠輕鬆創建更多代碼(和遊戲),在更短的時間內減少壓力並獲得更多樂趣。

每章的內容如下:


  • 第一章,創建簡單關卡,展示如何為射擊遊戲創建一個簡單的關卡,包括可以在各個方向移動的太空船、可以發射的導彈,以及隨機出現的隕石,玩家可以摧毀或避開這些隕石。

  • 第二章,添加特效,解釋如何創建簡單但有效的視覺效果來改善您的遊戲。在此過程中,您將學習如何使用精靈圖集並將其切片以創建自己的動畫。

  • 第三章,改善我們的遊戲,解釋如何為 NPC(即敵人)添加一些有趣的人工智慧,使其能夠檢測並射擊玩家;您還將學習如何跟蹤玩家和 NPC 的生命值。

  • 第四章,完善遊戲,展示並解釋如何通過逐步提高遊戲的難度來使遊戲更具挑戰性,為玩家添加臨時護盾,以及音效。

  • 第五章提供與本書所涵蓋主題相關的常見問題解答(FAQs)。

  • 第六章總結本書所涵蓋的主題,並為您提供有關下一步的更多信息。

這本書中解釋的方法經過驗證,我可以保證在閱讀完這本書後,您將能夠創建自己的 2D 射擊遊戲;因為這本書包含逐步的指導、豐富的截圖和解釋,以及易於閱讀的格式(就像朋友或友好的講師向您解釋編碼一樣:以輕鬆的方式,但簡潔、準確且信息豐富)。

購買本書後,您還可以獲得作者的支持,如果您有任何問題,並且可以獲得價值超過 100 美元的許多免費附加內容,包括每週更新的會員區、可以發佈問題的私人 Facebook 群組、超過 25 篇教程(視頻和文本)、備忘單、折扣的平裝書以及更多內容。