🍀
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

Tinder

Last updated 8 months ago

Demo:

  1. Configuration

  2. Options

  3. Assets

Configuration

JSON
{
  "options": {
    "background_image": "",
    "background_color": "transparent",
    "half_shadow": false,
    "display_arrows": true,
    "display_thumbs": true,
    "thumbs_duration": 1500,
    "questions": {
      "en": [
        {
          "q": "Do you like this?",
          "r": "both",
          "left": "I like 👍",
          "right": "I don't like 👎",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question1-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "",
          "card_front_right_background_color": "",
          "question_color": "white",
          "question_background_color": "rgba(14, 52, 16, .25)",
          "button_color": "white",
          "button_background_color": "rgba(14, 52, 16, .75)"
        },
        {
          "q": "Which do you prefer?",
          "r": "right",
          "left": "💕💕",
          "right": "đŸ¤Ģ🐑",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-2.png",
          "card_front_right_background_color": "white",
          "question_color": "white",
          "question_background_color": "rgba(173, 85, 14, .75)",
          "button_color": "white",
          "button_background_color": "rgba(173, 85, 14, .25)"
        }
      ],
      "fr": [
        {
          "q": "Aimez-vous ceci ?",
          "r": "both",
          "left": "J'aime 👍",
          "right": "Je n'aime pas 👎",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question1-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "",
          "card_front_right_background_color": "",
          "question_color": "white",
          "question_background_color": "rgba(14, 52, 16, .25)",
          "button_color": "white",
          "button_background_color": "rgba(14, 52, 16, .75)"
        },
        {
          "q": "Que prÊfÊrez-vous ?",
          "r": "right",
          "left": "💕💕",
          "right": "đŸ¤Ģ🐑",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-2.png",
          "card_front_right_background_color": "white",
          "question_color": "white",
          "question_background_color": "rgba(173, 85, 14, .75)",
          "button_color": "white",
          "button_background_color": "rgba(173, 85, 14, .25)"
        }
      ],
      "nl": [
        {
          "q": "Vind je dit leuk?",
          "r": "both",
          "left": "Ja 👍",
          "right": "Nee 👎",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question1-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "",
          "card_front_right_background_color": "",
          "question_color": "white",
          "question_background_color": "rgba(14, 52, 16, .25)",
          "button_color": "white",
          "button_background_color": "rgba(14, 52, 16, .75)"
        },
        {
          "q": "Wat heb je liever?",
          "r": "right",
          "left": "💕💕",
          "right": "đŸ¤Ģ🐑",
          "card_front_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-1.png",
          "card_front_background_color": "white",
          "card_front_right_url": "https://statics.lucky-cycle.com/files/_games/tinder/question2-2.png",
          "card_front_right_background_color": "white",
          "question_color": "white",
          "question_background_color": "rgba(173, 85, 14, .75)",
          "button_color": "white",
          "button_background_color": "rgba(173, 85, 14, .25)"
        }
      ]
    },
    "default_lang": "fr"
  },
  "texts": {
    "en": {},
    "fr": {},
    "nl": {}
  },
  "sounds": {},
  "images": {
    "arrow_left": GAME_URL + "/assets/tinder/arrow_left.png",
    "arrow_right": GAME_URL + "/assets/tinder/arrow_right.png",
    "thumbs_up": GAME_URL + "/assets/tinder/good.png",
    "thumbs_down": GAME_URL + "/assets/tinder/bad.png",
    "rewards": {}
  }
}

Options

Key
Type
Explanation
Default

String

Background color of the game.

"transparent"

String

Background image of the game (will be on top of the bg_color).

""

Boolean

Display a shadow overlay on the right half of the card.

false

Boolean

Display the arrows icons on the answers area.

true

Boolean

Display the thumbs visuals (after a submission).

true

Integer

Duration of the thumbs' animation (in milliseconds). Only used if "display_thumbs" is set to true.

1500

String

Question to be asked to the player.

"..."

String

Indicate the good answer (can either be "left", "right" or "both").

"both"

String

Left answer (displayed on the clickable zone).

"..."

String

Right answer (displayed on the clickable zone).

"..."

String

Background color of the card(s).

white / ""

String

Color / background color of the question.

white / rgb(...)

String

Color / background color of the answers zone.

white / rgb(...)

Assets

Key
Size
Explanation
Default

550 x 580px (full card) or 275 x 580px (half card).

Visual(s) of the card. Can either be single, or two halves (vertically).

150 x 150px (can have other sizes)

Visuals on the sides of the labels.

220 x 220px (can have other sizes)

Visuals displayed after submitting an answer.

/

/ /

/

đŸ•šī¸
background_color
background_image
half_shadow
display_arrows
display_thumbs
thumbs_duration
questions > q
questions > r
questions > left
questions > right
card_front_background_color / _right_background_color
question_color / _background_color
button_color / _background_color
questions > card_front_url / _right_url
arrow_left / arrow_right
thumbs_up / thumbs_down
https://campaigns.lucky-cycle.com/game-demo/jeu/tinder
/assets/tinder/question1-1.png
/assets/tinder/question2-1.png
/assets/tinder/arrow_left.png
assets/tinder/arrow_right.png
/assets/tinder/good.png
/assets/tinder/bad.png