119 lines
No EOL
2.4 KiB
JSON
119 lines
No EOL
2.4 KiB
JSON
{
|
|
"levels": [
|
|
{
|
|
"comment": "Movement tutorial",
|
|
"platforms": [
|
|
{"pos": [0, -256], "size": [800, 16]}
|
|
],
|
|
"characters": [
|
|
{"pos": [0, -192], "color": [1,0,0,1]},
|
|
{"pos": [-128, -192], "color": [0,1,0,1]},
|
|
{"pos": [128, -192], "color": [0,0,1,1]}
|
|
],
|
|
"absorbing_filters": [],
|
|
"rotating_filters": [],
|
|
"texts": [
|
|
{
|
|
"pos": [0, 0],
|
|
"font_size": 32,
|
|
"text": "Combine the colors to synthetize a white light.\nUse arrows to move."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": "Switch tutorial",
|
|
"platforms": [
|
|
{"pos": [0, -256], "size": [800, 16]},
|
|
{"pos": [128, 256], "size": [96, 16]}
|
|
],
|
|
"characters": [
|
|
{"pos": [0, -192], "color": [0,1,0,1]},
|
|
{"pos": [-128, -192], "color": [1,0,0,1]},
|
|
{"pos": [128, 320], "color": [0,0,1,1]}
|
|
],
|
|
"absorbing_filters": [],
|
|
"rotating_filters": [],
|
|
"texts": [
|
|
{
|
|
"pos": [0, 0],
|
|
"font_size": 32,
|
|
"text": "Press Tab to switch."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": "Absorbing filter tutorial",
|
|
"platforms": [
|
|
{"pos": [0, -256], "size": [800, 16]},
|
|
{"pos": [0, -128], "size": [800, 16]}
|
|
],
|
|
"characters": [
|
|
{"pos": [-128, -192], "color": [1,0.64,0,1]},
|
|
{"pos": [128, -192], "color": [0,0.37,1,1]}
|
|
],
|
|
"absorbing_filters": [
|
|
{
|
|
"pos": [0, -192],
|
|
"size": [16, 112],
|
|
"color": [1,0,0,1]
|
|
}
|
|
],
|
|
"rotating_filters": [],
|
|
"texts": [
|
|
{
|
|
"pos": [0, 0],
|
|
"font_size": 32,
|
|
"text": "Press R to reset."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": "Rotating filter tutorial",
|
|
"platforms": [
|
|
{"pos": [0, -256], "size": [800, 16]}
|
|
],
|
|
"characters": [
|
|
{"pos": [0, -192], "color": [1,0,0,1]},
|
|
{"pos": [-128, -192], "color": [1,0,0,1]},
|
|
{"pos": [128, -192], "color": [1,0,0,1]}
|
|
],
|
|
"absorbing_filters": [],
|
|
"rotating_filters": [
|
|
{
|
|
"pos": [0, -64],
|
|
"angle": 45
|
|
}
|
|
],
|
|
"texts": [
|
|
{
|
|
"pos": [0, 0],
|
|
"font_size": 32,
|
|
"text": "Let's rotate the hue!"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": "Game over",
|
|
"platforms": [
|
|
{"pos": [0, -256], "size": [800, 16]}
|
|
],
|
|
"characters": [
|
|
{"pos": [0, -64], "color": [1,0,0,1]}
|
|
],
|
|
"absorbing_filters": [],
|
|
"rotating_filters": [],
|
|
"texts": [
|
|
{
|
|
"pos": [0, 128],
|
|
"font_size": 48,
|
|
"text": "Thank you for playing!"
|
|
},
|
|
{
|
|
"pos": [0, 0],
|
|
"font_size": 32,
|
|
"text": "There is no more light to combine."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |