Android NDK Game Development Cookbook
暫譯: Android NDK 遊戲開發食譜
Sergey Kosarevsky, Viktor Latypov
- 出版商: Packt Publishing
- 出版日期: 2013-11-25
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 320
- 裝訂: Paperback
- ISBN: 1782167781
- ISBN-13: 9781782167785
-
相關分類:
Android
海外代購書籍(需單獨結帳)
商品描述
For C++ developers, this is the book that can swiftly propel you into the potentially profitable world of Android games. The 70+ step-by-step recipes using Android NDK will give you the wide-ranging knowledge you need.
Overview
- Tips and tricks for developing and debugging mobile games on your desktop
- Enhance your applications by writing multithreaded code for audio playback, network access, and asynchronous resource loading
- Enhance your game development skills by using modern OpenGL ES and develop applications without using an IDE
- Features two ready-to-run Android games
In Detail
Android NDK is used for multimedia applications which require direct access to a system's resources. Android NDK is also the key for portability, which in turn provides a reasonably comfortable development and debugging process using familiar tools such as GCC and Clang toolchains. If your wish to build Android games using this amazing framework, then this book is a must-have.
This book provides you with a number of clear step-by-step recipes which will help you to start developing mobile games with Android NDK and boost your productivity debugging them on your computer. This book will also provide you with new ways of working as well as some useful tips and tricks that will demonstrably increase your development speed and efficiency.
This book will take you through a number of easy-to-follow recipes that will help you to take advantage of the Android NDK as well as some popular C++ libraries. It presents Android application development in C++ and shows you how to create a complete gaming application.
You will learn how to write portable multithreaded C++ code, use HTTP networking, play audio files, use OpenGL ES, to render high-quality text, and how to recognize user gestures on multi-touch devices. If you want to leverage your C++ skills in mobile development and add performance to your Android applications, then this is the book for you.
What you will learn from this book
- Port popular C++ libraries to Android
- Write portable multithreaded code
- Play audio with OpenAL
- Implement gesture recognition
- Render text with FreeType
- Use OpenGL ES to port and abstract APIs from the game code to develop games on a desktop PC
- Debug mobile applications on your desktop
- Access Flickr and Picasa web services from C++
- Extract resources from APK archives
- Develop Android applications without an IDE
Approach
A systematic guide consisting of over 70 recipes which focus on helping you build portable mobile games and aims to enhance your game development skills with clear instructions.
Who this book is written for
If you are a C++ developer who wants to jump into the world of Android game development and who wants to use the power of existing C++ libraries in your existing Android Java applications, then this book is for you. You need to have basic knowledge of C or C++ including pointer manipulation, multithreading, and object-oriented programming concepts as well as some experience developing applications without using an IDE.
商品描述(中文翻譯)
對於 C++ 開發者來說,這是一本能迅速將你推入潛在獲利的 Android 遊戲世界的書籍。這本書提供了 70 多個逐步指導的食譜,使用 Android NDK,將為你提供所需的廣泛知識。
概述
- 在桌面上開發和調試移動遊戲的技巧和竅門
- 通過編寫多執行緒代碼來增強應用程序的音頻播放、網絡訪問和異步資源加載
- 通過使用現代 OpenGL ES 來提升你的遊戲開發技能,並在不使用 IDE 的情況下開發應用程序
- 包含兩個可直接運行的 Android 遊戲
詳細內容
Android NDK 用於需要直接訪問系統資源的多媒體應用程序。Android NDK 也是可攜性的關鍵,這反過來又提供了一個相對舒適的開發和調試過程,使用熟悉的工具如 GCC 和 Clang 工具鏈。如果你希望使用這個驚人的框架來構建 Android 遊戲,那麼這本書是必備的。
這本書為你提供了一系列清晰的逐步食譜,幫助你開始使用 Android NDK 開發移動遊戲,並提高你在電腦上調試它們的生產力。這本書還將為你提供新的工作方式以及一些有用的技巧和竅門,這些都將顯著提高你的開發速度和效率。
這本書將帶你通過一些易於遵循的食譜,幫助你利用 Android NDK 以及一些流行的 C++ 庫。它展示了 C++ 的 Android 應用程序開發,並告訴你如何創建一個完整的遊戲應用程序。
你將學會如何編寫可攜式的多執行緒 C++ 代碼,使用 HTTP 網絡,播放音頻文件,使用 OpenGL ES 渲染高品質文本,以及如何在多點觸控設備上識別用戶手勢。如果你想在移動開發中利用你的 C++ 技能並為你的 Android 應用程序增強性能,那麼這本書就是為你而寫的。
你將從這本書中學到的內容
- 將流行的 C++ 庫移植到 Android
- 編寫可攜式的多執行緒代碼
- 使用 OpenAL 播放音頻
- 實現手勢識別
- 使用 FreeType 渲染文本
- 使用 OpenGL ES 將遊戲代碼中的 API 移植和抽象到桌面 PC 上開發遊戲
- 在桌面上調試移動應用程序
- 從 C++ 訪問 Flickr 和 Picasa 網絡服務
- 從 APK 檔案中提取資源
- 在不使用 IDE 的情況下開發 Android 應用程序
方法
這是一本系統性的指南,包含超過 70 個食譜,專注於幫助你構建可攜式的移動遊戲,並旨在通過清晰的指導提升你的遊戲開發技能。
本書的讀者對象
如果你是一名希望進入 Android 遊戲開發世界的 C++ 開發者,並希望在現有的 Android Java 應用程序中使用現有 C++ 庫的力量,那麼這本書就是為你而寫的。你需要具備 C 或 C++ 的基本知識,包括指針操作、多執行緒和面向對象編程概念,以及一些在不使用 IDE 的情況下開發應用程序的經驗。