use own content fast phrases

You can use your own content with the downloadable desktop version of the Fast Phrases game.

To do this you need a set of images and a text file. The text file lists the sentences to be used in the game.

The easiest way to create a set of content is to use one of the existing examples as a template. The examples (‘colors’ and ‘fruits’) are in the .rar file that you download with the game. Do not move the example folders; just rename them and change the text/images.

Notes on making sentences

Sentences should have at least 2 words.
Use the dash (-) to join words together so that they appear as one option in the game.
Use the underscore (_) to not show any alternative – one fewer option will show in the game.
Each line and alt must have the game number of words (words joined with a dash count as one).
You need at least 5 sentences and a maximum of 24.
Make sure you include the full filename when listing the image file.

Instructions for creating your own sets of content

1 – Open the ‘myContent’ folder that is next to the FastPhrases.exe file. If there is no folder, then you need to create one.

2 – In the ‘myContent’ folder you need to create another folder. The name of this folder will be the name of the content set.

3 – Put image files into the folder.

4 – Create a file called content.json in the folder. It’s highly recommended to use an existing ‘content.json’ file as a template.

5 – Edit the content.json file.

The file should begin with this

{
“sentences”:
[

Then for each sentence, add a section as follows

{
“id”:”sentence 1″,
“image”:”blue.png”,
“line”:”This-color is blue”,
“alt1″:”This-animal be white”,
“alt2″:”This-object are green”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
},

Change “image” to match the filename of one of the images used in point 3.
Change “line” to show the text that you want to appear in the game.
Change “alt1” (and the other lines) to show alternative (wrong) options that will also appear.

Note that the final section doesn’t need the last comma “,”. So it can end with just

}

Finally the file should end with

]}

6 – Start the game and then on the content screen click on the ‘Open’ option.

7 – Click on ‘check’ and then on the pane matching your new set of content. You can look at the information shown and make any changes required.

Email me via the contact page if you have any questions, or leave a message below – you need to include your email address to get a reply.

Below is an example content.json file

{
“sentences”:
[
{
“id”:”sentence 1″,
“image”:”apples.jpeg”,
“line”:”There-are two apples”,
“alt1″:”There-is four melons”,
“alt2″:”There-am one banana”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
},
{
“id”:”sentence 2″,
“image”:”bananas.jpeg”,
“line”:”There-are three bananas”,
“alt1″:”There-is four melons”,
“alt2″:”There-am one apple”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
},
{
“id”:”sentence 3″,
“image”:”mangoes.jpeg”,
“line”:”There-are four mangoes”,
“alt1″:”There-is four melons”,
“alt2″:”There-am one banana”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
},
{
“id”:”sentence 4″,
“image”:”orange.jpeg”,
“line”:”There-is one orange”,
“alt1″:”There-are four melons”,
“alt2″:”There-am one banana”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
},
{
“id”:”sentence 5″,
“image”:”pears.jpeg”,
“line”:”There-are five pears”,
“alt1″:”There-is four melons”,
“alt2″:”There-am one banana”,
“alt3″:”_ _ _”,
“alt4″:”_ _ _”
}
]}

Leave a Reply

Your email address will not be published.