Load HTML Canvas

Load HTML Canvas
0

#1

Hi !

I have a game code by html 5, now i want load it to screen cocos2d-js.

Anyone can help me do it. Thanks you


#2

Hi,

As I understand you have some game implemented just in html 5 without cocos2d.
And you want to port it to cocos2d?


#3

Yep. i have game code by js. Now i wana bring to cocos2d-js.


#4

Sad news: you need to port it manually: rewrite UI in coocs2d.
Good news: cocos2d supports js so you can copy many code related to logic.


#5

i have a solution is using webiew to play it. This game is really big, i cant re-code all UI the same.


#6

If you use web view then you don’t need Cocos :smile: