[SOLVED] Crashes on mobile (HTML5) > how to optimize memory usage?

Thanks for the explanations! (Almost) everything is clearer now.

That’s what I thought I should do (even though I was not aware of the exact calculation). I assume it would have interesting side effects (like reducing the build size etc.)

Anyway, now I have the confirmation that I need to switch to the Defold audio system (if I want to be able to use ogg files).

I get the principle (and indeed I’d like to make it work on as many devices as possible), but just to be 101% sure: in the end, what matters is the “final” tilesource dimensions, right? (and not the dimensions of the image used in this tilesource)

Image (used in the tilesource) dimensions:

Tilesource dimensions (with “extrude borders” set to >0):

In this case, I’ll need to slightly reduce the image dimensions so the tilesource dimensions (incl. “extrude borders”) will be 2048x2048.

1 Like