On Fri, Feb 11, 2011 at 2:43 PM, Tim Mensch <[email protected]> wrote:
> And the key point is that my games are written in C++ and Lua, and I can > build them for iPhone, Android, and Windows. Mac, Linux, and WebOS would be > trivial ports as well. C# can't give me that. > ... > In short: No. The game code is pure C++ (and Lua). The OS-specific > glue code on iOS uses Objective-C or Objective-C++, just like the glue > code on Android is Java and JNI, but I keep that layer really thin, down > to loading images and fonts using a C++ library, for example. I don't know if it's any different for mobile devices, but it's fairly straightforward to create C# bindings from C++ through C++/CLI and / or P/Invoke calls, just like you'd bind Java through JNI. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
