githubEdit

Pinball

Configuration

chevron-rightJSONhashtag
{
  "options": {
    "header_text_color": "white",
    "header_background_color": "black",
    "balls": 3
  },
  "texts": {
    "en": {
      "play_button": "Play now",
      "chance": "Chance:",
      "score": "Score:"
    },
    "fr": {
      "play_button": "Je joue",
      "chance": "Chance :",
      "score": "Score :"
    },
    "nl": {
      "play_button": "Speel nu",
      "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": {}
  }
}

Options

Key
Type
Explanation
Default

String

Color and background of the header.

"white" / "black"

Int

Number of chances (balls).

Score = sum([scores])

3

String

Text of the CTA to start the game.

"Play now"

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

720 x 1280

Background of the game.

720 x 1280

Overlay of the game. Shape must be respected!

250 x 80

Paddle visual (reversed for the second one). Shape must be respected!

100 x 100

Visual of the ball. Must be square!

Visual used for the buttons.

/

Last updated