HTML5 export just shows black screen.

Get help using Construct 2

Post » Thu Apr 11, 2013 2:07 am

Hi, Ive exported a one layout demo of my current project.. when ever I click on the Index file I just get a black screen on my browser.. Any Ideas?
B
32
S
5
Posts: 156
Reputation: 3,210

Post » Thu Apr 11, 2013 4:27 am

I should clarify, I have also uploaded it to drop box etc.. I just cant get it to run.
B
32
S
5
Posts: 156
Reputation: 3,210

Post » Thu Apr 11, 2013 4:48 am

the problem is with Dropbox.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,190
Reputation: 18,272

Post » Thu Apr 11, 2013 5:23 am

If you used any plugins that are not compatible with the latest Construct 2 script compression, that can cause black screen too. Try disabling compression when you export.
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Thu Apr 11, 2013 5:44 pm

Check for browser errors and it usually tells you the cause. If you're hosted on Dropbox, they sometimes fail to send files... using a real host might be better.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Thu Apr 11, 2013 7:31 pm

Ok, Ill try all of these things! thanks. On some of the tutorial videos they say to play the index file to se eif its working.. and that doesnt do anything for me either. Thanks for the help guys!
B
32
S
5
Posts: 156
Reputation: 3,210

Post » Thu Apr 11, 2013 7:34 pm

Ok, this is weird.. it seems to work with IE and firefox.. but not chrome. Just clicking on the Index file will launch the game (minus some effects)But when I launch chrome.. nothing happens, black screen.
B
32
S
5
Posts: 156
Reputation: 3,210

Post » Thu Apr 11, 2013 7:36 pm

In Chrome im getting this error.

Viewport target-densitydpi is not supported. index.html:9
Failed to load resource file://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
Uncaught Error: SecurityError: DOM Exception 18 c2runtime.js:48
B
32
S
5
Posts: 156
Reputation: 3,210

Post » Thu Apr 11, 2013 11:33 pm

Failed to load resource file://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

you might upload this file again
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Fri Apr 12, 2013 12:44 am

Sounds like exactly the problem everyone else has been having with Dropbox. It's a pretty unreliable host right now, it seems.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Next

Return to How do I....?

Who is online

Users browsing this forum: LeFuji, qaisarehman and 21 guests