Hello! I’m finalizing a game and I’ve found that for some reason when I do a Release HTML5 build, some of my sprites are missing. For example, this opening screen
Ahh I got it. My own stupid fault, of course. I had a debug module that included this code:
local info = sys.get_engine_info()
if info.is_debug then
msg.post('@render:', 'use_fixed_fit_projection', { near = -100, far = 100 })
msg.post('@render:', 'resize', { width = 562.5, height = 1000 })
is_debug = info.is_debug and html5 == nil
end
I completely forgot that I need to set the projection and critically, the near and far value, when not in debug >…<