Android Game Programming by Example

John Horton

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-30
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 378
  • 裝訂: Paperback
  • ISBN: 1785280120
  • ISBN-13: 9781785280122
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Harness the power of the Android SDK by building three immersive and captivating games

About This Book

  • Implement the critical main game loop and structure your games to enable an array of advanced features
  • Animate your characters with sprite sheets, add multiple scrolling parallax backgrounds, and implement genuinely tough, playable levels in your games
  • Build super-smooth 60 frames per second with the help of this easy-to-follow, projects-based guide

Who This Book Is For

The book is best suited for existing Android or Java programmers who want to adapt their skills to make exciting Android games.

The book is also for determined readers who might have no Android, game programming or even Java experience, but a reasonable understanding of object oriented programming knowledge is assumed.

What You Will Learn

  • Build simple to advanced game engines for different types of game, with cool features such as sprite sheet character animation and scrolling parallax backgrounds
  • Design and implement genuinely challenging and playable levels
  • Implement the critical main game loop
  • Implement basic and advanced collision detection mechanics
  • Bring to life a challenging enemy AI
  • Make the math behind 2D rotation, velocity, and collisions simple
  • Run your game designs at 60 frames per second or better
  • Process multitouch screen input effectively and efficiently
  • Implement a multitude of other game features such as pickups, firing weapons, HUDs, generating and playing sound FX, scenery, level transition, high scores, and more
  • Implement a flexible and advanced game engine that uses OpenGL ES 2 for fast, smooth frame rates

In Detail

Android gaming is a hot topic these days, but one of the few areas of technology that does not have an abundance of clear and useful documentation online. However, there is an ever-increasing demand for Android games.

This book will help you get up to speed with the essentials of game development with Android. The book begins by teaching you the setup of a game development environment on a fundamental level. Moving on, the book deals with concepts such as building a home screen UI, implementing game objects, and painting the scene at a fixed resolution. Gradually, it builds up to the implementation of a flexible and advanced game engine that uses OpenGL ES 2 for fast, smooth frame rates. This is achieved by starting with a simple game and gradually increasing the complexity of the three complete games built step by step. By the end of the book, you will have successfully built three exciting games over the course of three engrossing and insightful projects.

商品描述(中文翻譯)

利用 Android SDK 的強大功能,建立三個引人入勝的遊戲。

關於本書:
- 實現關鍵的主遊戲循環,並結構化遊戲以實現各種高級功能。
- 使用精靈表格為角色添加動畫,添加多個滾動視差背景,並在遊戲中實現真正具有挑戰性的關卡。
- 通過這本易於理解的基於項目的指南,建立超流暢的每秒 60 幀遊戲。

本書適合現有的 Android 或 Java 程式設計師,他們希望運用自己的技能來製作令人興奮的 Android 遊戲。

本書也適合有決心的讀者,他們可能沒有 Android、遊戲編程甚至 Java 的經驗,但假設他們對面向對象編程有合理的理解。

你將學到什麼:
- 為不同類型的遊戲建立從簡單到高級的遊戲引擎,具有精靈表格角色動畫和滾動視差背景等酷炫功能。
- 設計和實現真正具有挑戰性且可玩的關卡。
- 實現關鍵的主遊戲循環。
- 實現基本和高級的碰撞檢測機制。
- 創造具有挑戰性的敵人 AI。
- 簡化 2D 旋轉、速度和碰撞背後的數學計算。
- 以每秒 60 幀或更高的速度運行遊戲設計。
- 有效且高效地處理多點觸控螢幕輸入。
- 實現許多其他遊戲功能,如拾取物品、發射武器、HUD、生成和播放音效、景觀、關卡過渡、高分等。
- 實現一個靈活且先進的遊戲引擎,使用 OpenGL ES 2 實現快速、流暢的幀率。

詳細內容:
Android 遊戲開發是當今熱門話題,但在網上很少有清晰且有用的文檔。然而,對 Android 遊戲的需求不斷增加。

本書將幫助您快速掌握 Android 遊戲開發的基本知識。書籍首先從基礎層面教授遊戲開發環境的設置。接著,書籍介紹了建立主畫面使用者界面、實現遊戲物件以及在固定解析度下繪製場景等概念。逐步地,書籍透過從簡單遊戲開始,逐步增加三個完整遊戲的複雜性,實現了一個靈活且先進的遊戲引擎,使用 OpenGL ES 2 實現快速、流暢的幀率。到書籍結束時,您將成功地通過三個引人入勝且富有洞察力的項目,建立了三個令人興奮的遊戲。