ebook img

Bringing C and C++ Games to Android PDF

107 Pages·2011·5.89 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Bringing C and C++ Games to Android

1 Bringing C and C++ Games to Android Ian Ni-Lewis Dan Galpin Game Developer Advocates May, 11 2011 Feedback: http://goo.gl/NudVs #Android About This Talk Audience – C/C++ Developers – Android background – Game development experience – No prior NDK knowledge needed Agenda – Programming Android in C/C++? – Using the NDK – Bringing your game to Android – Troubleshooting, tips, and tricks – Best practices 3 Programming Android in C/C++? Native development on phones, tablets, and beyond 4 The NDK Provides Support for C/C++ Development NDK = Native Development Kit C++ Scenarios: – Reuse existing libraries – Accelerate key subroutines • Access VFP and NEON – Port entire games 5 What’s in the Box? Toolchain – Standard gcc cross-compilers Really fancy build system – Primarily written in GNU make – Based on Android platform build system Headers and libraries – C and C++ runtimes – Stable system interface 6 Why are Headers and Libraries So Important? Application Code Framework Classes JNI Runtime System Libraries Linux Kernel 7 Why are Headers and Libraries So Important? Application Code Framework Classes JNI Runtime System Libraries Linux Kernel 7 Why are Headers and Libraries So Important? Application Code Framework Classes JNI Runtime Your Libraries System Libraries Linux Kernel 7 Why are Headers and Libraries So Important? Application Code Framework Classes JNI Runtime Your Libraries System Libraries Linux Kernel 7

Description:
Bringing C and C++ Games to Android. About This Talk Audience – C/C++ Developers – Android background – Game development experience – No prior NDK knowledge
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.