Exported project...all white.

Discussion and feedback on Construct 2

Post » Sun Dec 18, 2011 10:32 pm

Hey guys, I searched the forums for threads on this, but found none that helped.

I exported my capx to drop box and want to run the app on facebook. However, when I view the app it shows all white. Shift+cntrol+j shows a bunch of parse errors. What's up? I didn't mess anround with even the html file!

App url: https://apps.facebook.com/306487722719360/
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Sun Dec 18, 2011 11:07 pm

Custom party plugin might cause problems, do you use any ?

When the page is viewed, firebug raises :
uncaught exception: Error: Permission denied <https://apps.facebook.com> to get the property Proxy.InstallTrigger

cr is not defined
[Stop on error] cr.createRuntime("c2canvas");

The second part (cr) means that the application can't be executed.
And that's because of the first part and the "Proxy.InstallTrigger" property.

Once again, it could come from a custom plugin/behavior. If you use some, please list them and get in touch with their author through the plugins' topic.
If it's a genuine C2 bug @Ashley should have a look at this.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Dec 18, 2011 11:09 pm

Might also be worth trying the export without using Minify, as this is known to break at times.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,849
Reputation: 48,299

Post » Mon Dec 19, 2011 1:21 am

Thanks guys for the help. I'm thinking it is a problem with the touch plugin....checking it out now!
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Mon Dec 19, 2011 1:57 am

Yep, that was it. Thanks bros!!
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Mon Dec 19, 2011 3:49 am

Phew, i was about to contact Affirmative Action.
B
19
S
3
G
2
Posts: 148
Reputation: 1,945

Post » Mon Dec 19, 2011 4:56 pm

The original problem is that your game code is supposed to be here:

https://dl.dropbox.com/u/53823971/hellfire/index.html/c2runtime.js

Which is a 404 not found (so the game code is not there). However, that URL looks wrong, index.html should be a file not a folder. So this isn't a problem with minify, you must have exported the project incorrectly somehow. What settings did you use for the export folder and subfolder paths?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Dec 19, 2011 9:58 pm

Actually, the game works when ran from the drop box link, though the Facebook app does not work. Facebook demands a secure link, so I just altered the link from http to https.


https://apps.facebook.com/306487722719360/

When I exported the project, I simply placed a folder called "hellfire" into the drop box public folder, then added the files/folders as they were made from the export. I just placed them in the root public folder without any change.

B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Mon Dec 19, 2011 11:21 pm

Yeah, the link you've entered in to Facebook is invalid. You must not have a slash at the end. See the tutorial. It should either end with the 53823971/ or have a fake query string e.g. index.html?s=1 - you can't use it like you've put.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Dec 19, 2011 11:38 pm

Sweet chickens! It is working now! Gracias Ashley!
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests