Javascript console errors when testing in mobile browser
Onion
13 Jul 2016, 06:44Hi guys, I've created a test game using the online version of Quest and tested it in Chrome's mobile emulator in dev tools. It gives lots of javascript errors, is this normal?
Here's a screenshot: http://imgur.com/18zISpC
It doesn't seem to restrict the game - but when I export the game as a .quest file and run through the "QuestJS" converter, and then preview in a browser, I get another javascript error - this time though it's really not working as intended. It looks very different. The initial information doesn't show, and all you get is a textbox. Here's a screenshot of that running on my computer's localhost: http://imgur.com/3y3ZnHi
I'd like it to work locally just as it does online, I'm planning on converting this to an app using phonegap build.
All help appreciated, apologies if I'm doing something stupid!
Pertex
13 Jul 2016, 15:27I think the mobile version of Quest does not support maps (and other options).
QuestJS is out of date so when using it you must correct javascript bugs by your own.
Onion
13 Jul 2016, 20:58Ah cool, thanks very much for the reply! I've removed the map, and it works without any errors now. Although after running it through QuestJs the dropdowns on the hyperlinks don't work. Is this another limitation of Quest? Do you not recommend Quest for running on phones?
Pertex
14 Jul 2016, 07:00I wouldn't try to use QuestJS to create a mobile game. Its better to wait for QuestKit which will have a JS-Framework to run games using the native Quest ASLX files
Onion
14 Jul 2016, 07:06Oh right, QuestKit definitely sounds good! So there's currently no way to do this without waiting though?
Pertex
14 Jul 2016, 20:56no way at the moment
Onion
15 Jul 2016, 05:39That's a shame, but at least it works online. Thanks!