help: black screen after refresh

Get help using Construct 2

Post » Tue Jul 10, 2012 9:28 am

how do i remove the appcache from working?
http://sakgames.com/fruitdartr1/
here is my game i'm making
the only problem i'm facing is that after you play the game once the next time the game doesn't load i guess that this relate to appcache anyone have a solution for the black screen?
the black screen happened after you play the game once and refresh it

thank you so much
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Tue Jul 10, 2012 9:34 am

sorry if i posted it in the wrong section
i think this should be posted in the bug section?
sorry guys :(
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Tue Jul 10, 2012 2:03 pm

If you check for browser errors you'll see an error come up something like "Cannot call method 'sort' of undefined". This could be a bug in C2, but it is usually more likely caused by third party plugins which don't support the minifier.

Are you using any third party plugins or behaviors? Does it work if you disable minify?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jul 10, 2012 3:35 pm

i tried disabling the minify http://sakgames.com/FruitDartr11/
but it still doesn't work.
the only third party plugin i used is the moveto plugin
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Tue Jul 10, 2012 3:47 pm

Ah, it looks like a bug in the Facebook plugin. I'll see if I can get that fixed for the next build. As a workaround in the mean time, it looks like you're requesting hi-scores on startup before the user is even logged in, and the request fails which causes the error. You should be able to avoid the problem by not requesting hi-scores until the user has finished logging in.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jul 10, 2012 3:54 pm

thank you i fixed it now
http://sakgames.com/fruitdarts1/

thank you so much ashley for your help :)
B
14
S
1
Posts: 31
Reputation: 1,208


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 12 guests