Cannot read on an iPad

Hello everyone!

I have been working on an interactive novel for nearly a year now. Naturally, every now and then I compile a new version so that my friends and family may read it and give me feedback. But some of them would rather be able to read it on their ipad, as opposed to their desktop.
However, it doesn’t seem to be working. Trying to open the file on an ipad only gives the usual “This game requires JavaScript; please enable JavaScript and […]” message; even though Javascript is already enabled.
I’ve searched the forum several times, but I haven’t been able to find a solution.
Is there a way to fix this? Or does Choicescript simply not work on ipad?

Thank you!

1 Like

probably a bug, its always a bug nowadays. or maybe it just doesn’t like certain softwares?

Well the short is the ‘enable JavaScript’ message is only printed if JavaScript is not run after the page loads, so if you have correctly enabled it, then the problem is possibly that something is prevent it from running.

I see. So it could be a bug?
Let me clarify:

  • Javascript is enabled by going to Settings => Safari => Advanced => sliding to turn on Javascript (it’s actually turned on by default). Is this the correct way to do it? Or are there other settings that need to be changed?
  • I compile the current version of my interactive novel by using compile.html. Then I send the html file to my friends/family by email. They would then open their emails on their ipad and try to open the file. In this situation, what could be preventing Javascript from running?

Thank you!

I would recommend as a first attempt at a fix, hosting it somewhere and sending them the link. (E.g. put it on Dashingdon or neocities and then send them that link.)

I’m not sure what could be prevent JavaScript from running mostly because there shouldn’t be anything, but that doesn’t mean there isn’t anything. (AFAIK, Chrome is the only thing that CS regularly refuses to run on locally, and so requires hosting first to work.)

All right, I will try that!
Just to make sure: it is possible to host it on Dashingdon privately, is it? (I don’t feel ready to make it available to anyone just yet.)

As for the second part, I suppose the easiest thing would be to ask: is there anyone here who was able to make a Choicescript game work on an iPad the way I was trying to? (That is to say, without hosting?)

In case anyone else has the same problem and/or is interested, here is an update:
In the end, I decided not to use Dashingdon because it would lose the changes I made to the .js files. Instead I hosted the .html compiled version on neocities. Now it works! Thank you RETowers for suggesting it.

Admittedly, I am still curious as to whether it’s possible to make it work on an iPad without this intermediary step. If anyone has an answer, please let me know!

Yes, you can make your game private on Dashington; which is only avalible by a dircet link that you supply.