Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17091

Run cocos2d-x project in browser

$
0
0

@ctapp1 wrote:

I have done some research and can't find a direct easy way to run my cocos2d-x project which is built in c++ on the web. If anyone has a solution besides re-writing my code in js or html I would love to hear it. Things I have tried so far...

Emscripten : I was able to convert cpp/c files in js and run them using this, but I would like an easy way to run a whole project, rather than individual class files. Cocos2d has iffy support using Emscripten and there isn't great documentation to get this to work. If anyone has success with this, please guide me.

Marmalade : It looks like this can be done with cocos2d-x but you have to alter the code to work with marmalade to port to the web. I am not interested in doing this especially if I have to purchase marmalade without knowing for sure the quality and results. Does anyone have positive results using Marmalade's Quick/OpenQuick?

NaCl : It seems promising but it isn't updated very well. Anyone have success with this?

Looking forward to hearing other alternatives and thoughts. I posted the same question on stackoverflow: http://stackoverflow.com/questions/33945668/run-cocos2d-x-project-in-browser

Thanks.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>