商品描述
Android games programmers now have the power to write games for Android tablets. Beginning Android Tablet Games Programming explains how to enhance your Android games using the new tablet interface and the additional screen estate. You'll learn how to bring your programming skills up to date and into a world where touch screens, games physics, and artificial intelligence come together in new and surprising ways.
Beginning Android Tablet Games Programming shows how to quickly and easily set up an Android development environment—in no time at all, you'll be programming away. You'll begin with some simple games using sprites and choreographed movement. Next, you'll learn how to handle user input in the modern age of touch screens and motion.
Along the way, you'll discover how to use that extra screen space on a tablet to provide more relaxed and more interesting user interactions in your games. You'll learn how to use sound and music, for instance, to make your application menus more user-friendly.
The Android operating system has recently acquired multicore functionality to meet the demands of multicore devices now entering the tablet market. With Beginning Android Tablet Games Programming, you'll discover how to harness that new power with your games programming through more process-demanding and fun techniques, including physics modeling, rich game world representation, artificial intelligence, and multiplayer interactions.
Throughout each chapter of Beginning Android Tablet Games Programming, you'll find code that you can add or adapt to your own games to create the components you want. You can also work up to wrapping everything together into a complete Mario-type example game.
Finally, when you have your first games ready, learn how developers have released their games and made a profit. You'll find tips on how to present your games in the Android and other application markets, and a solid approach to games marketing and monetization.
What you’ll learn
- How to set up an Android tablet programming environment
- How to program for touchscreens and other input devices
- Techniques to take advantage of the extra screen size of a tablet
- How to take advantage of multicore processing power in your games
- How to program a multiplayer game
- How to add artificial intelligence to in-game opponents
- How to program game modes, game states, and game worlds
- How to program a complete game
- About in-app marketing and games monetization
Who this book is for
This is a book for Java programmers new to Honeycomb, tablets and games programming. An experienced games programmer can also use this book to migrate their existing expertise to the Android and the tablet environment.
Table of Contents
- Setting Up for Android 3.0 Java Development
- Creating Simple Games with Sprites and Movement
- Creating Gathering User Input
- Adding Sounds Effects, Music, and Video
- One-Player Game with Obstacles
- A Ball and Paddle Game
- Building a Two-Player Game
- A One-Player Strategy Game Part I
- A One-Player Strategy Game Part II
- Publishing the Game
- Testing Android Games on a Real Device
商品描述(中文翻譯)
Android 遊戲程式設計師現在可以為 Android 平板電腦編寫遊戲。《Beginning Android Tablet Games Programming》解釋了如何利用新的平板介面和額外的螢幕空間來增強您的 Android 遊戲。您將學習如何更新您的程式設計技能,進入一個觸控螢幕、遊戲物理和人工智慧以全新且驚人的方式結合的世界。
《Beginning Android Tablet Games Programming》展示了如何快速且輕鬆地設置 Android 開發環境—您將在短時間內開始編程。您將從一些使用精靈和編排運動的簡單遊戲開始。接下來,您將學習如何在觸控螢幕和動作的現代時代中處理用戶輸入。
在這個過程中,您將發現如何利用平板的額外螢幕空間來提供更輕鬆且更有趣的用戶互動。您將學習如何使用聲音和音樂,例如,讓您的應用程式菜單更具用戶友好性。
Android 作業系統最近獲得了多核心功能,以滿足現在進入平板市場的多核心設備的需求。通過《Beginning Android Tablet Games Programming》,您將發現如何利用這種新能力,通過更具處理需求和有趣的技術來進行遊戲編程,包括物理建模、豐富的遊戲世界表現、人工智慧和多人互動。
在《Beginning Android Tablet Games Programming》的每一章中,您將找到可以添加或調整到自己遊戲中的程式碼,以創建您想要的組件。您還可以逐步將所有內容整合成一個完整的馬里奧類型示例遊戲。
最後,當您準備好第一個遊戲時,學習開發者如何發布他們的遊戲並獲利。您將找到如何在 Android 和其他應用市場中展示您的遊戲的提示,以及一個穩固的遊戲行銷和變現方法。
您將學到什麼
- 如何設置 Android 平板程式設計環境
- 如何為觸控螢幕和其他輸入設備編程
- 利用平板額外螢幕大小的技術
- 如何在遊戲中利用多核心處理能力
- 如何編程一個多人遊戲
- 如何為遊戲中的對手添加人工智慧
- 如何編程遊戲模式、遊戲狀態和遊戲世界
- 如何編程一個完整的遊戲
- 關於應用內行銷和遊戲變現
本書適合誰
這是一本針對新接觸 Honeycomb、平板和遊戲編程的 Java 程式設計師的書籍。經驗豐富的遊戲程式設計師也可以使用本書將他們現有的專業知識遷移到 Android 和平板環境。
目錄
- 為 Android 3.0 Java 開發設置環境
- 使用精靈和運動創建簡單遊戲
- 創建用戶輸入收集
- 添加音效、音樂和視頻
- 具有障礙的單人遊戲
- 一個球和球拍遊戲
- 構建一個雙人遊戲
- 單人策略遊戲第一部分
- 單人策略遊戲第二部分
- 發布遊戲
- 在真實設備上測試 Android 遊戲