converting an aslx file to html/js
p3aul
03 Feb 2014, 05:50I know this question has probably been asked a gadzillion times but i can't find a post that addresses this problem directly. Now I know there is a set of files on github. I downloaded these in a zipped file, but there are no instructions not even one executable file so I don't know were even to start.
Thanks,
Paul
Thanks,
Paul
Liam315
03 Feb 2014, 06:10The files in the github repository are not compiled, they're not the ones you need to download if you can't compile yourself.
Rather than type out a bunch of instructions, here's the direct link to the latest release on github.
https://github.com/textadventures/quest ... 131028.zip
Note that it's only an alpha version, so you may come across problems when using it.
Rather than type out a bunch of instructions, here's the direct link to the latest release on github.
https://github.com/textadventures/quest ... 131028.zip
Note that it's only an alpha version, so you may come across problems when using it.
p3aul
03 Feb 2014, 06:20Thanks for replying so quickly! I downloaded the file you suggested. I ran it but it asks for a file with an extension of .quest. That's the first time I've heard of that, I was expecting an .aslx file. an aslx file is the only one I've seen when I create an adventure. Is there another step that I don't know about?
Thanks,
Paul
UPDATE: OK I see I never got to the "Publish" part! Well I compiled it to html but it didn't do anything much. Gave me a page that said "Inventory" up at the top and a narrow windo that's too small for the commands to type in. I type them and the only response is just to give me another command prompt. Look likes it needs a lot of work yet. Like they say on SNL, "It just aint ready for prime time!"
Paul
Thanks,
Paul
UPDATE: OK I see I never got to the "Publish" part! Well I compiled it to html but it didn't do anything much. Gave me a page that said "Inventory" up at the top and a narrow windo that's too small for the commands to type in. I type them and the only response is just to give me another command prompt. Look likes it needs a lot of work yet. Like they say on SNL, "It just aint ready for prime time!"
Paul

Pertex
03 Feb 2014, 10:38I tested it with an simple game and you are right, the converter doesn't work correctly any more.
Alex
03 Feb 2014, 19:32Look for errors in the JavaScript console (hit F12 in Chrome)

Pertex
04 Feb 2014, 10:49Uncaught SyntaxError: Unexpected token = game.js:2866
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught ReferenceError: init is not defined index.html:26
Uncaught ReferenceError: globalKey is not defined index.html:85
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught ReferenceError: init is not defined index.html:26
Uncaught ReferenceError: globalKey is not defined index.html:85
Alex
04 Feb 2014, 11:51So it couldn't parse game.js which means something converted incorrectly. If you look at game.js line 2866 you'll see the line causing the error - it should be reasonably clear what's causing the problem.
You can manually correct the error, or you might find it's an error in the source ASLX file at that point.
You can manually correct the error, or you might find it's an error in the source ASLX file at that point.

Pertex
04 Feb 2014, 12:27Ok, I managed it to adapt game.js so that I can play my little demo. But the text processor is not supported at the moment?
Alex
04 Feb 2014, 12:39It is but the converter was converting incorrectly - I was looking at this yesterday evening actually and I've checked in some updates and it seems to work now. Release binaries are not updated yet though.