HTML export with poor performance

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By FelipeRattu

The game is hosted here for testing: https://immeasurable-encoun.000webhostapp.com

Game rules:

You must have the same color of the background so for this you must grab the item to change your color as you run and as the background changes.

The number above the character is his speed that increases every 5 seconds till reach 500.

Controls:

  • Any keyboard input except for Enter = jump (hold down input to jump heigher)
  • Enter = restart game

*if inputs not working click the game screen

THE PROBLEM:

Takes too long to load and is kind of slow to run sometimes :S depends on the computer and browser, normally works better in firefox.

Sometimes in chrome the screen goes black after the game is loaded and the game never shows up.

is there a way to improve performance? is there something to change or add when building?