Integrate class into UiViewController
Monkey Targets Forums/iOS/Integrate class into UiViewController
| ||
Hello! We're trying to integrate Monkey-x on our iOS App. When exported to iOS Monkey-X puts the code on the Main.mm and Main.h files. We need to launch the game at some point on our app, to acomplish this we need launch the game inside an UIViewController. How can this be made? Has anybody done this before? Thanks in advance. |
| ||
Can you, please, explain more? Do you have an app written not on Monkey-X? And you want to launch another app written on Monkey-X inside your non-monkey app? In this case you have to compile two different apps. And player should download them all. |
| ||
We have an iOS native app writen in Objective-C and the Monkey-x game exported for iOS on Objective-C too, but Monkey-x puts all its exported code inside the Main.mm and Main.h files and we need to put it all on a UIViewController so we can launch it whenever we want. |