githubEdit

Tinder

Configuration

chevron-rightJSONhashtag
{
  "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.

Last updated