I’ve come across a strange issue when building a facebook instant version of my app. All the textures and the labels look terrible, as in they don’t look crisp or sharp as they do in other versions like android.
I’m using the Orthographic camera and FIXED_ZOOM projection. I’ve tried every scale mode in the HTML settings in game.project but am getting the same result.- blurry objects and labels with blurry fonts.
I’d very grateful for any insight into this. Thanks.
I have a vague memory of having a similar problem, but not sure if it was with Defold. @p_m are you using the default Defold HTML5 template, or a custom one? Edit: Just saw @britzl asked the same question.
Sorry for the late reply. My city was caught in the cyclone Amphan and everything is pretty much destroyed here. Electricity and internet just got restored.
I’m using a custom template since I just modified my android version by adding fbinstant and requisite code. Is this the wrong way of doing things? Should I use the desktop template instead?
Thanks guys for your concern. Just getting through it was insane. Never felt or seen anything that powerful.
Thankfully, most people in my part of the city are fine physically since most houses around here are made of concrete with reinforced steel beams. So we can say that we got lucky. But most roads are still blocked by thousands of uprooted trees, electric and traffic poles. Electricity hasn’t been restored in most areas. People nearer to the sea and living in non-concrete houses have bore the brunt of the ferocity of the storm - houses and farmland have been completely destroyed. It’d take months, if not years to get everything back in order.
But are you using the default value for the .html shell field in the HTML5 section?
Hmm, I copied the shell field from the tic-tac-toe example. Maybe I missed something? Because the tic-tac-toe example obviously works perfectly. I guess I’ll do it again.
Comparing the android screenshot with the fb instant game screenshot, it very clear how the textures and the labels don’t look right in the fb instant version. They’re kind of blurry and low resolution looking.
FB Instant
Android