score board
miepmiep
09 Sept 2014, 08:17I am new to this and not very capable at programming yet. So, Quest looks perfect to me. Before I really start using this marvelous textadventure development tool, I like to know whether it is possible to save the scores and names of the players to an external file, and turn this into a scoreboard, which can again be called for and shown in the game.
So, basically I'm asking whether it is possible to read and write to an external file? In a fairly easy way?
This question might have been asked before, but I could not find a straight answer.
Thanks in advance!
So, basically I'm asking whether it is possible to read and write to an external file? In a fairly easy way?
This question might have been asked before, but I could not find a straight answer.
Thanks in advance!

jaynabonne
09 Sept 2014, 09:15As Quest is browser-based (even in the desktop version - it uses an embedded Chromium browser), I don't think there is any way to go outside that sandbox and create local files. You *might* be able to use the web storage APIs via Javascript (I've been meaning to try those): http://www.w3schools.com/html/html5_webstorage.asp
However, I have no idea how the desktop version would work with that. Worth a test at some point...
However, I have no idea how the desktop version would work with that. Worth a test at some point...
Alex
09 Sept 2014, 11:15Or you could embed some JavaScript to call some external service to save scores there. Something like https://www.firebase.com/ maybe.
miepmiep
09 Sept 2014, 19:21Thanks for both quick answers!
I think the latter is most like what I meant.
I'd like to write all the players' score to one scoreboardfile and afterwards show the player how he or she did compared to the other players. However, this is far too complicated for me, at least for now. I'll just start with all the tutorials first
I think the latter is most like what I meant.
I'd like to write all the players' score to one scoreboardfile and afterwards show the player how he or she did compared to the other players. However, this is far too complicated for me, at least for now. I'll just start with all the tutorials first

Silver
09 Sept 2014, 20:49I think its good to have complicated ideas even from the outset. I started interested in the wearable items and lift libraries and testing them out a bit before learning the basics to build around them.