tilegame / TileExperiments

experiments with tiling systems for web games.
https://tilegame.github.io/TileExperiments/
0 stars 0 forks source link

Safari compatibility #11

Closed fractalbach closed 6 years ago

fractalbach commented 6 years ago

Mysterious bug in safari. Idk what it is yet.

Some resources here:

https://hacks.mozilla.org/2016/07/make-the-web-work-for-everyone/

fractalbach commented 6 years ago

Problem had something to do with variable declarations.

Using babel seems to the fix the problems, even though it seems like overkill for just making this work on safari.

Checked on iPad iOS version 10.3.3

fractalbach commented 6 years ago

The javascript is working.

there still exists a CSS issue with the order of the layers. (players are appearing in front of the bushes)

fractalbach commented 6 years ago

Fixed with the use of babel