editor: save
This commit is contained in:
parent
da5f9b0820
commit
7d2c68a055
5 changed files with 458 additions and 133 deletions
|
|
@ -1,119 +1,346 @@
|
|||
{
|
||||
"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."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"levels": [
|
||||
{
|
||||
"comment": "Movement tutorial",
|
||||
"characters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
-128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-256.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"absorbing_filters": [],
|
||||
"rotating_filters": [],
|
||||
"texts": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"font_size": 32.0,
|
||||
"text": "Combine the colors to synthetize a white light.\nUse arrows to move."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "Switch tutorial",
|
||||
"characters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
-128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
128.0,
|
||||
320.0
|
||||
],
|
||||
"color": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-256.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
128.0,
|
||||
256.0
|
||||
],
|
||||
"size": [
|
||||
96.0,
|
||||
16.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"absorbing_filters": [],
|
||||
"rotating_filters": [],
|
||||
"texts": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"font_size": 32.0,
|
||||
"text": "Press Tab to switch."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "Absorbing filter tutorial",
|
||||
"characters": [
|
||||
{
|
||||
"pos": [
|
||||
-128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.64,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
0.0,
|
||||
0.37,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-256.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-128.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"absorbing_filters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-192.0
|
||||
],
|
||||
"size": [
|
||||
16.0,
|
||||
112.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"rotating_filters": [],
|
||||
"texts": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"font_size": 32.0,
|
||||
"text": "Press R to reset."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "Rotating filter tutorial",
|
||||
"characters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
-128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
128.0,
|
||||
-192.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-256.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"absorbing_filters": [],
|
||||
"rotating_filters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-64.0
|
||||
],
|
||||
"angle": 45.0
|
||||
}
|
||||
],
|
||||
"texts": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"font_size": 32.0,
|
||||
"text": "Let's rotate the hue!"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"comment": "Game over",
|
||||
"characters": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-64.0
|
||||
],
|
||||
"color": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
-256.0
|
||||
],
|
||||
"size": [
|
||||
800.0,
|
||||
16.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"absorbing_filters": [],
|
||||
"rotating_filters": [],
|
||||
"texts": [
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
128.0
|
||||
],
|
||||
"font_size": 48.0,
|
||||
"text": "Thank you for playing!"
|
||||
},
|
||||
{
|
||||
"pos": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"font_size": 32.0,
|
||||
"text": "There is no more light to combine."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue