Health Bar Fix


Patch Notes:

  • Fixed a bug in some browsers that didn't properly tile the players Health Bar
  • Removed Unity outer chrome from the game page


So some people reported that the Health Bar never changed when they got hit. It appeared to be affecting some Mac users and Edge users.

Turns out, for Unity WebGL, if you don't give a tiled sprite a border, Edge won't render it properly. Despite it showing perfectly fine in the editor and only showing a warning that it needed a border.

It didn't need a border, it was a sprite designed to tile. Giving it a 1px border also threw off all the alignment. Turns out it works fine with just a vertical border which doesn't throw off any of my horizontal alignment.

Files

Builds.zip Play in browser
Mar 06, 2018