intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Dec 14, 2017 10:05 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Oct 27, 2015 4:55 pm 
Offline

Joined: Sun May 04, 2014 11:35 am
Posts: 229
I've been learning Choicescript and have a game started, but I'm curious what to send someone in order for them to be able to play the game--there isn't just one file, but a whole bunch of folders full of things, some of which read from each other. When I've tried sending it before, it came out wrong on the other end, so I was obviously doing it wrong. I know about using dashingdon for hosting so I can show it to people, but if I wanted to submit it a comp or to Sub-Q or any other thing where I'd have to send actual files, what would go and how do I arrange it? If anyone has experience with this, it'd be great!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Oct 27, 2015 8:12 pm 
Offline

Joined: Tue Aug 12, 2014 7:56 pm
Posts: 1668
Zip the whole folder. Here, I've got an example for you:

https://www.dropbox.com/sh/w4pe79u3xa8f ... NKBqa?dl=0

By downloading that folder as ZIP, I can play that choicescript game offline, no problem. That's how you send it.

And I'd be personally very thankful if you always shared that offline version as well as the online version. :) :) :)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Oct 29, 2015 8:22 pm 
Offline

Joined: Sun May 04, 2014 11:35 am
Posts: 229
Thanks! So if I just replace the text files in this one with the text files from mine, it will work as mine?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Oct 29, 2015 8:40 pm 
Offline

Joined: Tue Aug 12, 2014 7:56 pm
Posts: 1668
I'm not sure I follow. The link was an example of how to distribute a CS game - you zip up the whole folder and send it to someone. You don't have to download anything from that link, or replace anything. Just zip up your own folder - all of it. Inform whoever wants to play it that the playable file is in "mygame/index.html" (it's usually the case).


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Oct 29, 2015 8:44 pm 
Offline

Joined: Sat Dec 22, 2007 9:44 pm
Posts: 253
Are you sure? I thought that it wouldn't work with some browsers (Chrome); there's a security feature against reading local files.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Oct 29, 2015 9:33 pm 
Offline

Joined: Tue Aug 12, 2014 7:56 pm
Posts: 1668
Ah, well, I know it works in Firefox and that I'm sure about. :)

Also... what the heck kind of a feature is that? That's not a feature, that's a cripple!

EDIT - It also works on my iPod using Mercury - which I use because, surprise surprise, it's the only browser I've found for the iPod Touch that not only reads local files (that in itself seems unique!) but will also allow those files to open other resource files. Sweet.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Oct 29, 2015 9:36 pm 
Offline

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2268
Location: US - Central
There is an IDE that is community made and sort of beta. You may need to fiddle with it, but it will export a single HTML file. Only other files you need is if you have additional graphics or sound. I think there's a "raw" view you can paste your text into - possibly scene by scene.

https://dl.dropboxusercontent.com/u/784 ... main.html#

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Oct 30, 2015 11:01 pm 
Offline

Joined: Sun May 04, 2014 11:35 am
Posts: 229
Well, when I tried sending someone the whole folder, it didn't work, but this doesn't have just the whole game folder, but all the extra stuff that's outside of that that comes in the main Choicescript folder. If I zipped THAT, it would have ALL the games I'm working on in it. That's why I was curious if the folder you used as an example would work if I just replaced the text files in it with the text files I'm using. The text files are pretty much the only thing that changes, right?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Oct 31, 2015 6:37 am 
Offline

Joined: Tue Aug 12, 2014 7:56 pm
Posts: 1668
Way out of my league now, buddy. Waaaay out. But the link I shared was only as an example, I didn't even ask the author, and I'd be mighty uncomfortable if you were to use it as a template. Theoretically it's all fine, unless you forget to replace a file or another and it comes up later.

I mean, we're not talking law or lawsuits, obviously, just ethics. I'd encourage you to, instead, check out Hanon's brilliant suggestion.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Oct 31, 2015 8:28 am 
Offline

Joined: Sun May 04, 2014 11:35 am
Posts: 229
Well, I just meant reusing all these bats and jisses and stuff, not any part the game itself. But Hanon's site works great and cuts out all that extra stuff entirely (or puts it in the HTML somewhere, since I assume it's necessary for the game to work) so I can just use that. Thanks for all your help!


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group