What to use to write a mobile game ? HTML5 canvas or Native
What should I do is to write a game which purpose is to zoom - drag over
the screen with touch a stack of images (about 10-15). At first I was
convinced that HTML5 is the best solution because: -The game seems to not
have phisics nor heavy calculations or animations just consumes memory,
video memory and basically it's a complex UI.
I'm lost. I tryed to write some HTML5 using the COCOS2d-html5 framework.
When the game has to do with more the 5-6 layers (sprites) of images and I
try to drag all of them over the screen or even when I try to animate,
moving them over the screen on my Android 4.04 (Prestigio phone with 1Ghz
of CPU), performance are so bad the if I put the animation to 5 seconds
the overhead is so high that well I should be fortunate to see the end of
animation in 30 seconds.
So I wrote about 50% of the game code in cocos2d-html5 and now I'm stuck.
I heard that there are methods to run the HTML5 code as native. There are
many solutions over the internet and it seems that all of them claims to
be the BEST! solution. The budget and timings are limited too. Before to
pass definitely to native what do You suggest ?
No comments:
Post a Comment