Re:Zynga Ports Cocos2D-X to Emscripten
by fuddle on Friday May 17, 2013 @02:55AM
(#5723045)
Great to see, I wonder if it would be possible to run any iOS app in the browser using this technology?
[ Parent
| on HN ]
Re:Zynga Ports Cocos2D-X to Emscripten
by robterrell on Friday May 17, 2013 @11:50AM
(#5725083)
This uses Cocos2dx, which is c++. Emscripten does not yet support Objective-C. Even if it did, someone would need to write an Objective-C runtime (probably not too hard, especially if you lean on Cappuccino for objj_msgsend). Once that hurdle is cleared, you'd need to source code for UIKit & whatever iOS frameworks you're using. What's more likely is a port of AppKit using Cappuccino components.