AgoutiGames / RawSalmonEngine

A game engine utilising "Tiled" map files
GNU Lesser General Public License v3.0
17 stars 1 forks source link

Web Build stuck at loading same mapfile again when using chrome #102

Closed VectorWolf closed 4 years ago

VectorWolf commented 4 years ago

Further investigation on this bug is needed. This behavior was seen in https://github.com/AgoutiGames/Calaveras where after death the game is stuck and doesn't reset to the main menu. Firefox doesn't has this issue and is working flawlessly...

VectorWolf commented 4 years ago

The problem got even stranger. If the build is self hosted on a single web page (or via "python -m SimpleHTTPServer"), the problem occurs, but on itch.io there is no problem with any browser. See for yourself: https://calaveras.agouti.games https://agoutigames.itch.io/sounds-of-nothingness

VectorWolf commented 4 years ago

Bug was specific to the Calaveras game. It got stuck because it waited for the death sound to finish before reloading the menu.