Answer the question
In order to leave comments, you need to log in
What is the best way to port a 2d game from unity to html5?
Chrome has stopped supporting the unity web player. There is a 2d game written in unity 4, C# scripting language. The game was written for about six months. The task is to port the game to html5. Unity 5 has support for webgl (preview). The version with the translation to version 5 and porting to webgl has not yet succeeded (problems with memory - the browser just crashes on a fairly powerful computer). There is another option to rewrite the game on cocos2d-js (or another web game engine), but in this option, the development time, as I understand it, will be comparable to the development time on unity. In this regard, a few questions:
Answer the question
In order to leave comments, you need to log in
In my opinion, WebGL is still very raw, both from the side of the unit and from the side of the developers of the standard. Even simple things like changing the color of a sprite did not work for me. Judging by the unity's plans , WebGL is not a priority right now, but IL2CPP is actively developed, so there is a chance that the situation with the web will also get better. It is also possible that your crashes are related to a banal memory leak, and you just need to profile and repair the hole. Rewriting on another engine is dangerous, maybe everything will fall in the same way there, first check that you are doing everything correctly in the unit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question