🍀
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

Vintage Wheel

Last updated 8 months ago

Demo:

  1. Configuration

  2. Options

  3. Assets

Configuration

JSON
{
  "options": {
    "visible_hitbox": false,
    "tile_width": 264,
    "tile_height": 202,
    "max_speed": 100,
    "nb_spin": 7,
    "acceleration_percent": 1.5,
    "use_reward_image": false,
    "index_reward_image": 0,
    "index_lose_image": 1,
    "default_lang": "fr"
  },
  "texts": {
    "en": {
      "play_button": "Play now"
    },
    "fr": {
      "play_button": "Je joue"
    },
    "nl": {
      "play_button": "Speel nu"
    }
  },
  "images": {
    "base": GAME_URL + "/assets/vintage-wheel/base.png",
    "needle": GAME_URL + "/assets/vintage-wheel/needle.png",
    "overlay": GAME_URL + "/assets/vintage-wheel/overlay.png",
    "side_0": GAME_URL + "/assets/vintage-wheel/side-0.png",
    "side_1": GAME_URL + "/assets/vintage-wheel/side-1.png",
    "items": [
      GAME_URL + "/assets/vintage-wheel/item-1.png",
      GAME_URL + "/assets/vintage-wheel/item-2.png",
      GAME_URL + "/assets/vintage-wheel/item-3.png",
      GAME_URL + "/assets/vintage-wheel/item-4.png"
    ],
    "rewards": {}
  }
}

Options

Key
Type
Explanation
Default

Boolean

[DEV] Display the hitboxes.

false

Integer

Width of a tile (images should all have the same size).

264

Integer

Height of a tile (images should all have the same size).

202

Integer

Maximum speed of the reel.

100

Integer

Number of spins before the machine stops on a tile.

7

Float

Acceleration speed.

1.5

Boolean

Adds the reward tile to the list (only the won reward!!).

false

Integer

Index of the winning tile (will stop on it if won).

0

Integer

Index of the losing tile (will stop on it if lost).

1

String

[PTF] Default language if unmatched language.

"fr"

String

Text for the button that is displayed at the start of the game.

"Play now" / "Je joue" / "Speel nu"

Assets

Key
Size
Explanation
Default

92 x 120px

Cursor's base.

49 x 24px

Cursor's needle.

468 x 380px

Overlay (of the reel, will be deformed!).

45 x 380px

Sides of the machine (both images will be displayed on one side, switching every second, and mirrored on the other side).

264 x 202px (each)

Items that will be displayed in the reel. If less than 10 items in the array, some will be duplicated.

/

đŸ•šī¸
visible_hitbox
tile_width
tile_height
max_speed
nb_spin
acceleration_percent
use_reward_image
index_reward_image
index_lose_image
default_lang
play_button
base
needle
overlay
side_0 / _1
items
https://campaigns.lucky-cycle.com/game-demo/jeu/vintage-wheel
/assets/vintage-wheel/base.png
/assets/vintage-wheel/needle.png
/assets/vintage-wheel/overlay.png
/assets/vintage-wheel/side-0.png
/assets/vintage-wheel/side-1.png
/assets/vintage-wheel/item-1.png