I made some changes in the platform/emscripten module. Specifically, I scaled the content size to double and then reduced the canvas size to half. We get the same result zoom 50% in browsers.
I don’t know why I can’t see the project in my browser (Chrome - the last version). I can’t even see it in Microsoft Edge. Nevertheless I do see it in my android phone (chrome browser).
After the Splas Screen I can only see a black screen.
I recently tested one of my games on Poki and got the same result, and I thought it was a bug in my game, however when I tested it on my hosting it looked fine.
Any idea about this behaviour?
I tested and found that at a certain screen size, the same error will appear as you said. Specifically, when I zoom at 67% and 33%, but when I use the browser’s debugging tool to use the size of the Android device, this error will not appear. I don’t understand very well, it needs to be more digging.
Awesome @Kan98 the result is amazing.
Can I ask you which defaultMode you use of these for windows: “normal”, “minimized”, “maximized”, or “fullscreen”
I have always done the HTML5 builds with Solar2D 2021.3659 because it’s the version that has given me the best results, but with later versions and using the defaultMode ‘maximized’, the content expands so much in the browser that it exceeds the screen dimensions. However, on mobile devices, it displays well. But with 2021.3659, it displays correctly on both platforms.
BTW, could you share again the webtemplate with the update