   Gamemaker to Java to Iphone
  Hey, I like making simple games in gamemaker and just got an itouch and was wondering if it's possible to comvert a gamemaker game to java then convert that to an iphone app. The reason i want to convert the gamemaker file to java first is because i know it's impossible to convert a gamemaker exe. to a iphone app file. whats wrong with this idea?   
Quote:Original post by hobojetwhats wrong with this idea?Well, a fundamental misunderstanding of how programming works might be the problem if I read your post correctly. It's not possible at all to 'convert' programs in one language to another language with any kind of simple 'tool' or button or anything. You could port the game from one language to the other, but that usually requires a total re-write of the game from the ground up. Also, you wouldn't use Java as a stepping stone here, as iPhone/iPod apps are written exclusively in Objective-C(or C++ if you use certain third-party SDKs).   ;Quote:Original post by BromordraQuote:Original post by hobojetwhats wrong with this idea?Well, a fundamental misunderstanding of how programming works might be the problem if I read your post correctly. It's not possible at all to 'convert' programs in one language to another language with any kind of simple 'tool' or button or anything. You could port the game from one language to the other, but that usually requires a total re-write of the game from the ground up. Also, you wouldn't use Java as a stepping stone here, as iPhone/iPod apps are written exclusively in Objective-C(or C++ if you use certain third-party SDKs).Isn't it possible that Gamemaker can compile to JVM or even Java source? It would be pretty unusual, but compiling via C is pretty common so why not Java?Regardless, it's not possible because Apple hates third party developers and screws them over just so they can play their childish games against Adobe has decided that because of quality considerations anything written using anything but C, C++, Objective C or &#106avascript is strictly prohibited. This also applies to source level translation, so you can't just have a compiler/RAD tool like Gamemaker output C/C++/ObjC/JS either.   ;Quote:Original post by Valderman This also applies to source level translation, so you can't just have a compiler/RAD tool like Gamemaker output C/C++/ObjC/JS either.Not that I'm considering doing it, but how would they know the difference?;Quote:Original post by ValdermanQuote:Original post by BromordraQuote:Original post by hobojetwhats wrong with this idea?Well, a fundamental misunderstanding of how programming works might be the problem if I read your post correctly. It's not possible at all to 'convert' programs in one language to another language with any kind of simple 'tool' or button or anything. You could port the game from one language to the other, but that usually requires a total re-write of the game from the ground up. Also, you wouldn't use Java as a stepping stone here, as iPhone/iPod apps are written exclusively in Objective-C(or C++ if you use certain third-party SDKs).Isn't it possible that Gamemaker can compile to JVM or even Java source? It would be pretty unusual, but compiling via C is pretty common so why not Java?Regardless, it's not possible because Apple hates third party developers and screws them over just so they can play their childish games against Adobe has decided that because of quality considerations anything written using anything but C, C++, Objective C or &#106avascript is strictly prohibited. This also applies to source level translation, so you can't just have a compiler/RAD tool like Gamemaker output C/C++/ObjC/JS either.Oh, well, I didn't know that Gamemaker could cross-compile to Java. I don't use it that much. Either way, my point stands I think.;  My previous company had a proprietary tool that can convert J2ME source to iPhone/Windows Mobile/Android.  It is possible to create such tools, but typically there are limitations because of the differences in the API.  If you are asking that's publicly available, I can't think of any.   ;  If you want Java -> iPhone then you want XMLVM. Although it's not just a case of running it and it spits out a converted app, you'll probably have to change some api calls and generally rework some of the lower-level code.   ;  If you are planning to develop for the App Store, forget about anything outside of the ObjC/C, and possibly C++ circle. Apple denied Sun the opportunity to port Java to the iPhone so that is out of the question. And doesn't game make use it's own language for the game making?Also, I doubt that games made with anything but the libraries and headers included with the iPhone SDK will work on your touch. I know, I was struggling to write a hello world app on an iPod touch for the past week.Your options are:- If you plan to agree fully with what Apple wants, you will need a Mac and about 90 bucks for the developer fee to put the apps on your iPod. The SDK is free to download but still need a Mac to use it. Ultimately you can put the apps on your iPod via jailbreak.- You can also use the OpenSDK on Linux, but I do not know if Apple will let you publish those apps on your iPod, otherwise Jailbreak.- If you're a die hard Windows user (I know I am ;]), you can use a virtual machine and run a Mac OS X in it (I believe the newest Mac OS is runnable in such fashion) to use the SDK. Then it's publish via iTunes or use via jailbreak.- Set up an SDK within your iPod/iPhone and go from there. This way you can use C as well as C++ (from what I know. I prefer to stick to C myself).- The Cydia/Rock repositories provide Java for the iPod so you can do Java on your iThingy even if Apple doesn't want you too ;PI'm sure there are other possibilities but these seem the easiest ;] Good luck!   ;  Thanks for the replies. That clears things up. :)   