Android NDK Game Development Cookbook
Sergey Kosarevsky, Viktor Latypov
- 出版商: Packt Publishing
- 出版日期: 2013-11-25
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 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遊戲世界。使用Android NDK的70多個逐步指南將為您提供所需的廣泛知識。
概述:
- 在桌面上開發和調試移動遊戲的技巧和技巧
- 通過編寫多線程代碼來增強應用程序的音頻播放、網絡訪問和異步資源加載功能
- 使用現代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將遊戲代碼從桌面PC移植和抽象API,調試移動應用程序,從C++訪問Flickr和Picasa網絡服務,從APK存檔中提取資源,以及在不使用IDE的情況下開發Android應用程序。
這是一本系統指南,包含70多個食譜,旨在幫助您構建可移植的移動遊戲,並提高您的遊戲開發技能。
本書適合C++開發者,希望進入Android遊戲開發領域,並希望在現有的Android Java應用程序中使用現有C++庫的能力。您需要具備C或C++的基本知識,包括指針操作、多線程和面向對象編程概念,以及一些不使用IDE開發應用程序的經驗。