2014-03-28 14:52:41 +01:00
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"name": "cards",
|
|
|
|
|
"type": "list",
|
2017-06-20 14:25:31 +02:00
|
|
|
|
"widgets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "VerticalTabs",
|
|
|
|
|
"label": "Default"
|
|
|
|
|
}
|
|
|
|
|
],
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"label": "Cards",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "high",
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"entity": "card",
|
2017-01-23 15:46:06 +01:00
|
|
|
|
"min": 2,
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"max": 100,
|
|
|
|
|
"field": {
|
2014-09-16 14:33:14 +02:00
|
|
|
|
"type": "group",
|
2017-01-02 12:00:16 +01:00
|
|
|
|
"name": "card",
|
2014-09-16 14:33:14 +02:00
|
|
|
|
"label": "Card",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "high",
|
2014-09-16 14:33:14 +02:00
|
|
|
|
"fields": [
|
|
|
|
|
{
|
|
|
|
|
"name": "image",
|
|
|
|
|
"type": "image",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"label": "Image",
|
2017-01-23 14:41:41 +01:00
|
|
|
|
"importance": "high",
|
|
|
|
|
"ratio": 1
|
2014-09-16 14:33:14 +02:00
|
|
|
|
},
|
2017-06-20 16:47:07 +02:00
|
|
|
|
{
|
|
|
|
|
"name": "imageAlt",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"label": "Alternative text for Image",
|
|
|
|
|
"importance": "high",
|
|
|
|
|
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
|
|
|
|
|
},
|
2017-01-20 11:58:08 +01:00
|
|
|
|
{
|
|
|
|
|
"name": "match",
|
|
|
|
|
"type": "image",
|
|
|
|
|
"label": "Matching Image",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"optional": true,
|
2017-01-23 14:41:41 +01:00
|
|
|
|
"description": "An optional image to match against instead of using two cards with the same image.",
|
|
|
|
|
"ratio": 1
|
2017-01-20 11:58:08 +01:00
|
|
|
|
},
|
2017-06-20 16:47:07 +02:00
|
|
|
|
{
|
|
|
|
|
"name": "matchAlt",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"label": "Alternative text for Matching Image",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"description": "Describe what can be seen in the photo. The text is read by text-to-speech tools needed by visually impaired users."
|
|
|
|
|
},
|
2014-09-16 14:33:14 +02:00
|
|
|
|
{
|
|
|
|
|
"name": "description",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"label": "Description",
|
2016-12-16 11:30:32 +01:00
|
|
|
|
"importance": "low",
|
2014-09-16 14:33:14 +02:00
|
|
|
|
"maxLength": 150,
|
|
|
|
|
"optional": true,
|
2017-01-20 11:58:08 +01:00
|
|
|
|
"description": "An optional short text that will pop up once the two matching cards are found."
|
2014-09-16 14:33:14 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
2014-03-28 14:52:41 +01:00
|
|
|
|
}
|
|
|
|
|
},
|
2017-01-23 15:46:06 +01:00
|
|
|
|
{
|
|
|
|
|
"name": "behaviour",
|
|
|
|
|
"type": "group",
|
|
|
|
|
"label": "Behavioural settings",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"description": "These options will let you control how the game behaves.",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"fields": [
|
|
|
|
|
{
|
|
|
|
|
"name": "useGrid",
|
|
|
|
|
"type": "boolean",
|
2017-02-13 15:54:06 +01:00
|
|
|
|
"label": "Position the cards in a square",
|
|
|
|
|
"description": "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container.",
|
2017-01-23 15:46:06 +01:00
|
|
|
|
"importance": "low",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "numCardsToUse",
|
|
|
|
|
"type": "number",
|
|
|
|
|
"label": "Number of cards to use",
|
|
|
|
|
"description": "Setting this to a number greater than 2 will make the game pick random cards from the list of cards.",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"min": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "allowRetry",
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"label": "Add button for retrying when the game is over",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"default": true
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2017-05-04 14:20:20 +02:00
|
|
|
|
{
|
|
|
|
|
"name": "lookNFeel",
|
|
|
|
|
"type": "group",
|
|
|
|
|
"label": "Look and feel",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"description": "Control the visuals of the game.",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"fields": [
|
|
|
|
|
{
|
|
|
|
|
"name": "themeColor",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"label": "Theme Color",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"description": "Choose a color to create a theme for your card game.",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"default": "#909090",
|
|
|
|
|
"widget": "colorSelector",
|
|
|
|
|
"spectrum": {
|
|
|
|
|
"showInput": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "cardBack",
|
|
|
|
|
"type": "image",
|
|
|
|
|
"label": "Card Back",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"optional": true,
|
|
|
|
|
"description": "Use a custom back for your cards.",
|
|
|
|
|
"ratio": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2014-03-28 14:52:41 +01:00
|
|
|
|
{
|
|
|
|
|
"label": "Localization",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "low",
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"name": "l10n",
|
|
|
|
|
"type": "group",
|
|
|
|
|
"common": true,
|
|
|
|
|
"fields": [
|
|
|
|
|
{
|
|
|
|
|
"label": "Card turns text",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "low",
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"name": "cardTurns",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Card turns"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Time spent text",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "low",
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"name": "timeSpent",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Time spent"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Feedback text",
|
2016-12-12 16:07:42 +01:00
|
|
|
|
"importance": "low",
|
2014-03-28 14:52:41 +01:00
|
|
|
|
"name": "feedback",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Good work!"
|
2017-02-13 14:47:40 +01:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Try again button text",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "tryAgain",
|
|
|
|
|
"type": "text",
|
2017-06-20 16:47:07 +02:00
|
|
|
|
"default": "Reset"
|
2017-06-20 11:52:30 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Close button label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "closeLabel",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Close"
|
2017-09-25 14:38:14 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Game label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "label",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Memory Game. Find the matching cards."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Game finished label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "done",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "All of the cards have been found."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Card indexing label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "cardPrefix",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Card %num:"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Card unturned label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "cardUnturned",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Unturned."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Card matched label",
|
|
|
|
|
"importance": "low",
|
|
|
|
|
"name": "cardMatched",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"default": "Match found."
|
2014-03-28 14:52:41 +01:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-09-25 14:38:14 +02:00
|
|
|
|
]
|