running good on pc but blackscreen on mobile just background.. is it because webp file for background… if there any solution to fix it coz png takes a lot mb
in preview or after exporting your game?
for file size you can use jpg. though no alpha
What is the resolution (not filesize) of the image in question?
Filesize doesn’t actually matter (unless cloud hosting) because textures are loaded into memory uncompressed. So a 1920x1080p png that is for some reason a filesize of 150mb (not a real scenario/possibility) would take the same amount of GPU RAM as a 1920x1080 webp with a filesize of 5mb.
They all become LxWx4bits. So 1920x1080x4, or roughly 8mb in GPU ram. Many mobile browsers have a max resolution of around 2000x2000, although some can have slightly more or less. Going over that size will lead the mobile browser (or electron, or equivalent) to just not render the image at all.
ok i will try and let uk
bro i tried jpeg its still black screen on phone.. but works fine on laptop after export
he did not talk about jpg.
he talked about image resolution