increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

Bug when exporting a game using realtime_interval #21

Closed Draknek closed 10 years ago

Draknek commented 10 years ago

If you try to export a game which uses beta features, you don't get a warning. This is probably fine since the exported code wouldn't ever change?

However, the exported game is still trying to display a warning message, by looking for an element with id "errormessage". There is no such element on the standalone page, so the javascript code errors, with the effect that it appears to be stuck on the loading screen.

(It's not actually stuck though, it's just not showing the title screen. If you press X it will start the game)

increpare commented 10 years ago

good catch, thanks : )

On Fri, Nov 1, 2013 at 3:05 AM, Alan Hazelden notifications@github.comwrote:

If you try to export a game which uses beta features, you don't get a warning. This is probably fine since the exported code wouldn't ever change?

However, the exported game is still trying to display a warning message, by looking for an element with id "errormessage". There is no such element on the standalone page, so the javascript code errors, with the effect that it appears to be stuck on the loading screen.

(It's not actually stuck though, it's just not showing the title screen. If you press X it will start the game)

— Reply to this email directly or view it on GitHubhttps://github.com/increpare/PuzzleScript/issues/21 .

increpare commented 10 years ago

fixed.