Pinball
Configuration
JSON
{
"options": {
"header_text_color": "white",
"header_background_color": "black",
"sound_color": "white",
"balls": 3
},
"texts": {
"en": {
"play_button": "Play now",
"sound_on": "Turn the sound on",
"sound_off": "Turn the sound off",
"chance": "Chance:",
"score": "Score:"
},
"fr": {
"play_button": "Je joue",
"sound_on": "Activer les sons",
"sound_off": "Désactiver les sons",
"chance": "Chance :",
"score": "Score :"
},
"nl": {
"play_button": "Speel nu",
"sound_on": "Zet geluid aan",
"sound_off": "Zet geluid uit",
"chance": "Kans:",
"score": "Score:"
}
},
"images": {
"background": GAME_URL + "/background.png",
"overlay": GAME_URL + "/overlay.png",
"paddle": GAME_URL + "/paddle.png",
"ball": GAME_URL + "/ball.png",
"buttons": "",
"rewards": {}
},
"sounds": {
"points": "",
"background": ""
}
}Options
Key
Type
Explanation
Default
String
Color and background of the header.
"white" / "black"
String
Color of the sound (on/off) icons (only displayed if sounds are provided).
"white"
Int
Number of chances (balls).
Score = sum([scores])
3
String
Text of the CTA to start the game.
"Play now"
String
Aria-label of the sound icons (only displayed if sounds are provided).
"Turn the sound on" / "Turn the sound off"
String
Label in the header for the number of chances.
"Chance:"
String
Label in the header for the score.
"Score:"
Assets
Key
Size
Explanation
Default
Visual used for the buttons.
/
Last updated