Chapter 5
Supporting Multiple Platforms in C++
There will come a time in your game development career when you have to write code which will only work on a single platform. That code will have to be compiled out of other platforms. You will more than likely also have to find alternative implementations for each of the platforms you will be working on. Classic examples of such code can usually be found in interactions between your game and online login and microtransaction solutions such as Game Center, Google+, Xbox Live, PlayStation Network and Steam.
There can be more complicated problems between different platforms. iOS devices run on Arm processors, Android supports Arm, x86 and MIPS and most other operating systems can be run on more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access