I did some research and cannot find a simple easy way to start my cocos2d-x project, which is built on C ++ on the Internet. If anyone has a solution besides re-writing my code in js or html, I would love to hear it. Things I've tried so far ...
Emscripten . I managed to convert cpp / c files to js and run them using this, but I would like for an easy way to run the whole project, and not separate class files, Cocos2d has some support with Emscripten, and there is no good documentation to force this work. If anyone has success, please help me.
Marmalade . It seems that this can be done using cocos2d-x, but you need to change the code to work with marmalade for a port on the Internet. I am not interested in this, especially if I need to buy marmalade, not knowing for sure the quality and results. Does anyone have positive results using Marmalade Quick / OpenQuick?
NaCl : It seems promising, but it doesn't update very well. Does anyone have success?
We look forward to other alternatives and thoughts. I sent the same question to the coos2d forumns: http://discuss.cocos2d-x.org/t/run-cocos2d-x-project-in-browser/25224
Thanks.
source
share