Candy Crush
Configuration
Options
canvas_width / _height
Integer
Size of the game.
550 / 380
max_moves
Integer
Number of moves allowed.
10
time_left
Integer
Time before game over (if no max_moves). If both moves and time are set, time is used!
0
game_rows / _columns
Integer
Number of rows / columns in the game.
6 / 9
header_height
margin_height_top
margin_height_bottom
Integer
[Advanced] Layout adjustements.
0 / 0 / 0
backgroundColor
String
Background colour (visible if no image).
"transparent"
backgroundPosition
String
Background image positioning (CSS).
"center"
highlightColor
String
Colour of item selection.
"black"
textColor
String
Texts color.
"white"
headerColor
String
Header background colour.
"black"
moveColor
String
Colour of the line showing the current move.
"white"
clueColor
String
Colour of the clue line.
"grey"
datas > points
Integer
Points given per item matched.
100
datas > proba
Integer
Chances of the item to drop in the grid.
1
default_lang
String
[PTF] Default language if unmatched language.
"fr"
score
String
Text in the header.
"Score"
move_left
String
Text in the header (if max_moves set).
"Moves"
time_left
String
Text in the header (if time_left set).
"Time remaining"
flush / flush2
String
Text displayed if no more combinations.
"No more combinations..." / "Shuffle!"
gameover / gameover2
String
Text displayed at the end of the game.
"Game over!" / "Did you win?"
Assets
backgroundImage
550 x 380px (fit the canvas config size).
Background of the game.
/
Last updated