Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I mentioned this on Twitter because I hadn't yet seen the link to this board, but loading games doesn't work reliably in Firefox because loadDataURL assumes data: URLs load synchronously, which is only the case in Chrome: https://github.com/ResponsiveImagesCG/picture-elem... .

If you wrap the rest of that function in image.onload = function() { ...} that should make it work reliably cross-browser.