Android NDK Game Development Cookbook

0
(0)

Android NDK Game Development Cookbook
 

  • Author:Sergey KosarevskyViktor Latypov
  • Length: 320 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2013-11-25
  • ISBN-10: 1782167781
  • ISBN-13: 9781782167785
  • Sales Rank: #4012785 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Over 70 exciting recipes to help you develop mobile games for Android in C++

    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.

    Table of Contents

    Chapter 1: Establishing a Build Environment
    Chapter 2: Porting Common Libraries
    Chapter 3: Networking
    Chapter 4: Organizing a Virtual Filesystem
    Chapter 5: Cross-platform Audio Streaming
    Chapter 6: Unifying OpenGL ES 3 and OpenGL 3
    Chapter 7: Cross-platform UI and Input Systems
    Chapter 8: Writing a Match-3 Game
    Chapter 9: Writing a Picture Puzzle Game

    中文:

    书名:Android NDK游戏开发手册

    70多个令人兴奋的食谱,帮助你用C++开发Android手机游戏

    概述

    • 在桌面上开发和调试手机游戏的提示和技巧
    • 通过编写用于音频播放、网络访问和异步资源加载的多线程代码来增强您的应用程序
    • 使用现代OpenGL ES增强您的游戏开发技能,无需使用IDE即可开发应用程序
    • Features two ready-to-run Android games

    In Detail

    Android NDK用于需要直接访问系统资源的多媒体应用程序。Android NDK也是可移植性的关键,反过来,它使用熟悉的工具(如GCC和Clang工具链)提供了相当舒适的开发和调试过程。如果你希望使用这个令人惊叹的框架来构建Android游戏,那么这本书是必备的。

    这本书为你提供了一些清晰的循序渐进的方法,将帮助你开始使用Android NDK开发手机游戏,并提高你的生产力,在你的电脑上调试它们。这本书还将为您提供新的工作方式以及一些有用的提示和技巧,这些技巧和技巧将明显提高您的开发速度和效率。

    本书将带您了解一些简单易用的方法,帮助您充分利用Android NDK以及一些流行的C++库。它展示了用C++开发Android应用程序,并向您展示如何创建一个完整的游戏应用程序。

    您将学习如何编写可移植的多线程C++代码、使用HTTP联网、播放音频文件、使用OpenGL ES、呈现高质量文本,以及如何在多点触控设备上识别用户手势。如果你想在移动开发中利用你的C++技能,并为你的Android应用程序增加性能,那么这本书是为你准备的。

    你将从这本书中学到什么

    • Port popular C++ libraries to Android
    • 编写可移植的多线程代码
    • Play audio with OpenAL
    • 实现手势识别
    • Render text with FreeType
    • 使用OpenGL ES移植和抽象游戏代码中的API,以便在台式PC上开发游戏
    • 在桌面上调试移动应用程序
    • 从C++访问Flickr和Picasa Web服务
    • Extract resources from APK archives
    • 在没有IDE的情况下开发Android应用程序

    方法

    这是一本由70多个食谱组成的系统指南,旨在帮助您构建便携手机游戏,并通过明确的说明提高您的游戏开发技能。

    Who this book is written for

    如果您是一名C++开发人员,想要进入Android游戏开发的世界,并且想在现有的Android Java应用程序中使用现有C++库的强大功能,那么这本书是为您准备的。您需要具备C或C++的基本知识,包括指针操作、多线程和面向对象的编程概念,以及在不使用IDE的情况下开发应用程序的一些经验。

    Table of Contents

    第1章:建立构建环境
    第2章:移植公用库
    Chapter 3: Networking
    第4章:组织虚拟文件系统
    第5章:跨平台音频流
    第6章:统一OpenGL ES 3和OpenGL 3
    第7章:跨平台用户界面和输入系统
    第8章:编写一个Match-3游戏
    Chapter 9: Writing a Picture Puzzle Game

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册