A HTML5/WebGL resolution test

Previous topic - Next topic

Paul Smith

https://paulsmith6175gmailcom.itch.io/bc

If anyone want to report what their touchscreen stops at on a mobile
Amstrad CPC 6128, ATARI STE.
Acer  SW5-173 & AMD RYZEN 7,RTX 3060TI

erico

346 x 626 on my ancient galaxy 5 phone.

Qedo

351 746 (HUAWEI P30 PRO 2340x1080)

spacefractal

GETSCREENSIZE diddent work. You cant uses GETDESKTOPSIZE just as the startup, which its may still report the internal resolution and its for change and reflect in second time, which values may change after LOOP.

So hence make sure your game can been scaled automatic when a user resize the window. When that part work, its should also works fine fullscreen on Android.

If the device has a internal scaling value, its the device that rescaling up. Here nothing im can do.

Also you cant load all stuff at once in one loop eiter as the game may crash due timeout by the browser.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#4
im have splitted it into own topic as im thinks its a nice new post without clutter too much.

Also you have not used the fullscreen featuer from itch.io which is required for us to test. Or its will been in a contain usesless resolution for mobiles as fullscreen was newer used (you only get the current canvas window resoluton).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Paul Smith

Just reinstalled all my Steam stuff from Drive C to Drive D (free up my small 240g NVMe), I've installed HTML5Extras and know the HtmlPost script works as it shows in the console.
The problem I think I have is with HTML5Extra. If I use CheckCanvasSize() it returns with call to undefined function.

I know I could add it to my code and remove the DPRINT commands etc. But would love to know where i've gone wrong.
I dont think I got it working when it was on drive C and one of the reasons I reinstalled incase I corrupted something.

slightly off topic sometimes when I compile for Windows, the console shows LEAF duplicated ( or something similar ) but works. Any Ideas what this is?
Amstrad CPC 6128, ATARI STE.
Acer  SW5-173 & AMD RYZEN 7,RTX 3060TI

Qedo


Paul Smith

Thanks Qedo. I think now it maybe because I have stuff open its trying to alter when compiling.
Amstrad CPC 6128, ATARI STE.
Acer  SW5-173 & AMD RYZEN 7,RTX 3060TI