The Lovely Blank Feedbak!

Discussion and feedback on Construct 2

Post » Tue Nov 26, 2013 9:32 pm

yeah everything is fine,C2 and Java but after I hit the Export Project button and I want to check the result in my browser,I get a black background!! Any way around?

Thank you a lot.
B
13
S
4
G
4
Posts: 42
Reputation: 3,962

Post » Tue Nov 26, 2013 9:56 pm

This is happening because browsers put some limitations on pages run from a disk. You need to upload your exported project to a server in order to make it work.Przemek327672013-11-26 21:58:11
B
177
S
81
G
29
Posts: 56
Reputation: 23,837

Post » Wed Nov 27, 2013 10:25 am

[QUOTE=Przemek32767] This is happening because browsers put some limitations on pages run from a disk. You need to upload your exported project to a server in order to make it work.[/QUOTE]

Thank you for this but I think there must be a more handy way around.
B
13
S
4
G
4
Posts: 42
Reputation: 3,962

Post » Wed Nov 27, 2013 11:07 am

Quote from the manual:
"Note exported projects, including the HTML5 export, cannot usually be run from disk. Your project must be uploaded to the web (for HTML5 export) or otherwise published before it will work."

The best way to run your game without having a web server is using a local server or your public dropbox folder.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Wed Nov 27, 2013 11:15 am

If your not well versed with servers but want to run your own local web server, I recommend WAMP (windows apache mysql) very easy install, and has a mysql database to boot, suported by the latest php.

If thats too much of a hassle, or you change computers a lot, then drop box is the way to go.
It integratesw with windows, adding an extra folder in your my documents, which is a direct link to the online dropbox folder.
So placing something online is as easy as just copy and pasting it to another one of your windows folders :)lennaert2013-11-27 11:15:48
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Wed Nov 27, 2013 1:00 pm

If you want to test your game, just preview it from within Construct 2 (and you can also use preview-over-Wifi to test it on multiple devices easily). Once you export as a HTML5 website, you must upload it to a real server before it can work, due to security restrictions in browsers.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Wed Nov 27, 2013 11:23 pm

Thank you all for your feedbacks,God bless C2 and it's community.
B
13
S
4
G
4
Posts: 42
Reputation: 3,962


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 28 guests