Skip to content

Instantly share code, notes, and snippets.

@videlais
Created August 23, 2018 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save videlais/9c358c000e92c333f0b17da322e469fc to your computer and use it in GitHub Desktop.
Save videlais/9c358c000e92c333f0b17da322e469fc to your computer and use it in GitHub Desktop.
ChoiceScript: Text Formatting and Images
*title Example
*author Dan Cox
*scene_list
startup
house
*create choices 0
(You've currently made ${choices} choices.)
[b]Where will we visit?[/b]
*choice
#The woods
*image woods.jpg
We went into the woods!
It was a dark and scary place, but with our lantern, we were able to make our way deeper.
Deep in the woods, we came across a river. [b]Did we try to cross it?[/b]
*set choices +1
*choice
#Cross river
We did not make it across the river and were swept downstream to our doom!
*goto_scene badendings
#Did not cross river.
We didn't bother with the river and made our way along the path deeper and deeper into the woods.
*set choices +1
*finish
#The mountains
We went into the mountains
*set choices +1
*finish
#The lake
We went to the lake
*set choices +1
*finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment