🍀
Lucky Cycle
GamesCampaigns (FR)
  • đŸ•šī¸Games
    • Games
      • Explosion
      • Black-Jack
      • Brelan
      • Candy Crush
      • Catch'Em All!
      • Dino Run
      • Endless Runner
      • Flip Cards
      • Grabber
      • Hidden Object
      • Memory
      • Millionaire
      • Paper Toss
      • Penalty
      • Personality
      • Pinata
      • Scratch Card
      • Scratch Nine
      • Shooter
      • Short
      • Shuffler
      • Slicer
      • Slot Machine
      • Snake
      • Tinder
      • Vintage Wheel
      • Wheel
  • 🍄Campaigns (FR)
    • Campagnes
      • Template Standard
      • Template Wheel
Powered by GitBook
  1. Games
  2. Games

Scratch Nine

Last updated 1 year ago

Demo:

Scratch Triple is now based on the same, unified, config:

  1. Configuration

  2. Options

  3. Assets

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

150 x 150px

Items of the grid (array has to contain 5 items!).

150 x 150px

Visual of the overlay (will be displayed 9 times).

64 x 64px

Replace the default cursor while scratching.

64 x 64px

Shape of the scratching. Use the same image as cursor if none provided.

đŸ•šī¸
scratch_percentage
cursor_size
slot_number
use_reward_image
default_lang
background
overlay
cursor
brush
https://campaigns.lucky-cycle.com/game-demo/jeu/scratch-nine
https://campaigns.lucky-cycle.com/game-demo/jeu/scratch-triple
/assets/scratch-nine/item-1.png
/assets/scratch-nine/overlay.png
/assets/scratch-nine/cursor.svg
/assets/scratch-nine/brush.png