mygame_adaptive_mobile.zip (2.4 MB)
Thank you for paying attention to my solution. Currently, the previous code has some issues on mobile devices. Although it is responsive, it somehow degrades the quality of the image output. I have provided an example that solves this problem by modifying the GAME.onResize function. The actual logic remains the same, and this is exactly what I am currently using in my projects.