Scratch Nine
Scratch Triple is now based on the same, unified, config: https://campaigns.lucky-cycle.com/game-demo/jeu/scratch-triple
Configuration
JSON
{
"options": {
"scratch_percentage": 50,
"cursor_size": 1.5,
"slot_number": 9,
"use_reward_image": false,
"default_lang": "fr"
},
"texts": {
"en": {},
"fr": {},
"nl": {}
},
"sounds": {},
"images": {
"background": [
GAME_URL + "/assets/scratch-nine/item-1.png",
GAME_URL + "/assets/scratch-nine/item-2.png",
GAME_URL + "/assets/scratch-nine/item-3.png",
GAME_URL + "/assets/scratch-nine/item-4.png",
GAME_URL + "/assets/scratch-nine/item-5.png"
],
"overlay": GAME_URL + "/assets/scratch-nine/overlay.png",
"cursor": GAME_URL + "/assets/scratch-nine/cursor.svg",
"brush": GAME_URL + "/assets/scratch-nine/brush.png",
"rewards": {}
}
}Options
Key
Type
Explanation
Default
Integer
Part of the image to be scratched before reveal.
50
Integer
Size of the cursor.
1.5
Integer
Number of slots (between 3 and 9).
9
Boolean
Use static or dynamic visuals (based on the reward).
false
String
[PTF] Default language if unmatched language.
"fr"
Assets
Key
Size
Explanation
Default
64 x 64px
Shape of the scratching. Use the same image as cursor if none provided.
Last updated