Hello,
I tested a bit more and made the HTML5-Version including touch-events ready.
On my Browser everything works fine. I tested it on a touch-tablet and it also works, but the performance is really bad. (only on mobile devices / tablets, on PC everything works perfect!)
The Size of the HTML5-Version is like 3 MB and it also loads very fast, but than the game is just lagging...
Are there any options to "tune" the performance of the app? Or is it normal that the HTML5-Version makes some laggs on smartphones / tablets?
Best regards.
Maybe this is helpful:
I run the debugmode in Construct 2 and I got in the game mode (where the laggs are) following informations:
-> over 250.000 Collision-checks / second
-> 4.000 poly-checks / second
-> 200 Moved cell / second
-> 16 cell count
-> 119 objects
The game mode is like a match3-game and there are 64 objects (8x8) on the field. If I disable the collision for the field objects, there are only 100 collision-checks / second. So I think the 64 match3-objects on the field causes the laggs.
But how can I fix this? I've created just 5 different objects and they are spawning in the game mode so that there are 64 objects on field. Is there a better way to do this?