Sams Teach Yourself Android Game Programming in 24 Hours (Paperback)

Jonathan S. Harbour

  • 出版商: SAMS
  • 出版日期: 2012-11-15
  • 定價: $1,200
  • 售價: 8.0$960
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 0672336049
  • ISBN-13: 9780672336041
  • 相關分類: Android
  • 立即出貨 (庫存=1)

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

商品描述

In just 24 sessions of one hour or less, Sams Teach Yourself Android Game Programming in 24 Hours will help you master mobile game development for Android 4. Using a straightforward, step-by-step approach, you’ll gain hands-on expertise with the entire process: from getting access to the hardware via the Android SDK to finishing a complete example game. You’ll learn to use the Android SDK and open source software to design and build fast, highly playable games for the newest Android smartphones and tablets. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

 

Step-by-step instructions carefully walk you through the most common Android game programming tasks.

Quizzes and exercises at the end of each chapter help you test your knowledge.

By the Way notes present interesting information related to the discussion.

Did You Know? tips offer advice or show you easier ways to perform tasks.

Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.

 

Jonathan Harbour is a writer and instructor whose love for computers and video games dates back to the Commodore PET and Atari 2600 era. He has a Master’s in Information Systems Management. His portfolio site at http://www.jharbour.com includes a discussion forum. He also authored Sams Teach Yourself Windows Phone 7 Game Programming in 24 Hours. His love of science fiction led to the remake of a beloved classic video game with some friends, resulting in Starflight—The Lost Colony (http://www.starflightgame.com).

 

Learn how to…

  • Install and configure the free development tools, including the Android 4 SDK, Java Development Kit, and Eclipse (or NetBeans)
  • Use the Android graphics system to bring your game characters to life
  • Load and manage bitmaps, and use double buffering for better performance
  • Incorporate timing and animation with threaded game loops
  • Tap into the touch screen for user input
  • Learn to use Android sensors such as the accelerometer, gyroscope, compass, light detector, and thermometer
  • Integrate audio into your games using the media player
  • Build your own game engine library to simplify gameplay code in your projects
  • Animate games with sprites using atlas images and fast matrix transforms
  • Employ object-oriented programming techniques using inheritance and data hiding
  • Create an advanced animation system to add interesting behaviors to game objects
  • Detect collisions and simulate realistic movement with trigonometry
  • Experiment with an evolving engine coding technique that more naturally reflects how games are written

商品描述(中文翻譯)

在僅僅24個小時或更少的時間內,《Sams Teach Yourself Android Game Programming in 24 Hours》將幫助您掌握Android 4的手機遊戲開發。通過一種直觀的、逐步的方法,您將親身體驗整個過程:從通過Android SDK獲取硬件訪問權限到完成一個完整的示例遊戲。您將學習使用Android SDK和開源軟件設計和構建快速、高度可玩的遊戲,適用於最新的Android智能手機和平板電腦。每一課都建立在您已經學到的基礎上,為實際應用成功打下堅實的基礎!

逐步指導仔細引導您完成最常見的Android遊戲編程任務。

每章末尾的測驗和練習幫助您測試自己的知識。

“順便說一下”筆記提供與討論相關的有趣信息。

“你知道嗎?”提示提供建議或展示更簡單的執行任務的方法。

“注意!”警告提醒您可能遇到的問題,並給出避免問題的建議。

Jonathan Harbour是一位作家和教師,他對計算機和視頻遊戲的熱愛可以追溯到Commodore PET和Atari 2600時代。他擁有信息系統管理碩士學位。他的作品網站http://www.jharbour.com包括一個討論論壇。他還撰寫了《Sams Teach Yourself Windows Phone 7 Game Programming in 24 Hours》。他對科幻小說的熱愛導致他與一些朋友重新製作了一款受人喜愛的經典視頻遊戲,結果誕生了《Starflight—The Lost Colony》(http://www.starflightgame.com)。

學習如何...

- 安裝和配置免費的開發工具,包括Android 4 SDK、Java開發工具包和Eclipse(或NetBeans)。
- 使用Android圖形系統使您的遊戲角色栩栩如生。
- 加載和管理位圖,並使用雙緩衝提高性能。
- 通過線程遊戲循環實現定時和動畫。
- 利用觸摸屏進行用戶輸入。
- 學習使用Android傳感器,如加速度計、陀螺儀、指南針、光探測器和溫度計。
- 使用媒體播放器將音頻集成到您的遊戲中。
- 構建自己的遊戲引擎庫,以簡化項目中的遊戲代碼。
- 使用圖集圖像和快速矩陣變換對遊戲進行精靈動畫。
- 使用繼承和數據隱藏的面向對象編程技術。
- 創建高級動畫系統,為遊戲對象添加有趣的行為。
- 檢測碰撞並使用三角函數模擬真實運動。
- 嘗試一種不斷發展的引擎編碼技術,更自然地反映遊戲的編寫方式。