When i export this and run the html, i get a white box. I've hosted it on a server too. It seems to work fine in preview.
I've sent to a friend and my project does the same thing there too.
mediafire.com
please help <img src="smileys/smiley19.gif" border="0" align="middle" />
I exported your .capx HERE and it works OK.
let me delete everything and download it and try again ^^
I deleted everything. Downloaded the capx i uploaded, opened it, exported it and uploaded to; holydownload.net/rpgserver . White box. also a white box if i open on disk.
What am i doing wrong? It used to work fine.
I can't possibly say! Are you sure you're selecting the correct export option? Are you ensuring that ALL of the exported files are being uploaded?
There is an error on your site to do with web-sockets, so maybe the site doesn't like it?
Well, i can't even run the html from file. I get the same error. The version on there doesn't use websockets anymore, so i can factor that out.
I just reinstalled Construct 2 and still the same.
Found the problem! There was something odd with the facebook plugin. Once i removed the facebook objects, it seems to work fine. Not sure why it worked okay on your side though.
Thanks anyway!
Develop games in your browser. Powerful, performant & highly capable.
The link you gave still shows the error 'assignment to undeclared variable WEB_SOCKET_SWF_LOCATION'.
Is this the updated export?
I was just going to say. I just added the sockets again and it doesn't start. What's going on?
How do you find these errors btw?
When you export, untick the option to 'minify script' and try that.
Also noticed there are 2 different socket plugins, but both still work for me.
BTW, I don't use minify because I refuse to have Java installed :/
okay! it's defintely a socket problem. if i have a 'Socket > Connect "<iphere>"' in then it doesn't load. Would this be due to me not setting the server up properly?
I also noticed that my files weren't uploading on the previous host, if you're confused.
rpgmenuwip.webatu.com
Press Control + Shift + J in Chrome or Firefox or F12 in IE to see Javascript errors. For example your server sends the .appcache with the wrong MIME type, see offline support to fix that.
What's with the websocket thing? Is it a third party plugin or behavior? It's probably broken by the minifier - it's the developers fault for writing a broken plugin, you should ask them to fix it :P
Closing as problem with third party plugin, be sure to take it up with the developer.