My HTML5 game freaks out, even when put on the server

Dunno if it is bug or I am just incredibly stupid (again), but game freaks out even when put on webserver. The symptom is game hanging when it was supposed to change to new scene.

The server is standard *AMP setup (apache, mysql, php, though obviously I make only use of first one) on localhost. I’m not putting my game on GDShare until it is complete and I don’t want to mess with setting up free hosting just to put game (plus I don’t want random guys play it
just yet).

If you know why it may happen, please help me.

All usual suspects are out - I’m 100% sure I’ve spelled scene name in Change Scene event correctly and game is indeed hanging as I’ve put random animated test sprite on the titlescreen and it froze when I pressed key responsible for starting game.

It isn’t “just loading slowly” either, because I let this on for like 10 minutes and it didn’t start.

//edit: I’ve found this in JS console, so it is most likely a bug. Please move it to appropriate board, thank you:

-- [04:32:38.387] TypeError: this._pixiRenderer is undefined @ http://localhost/~html5test/code.js:328

//edit #2: Code.js: pastebin.com/crwEcTNK

//edit #3: When unminified, code error looks like this:

-- [04:41:12.765] TypeError: this._pixiRenderer is undefined @ http://localhost/~html5test/runtimescene.js:54

Runtimescene.js:
pastebin.com/T3tnwgZF

Code.js corresponds to your first scene in your project hierachy.
The issue lies most probably in that scene.
Check again if there’s an empty space at the end of the scene name. Should have been corrected in the last updates, but we cannot be always sure. Check also the type of pictures you’re using : png or jpg, no progressive, no more than 800x600, less than 100 dpi.

But keep in mind that HTML5 is handled very poorly in IE, leading to strange crashes and various bug.
Test your project in Firefox first. Localy and eventually online. I don’t think your webserver setup is the source of the problem.

EDIT:

Yep, you’re right!
Got the same problem here with the 2013-12-19 version, which I didn’t get since a long time with previous versions.
Might be a glitch somewhere in the js code generator…
Let’s poke 4ian a little about it…

EDIT 2 :
I’ve sent a pm to 4ian, with a demo project where he can test the issue directly.
Let’s wait for some news.

I don’t test ANYTHING in IE. It’s a shit. I’ve tested it in chrome and FF. Also as I’ve said, I’m 100% sure that I’ve spelled scene name correctly. I’ve even hit F2 on scene and copied name, then pasted to the event. Nothing.

It’s a regession, I’m fixing it.

So it’ll be fixed next version? Great.

The fix is available in GD 3.2.67 :slight_smile:

Thanks, already downloaded.