Will using v3.11 to compile a game for web enable you to successfully play the game on a mobile phone web browser?
There have been experiences where the game fails when played on a mobile phone web browser, but works fine on a PC web browser. I’m hoping v3.11 will rectify this. See below:
opened 01:16PM - 02 Mar 16 UTC
3.9 and 3.10 do not work in iOS Safari.
You can see this bug in action by downl… oading the html5 version ( lite or full ) and viewing the HelloWorld.html page in Safari.
The issue is that Safari won't append styles to the body. This causes a crash and the app stops running.
line 878 of the uncompressed, full version of cocos2d-js-v3.10.js
878 document.body.appendChild(fontStyle);
Change to
878 document.head.appendChild(fontStyle);
Hi, I’m making a cocos2d-js game that is currently working OK in desktop browsers, but when I try to open it in Chrome or Firefox in a Motorola Moto G it crashes the page with no error information when the game is loading and reaching 94%, and in...
Hello all, I made a preliminary game and put it on a website. You can play it here: The game works fine in any PC web browser. However, in my mobile web browser (Chrome on a moto g3), the game is glitchy. Squares are not changing colour when...
Reading time: 1 mins 🕑
Likes: 1 ❤