Optimization game html5

I make the first game of HTML5 in the UE 4.11. I need help in optimizing the game. Test it locally and it works very slowly, it has a large lag. How to reduce it’s size in order to improve it’s performance.

Thank you in advance for your help.

When developing for HTML5, you are running under a lot of the same restrictions for Mobile development. The first thing you want to do if your project is running slowly, is to gather some stats and monitor where your project is dropping in performance.

To do this, you will want to use the command ‘stat scenerendering’ to observe draw calls and other helpful statistics, as well as the HTML 5 Documentation to give you guidelines in which to work.

Let me know if you have further questions.

Cheers,

To bring up the console command use the tilde key (~) and type ‘Stat Scenerendering’ then press Enter.

To disable certain plugins, you can go to Settings > Plugins and disable any plugins you want. Be careful though, as there are some enabled by default that might cause your project in editor not to function as expected.

Thank you for your help. I used an option for mobile. Actually it works better, but it still doesn’t satisfy me.
How to use the command ‘stat scenerendering’?
And if you can disabled plugins in engine or something like that?

Ok I will try.

I still have a question. WebGL 2.0?
I found a page WebGL Report and it turned out that my browser doesn’t support WebGL 2.0. And I have the latest version of chrome.

You know why?

This could be an issue with the Web GL platform and nothing to do with your side of things. I also get the same message and have the most up to date version of chrome.

Thank you very much for your help. It’s probably nothing more I can do.