I did the same thing. I spent a ton of time making my image elements as small/lightweight as possible. But it’s my understanding that once rendered in a browser, the file size of the objects are as rendered on the screen (so, in your case, 3X their size), and not as uploaded. So, my understanding is that what you’ve done can save time loading the game, but not boost performance playing it.
Hi, do you mean you exported your original assets at a larger size or you’re using small images and sizing them up 3 times in GDevelop? I don’t know if either impacts performance I was just curious.
Is it pixel art? How many images? What format are you exporting them as? Do you have a background image? How large, what format? What’s the average image size (I mean like kb)?
For lag do you have a lot of images moving around, animating etc at the same time?
Like Lucky-J, I am also suspicious an event may be the culprit. I have some fairly asset rich games, and one I am currently working on is about the same 240MB, and the only struggles so far are were I messed up in the coding part. Might be worth a look. Do you have a link to the game?
That’s my understanding after 5 years of using develop and reading these forums. The file size of the image is different from how many pixels it takes up on the screen and the ability of the machine (computer, phone, etc) to move them. Hope that makes sense.
You might have a 32x32 png (1,024 pixels) that’s 10kb. But if in the game you make it 3x bigger, that’s 9,216 uncompressed pixels the cpu/gpu has to process/render.
Since loading time is not really important to me, and there are too many assets to replace already,
I think I will stick to my current resolution and settings.
I just tried the Steam demo out, and I did not have any lag issues, just wanted you to know that. Fun game! I run a 3090Ti, 2 CPU Xeon E5-2690 3Ghz 10Core (x2) , 64 Gb RAM, though. Also downloaded it onto my ancient laptop, it ran fine until the “curtains” at the scene change. These lagged drastically, but not enough to freeze, but no lag on the attack waves… The laptop runs Win7, though, so only will support Steam for about another 50 days. Hope that info helps.