How to easily port a cocos2d-html5 app to cocos2d-iphone

618 views Asked by At

I wrote a cocos2d-html5 app. Due to performance issues I need to port it to native cocos2d-iphone. How can I do it easily. I heard about javascript-bindings and stuff like that. I'm not sure if this is possible. What is the best way to proceed ?

1

There are 1 answers

3
Jason Hurt On BEST ANSWER

You can use cocos2d-x with the JavaScript bindings, the API is 1-1 with cocos2d-html5: http://www.cocos2d-x.org/.

Also checkout the sample game using the JavaScript bindings on github: https://github.com/jhurt/cocos2d-x/tree/gles20/samples/MoonWarriors