Dropbox Hosting

Get help using Construct 2

Post » Thu Feb 28, 2013 10:03 pm

Hey, I'm working with the LoadJSON plugin, and the publisher noted that it does not work in preview mode. I've tried hosting it on dropbox, so when you load the link, the game loads, e.g. https://dl.dropbox.com/u/10778449/coffeemug/index.html.

But no matter what I do, it just keeps asking me to download the file onto my system. Have they removed this feature or something?

Thank you.
B
12
S
1
Posts: 29
Reputation: 908

Post » Fri Mar 01, 2013 4:51 pm

When you say that it "doesn't work in preview mode", you mean when you click "Run" from C2 and deploy it to http://localhost?

If you're being prompted to download the file that sounds like the browser doesn't recognise the MIME type of whatever file is being requested - is it a simple text file or XML, or something else? What file extension does it have?
B
8
S
2
G
3
Posts: 83
Reputation: 2,668

Post » Fri Mar 01, 2013 7:42 pm

Well, I assumed that's what the publisher of the plugin meant (http://www.scirra.com/forum/plugin-load-jsOn_topic50331.html). I'm still pretty new to construct 2, and I don't know of any other preview option.

And basically, I export my project as HTML5 and when I upload that folder to dropbox, I want to be able to just click on the index.html and it will load the game instance for me. However, it either comes up with a black screen, or asks me to download the individual file.



EDIT: Okay, i've figured it out now. It was just due to dropbox's recent changes to their public folders. Apparently you have to manually activate a public folder through your account before you can get the publicly available link. Thank you for the reply though! Rogalog2013-03-01 19:50:47
B
12
S
1
Posts: 29
Reputation: 908

Post » Mon Jun 03, 2013 6:46 pm

Hey Rogalog - How do you activate a Public folder these days? I have an old account but a friend of mine just got a dropbox account and there are no Public folders anymore. Just pasting the link to the index.html game file into a web page is not running the game (even if you change the www to dl)to tell dropbox to skip the download file page. Any advice on how you got your game to serve properly off the Dropbox now that they have made these changes?
B
11
S
3
G
1
Posts: 23
Reputation: 1,615

Post » Mon Jun 03, 2013 7:11 pm

maybe that could help: Dropbox

Also, @username will prompt the user that someone talk to him/her in the forums
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
42
S
17
G
16
Posts: 2,089
Reputation: 15,345

Post » Tue Jun 04, 2013 8:49 pm

Problem solved.

Dropbox doesn't have Public folders anymore for new accounts, but you can still enable one - if you jump though hoops.
Check out this link if you are a new Dropbox user. Create a public folder and put your games in there. (this may change in the future but fixes it for now.

http://techdows.com/2012/10/create-public-folder-dropbox-new-account.html
B
11
S
3
G
1
Posts: 23
Reputation: 1,615


Return to How do I....?

Who is online

Users browsing this forum: MrLOL64 and 22 guests