};
nav = new SceneNavigator([
“Prolouge”
,“Chapter 1”
The date is 3/9/25: Lance’s 17th birthday.
Your dad’s screaming, “RUN! RUN!” The house is on fire, and gunshots are ringing in your ears. What do you do?
*choice #I run away from the house like Dad told me to.
*set Bravery -5
Good decision. This situation is messed up. Lance is running beside you. Every time you try to look back, Lance pushes you forwards.
*finish
*choice #Stay in the house and fight whatever is attacking.
*set Bravery +5
Brave kid, aren’t you. Lance pulls you back and drags you behind him.
*finish
*choice #Stand frozen in fear.
*set Bravery -10
Lance pulls you back and drags you behind him.
*finish
Lance is calling your name. By the way, what is you name?
*input_text name
*page_break
This is what I have so far. (I know, it’s not that much, but I just started)
You don’t need the {} around your stats in the *stat_chart
Don’t use capitals when naming your stats and scenes in mygame.js. Also, avoid spaces in your scene names.
There’s no need to put *choice before every option. Just before every set of options.
The *finish will move you to chapter 1 instead of to the part where you put in a name. Try putting *label pick_name (or something similar) after your block of choices, then replacing *finish with *goto *pick_name.
The way it is now will probably come up with a few errors, but they’re easy things to fix. Also, I’m assuming that you have everything in it’s appropriate file (not in the same one).
I’d recommend Dropbox over webs.com since it’s easier. Just put your entire “web” folder in the Dropbox “public” folder, right click on any index file in there,
I mean that the *stat_chart is in choicescript_stats.txt, the stats and scenes are in mygame.js, and the game itself is in prologue.txt. If it’s still not working, an indentation issue or typo is likely the cause. What are you using to test this?
@Tailed_Angel if you want to put it onto webs.com, just make an account on there in 7 days, you’ll be able to upload your choicescript file. There will be a menu bar on the website, so it’s quite self explanatory!
If you don’t want to wait, then I heard that dropbox doesn’t have a waiting time, plus it’s apparently smoother! C:
I don’t know because I’ve never tried it, but give it a go you probably just need to upload your files.
And aww thanks! It’s hard to make it interesting c;
@Tailed_Angel
How do you know that it doesn’t work if you don’t know how you’re testing it?
If you try to run the game by opening index.html with Google Chrome, it’s not going to work (unless you’ve put the game online). Try opening it with Internet Explorer or Firefox. Those two will give you an error message that usually lets you know exactly where your problem is.