87 lines
2.2 KiB
JSON
87 lines
2.2 KiB
JSON
{
|
|
"semantics": [
|
|
{
|
|
"widgets": [
|
|
{
|
|
"label": "Default"
|
|
}
|
|
],
|
|
"label": "Cards",
|
|
"entity": "card",
|
|
"field": {
|
|
"label": "Card",
|
|
"fields": [
|
|
{
|
|
"label": "Image"
|
|
},
|
|
{
|
|
"label": "Matching Image",
|
|
"description": "An optional image to match against instead of using two cards with the same image."
|
|
},
|
|
{
|
|
"label": "Description",
|
|
"description": "An optional short text that will pop up once the two matching cards are found."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"label": "Behavioural settings",
|
|
"description": "These options will let you control how the game behaves.",
|
|
"fields": [
|
|
{
|
|
"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."
|
|
},
|
|
{
|
|
"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."
|
|
},
|
|
{
|
|
"label": "Add button for retrying when the game is over"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Look and feel",
|
|
"description": "Control the visuals of the game.",
|
|
"fields": [
|
|
{
|
|
"label": "Theme Color",
|
|
"description": "Choose a color to create a theme for your card game.",
|
|
"default": "#909090",
|
|
"spectrum": {}
|
|
},
|
|
{
|
|
"label": "Card Back",
|
|
"description": "Use a custom back for your cards."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Localization",
|
|
"fields": [
|
|
{
|
|
"label": "Card turns text",
|
|
"default": "Card turns"
|
|
},
|
|
{
|
|
"label": "Time spent text",
|
|
"default": "Time spent"
|
|
},
|
|
{
|
|
"label": "Feedback text",
|
|
"default": "Good work!"
|
|
},
|
|
{
|
|
"label": "Try again button text",
|
|
"default": "Try again?"
|
|
},
|
|
{
|
|
"label": "Close button label",
|
|
"default": "Close"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |