kesiev / akihabara

A game engine for making classic arcade style games using Javascript and HTML5. We're starting moving on a re-organized repo here: https://github.com/akihabara
http://www.kesiev.com/akihabara
GNU General Public License v2.0
531 stars 57 forks source link

Chromium 9: Crashs on loading local games #7

Closed cbfloor closed 13 years ago

cbfloor commented 13 years ago

Download from github: kesiev-akihabara-c1acf6a

Browserversion: Chromium 9.0.595.0 (67389)

Unable to load: game-akibahero.html game-leavemealone.html game-solitude.html game-tlol.html

Exception according to chromium debugger: gbox.js:1883 Uncaught Error: NETWORK_ERR XMLHttpRequest Exception 101

All other demos work fine in this Chromium.

Online-versions of those demos work fine, for example http://www.kesiev.com/akihabara/demo/game-tlol.html

Firefox 4 successfully starts all local demofiles.

kesiev commented 13 years ago

Are you trying them without a web server? Chrome (and Chromium too, I thing) disabled local ajax calls for security issues so games with external resources, that are loaded via Ajax, will crash. Is this your scenario?

cbfloor commented 13 years ago

Yes, I just downloaded the files and startet the demo-htmls via doubleclick in a local directory.

But how comes, that the other demos work? Dont they have external resources?

Thanks for the fast answer!

kesiev commented 13 years ago

Well... resources was too generical - excuse me. For resources I mean the JSON structures with datas, like the Akibahero songs, the Leave Me Alone stages, the Solitude levels and the TLOS dungeon. Capman maze and HOF credits data are in the same file of the game. TSpin is very particular and uses classic JS includes instead of JSON resource files. Images and sounds are loaded without JSON (creating and

cbfloor commented 13 years ago

Thanks for the explanation. So, no bug on your side and a bit more understanding on mine :)

kesiev commented 13 years ago

That's better for me, you and the project :)