From eabc979fe9d186fde6b891c030f89ba79e30b12b Mon Sep 17 00:00:00 2001 From: tuxmain Date: Sat, 27 Aug 2022 10:57:22 +0200 Subject: [PATCH] Level: melty platform tutorial --- assets/game.levels.json | 100 +++++++++++++++++++++++++++++++++++----- 1 file changed, 88 insertions(+), 12 deletions(-) diff --git a/assets/game.levels.json b/assets/game.levels.json index d52eafa..bd87468 100644 --- a/assets/game.levels.json +++ b/assets/game.levels.json @@ -147,7 +147,7 @@ "characters": [ { "pos": [ - -128.0, + -160.0, -192.0 ], "color": [ @@ -159,7 +159,7 @@ }, { "pos": [ - 128.0, + 160.0, -192.0 ], "color": [ @@ -219,6 +219,14 @@ 0.0 ], "font_size": 32.0, + "text": "This filter absorbs light." + }, + { + "pos": [ + 0.0, + -64.0 + ], + "font_size": 32.0, "text": "Press R to reset." } ] @@ -297,6 +305,83 @@ } ] }, + { + "comment": "Melting platform tutorial", + "characters": [ + { + "pos": [ + -304.0, + -208.0 + ], + "color": [ + 0.7, + 0.7, + 0.7, + 1.0 + ] + }, + { + "pos": [ + 304.0, + -208.0 + ], + "color": [ + 0.3, + 0.3, + 0.3, + 1.0 + ] + } + ], + "platforms": [ + { + "pos": [ + -304.0, + -256.0 + ], + "size": [ + 192.0, + 16.0 + ] + }, + { + "pos": [ + 304.0, + -256.0 + ], + "size": [ + 192.0, + 16.0 + ] + } + ], + "absorbing_filters": [], + "rotating_filters": [], + "melty_platforms": [ + { + "pos": [ + 0.0, + -256.0 + ], + "color": [ + 0.5, + 0.5, + 0.5, + 1.0 + ] + } + ], + "texts": [ + { + "pos": [ + 0.0, + -64.0 + ], + "font_size": 32.0, + "text": "Too much light\ncause some platforms to melt." + } + ] + }, { "comment": "First puzzle", "characters": [ @@ -564,16 +649,7 @@ ] } ], - "texts": [ - { - "pos": [ - 0.0, - -64.0 - ], - "font_size": 32.0, - "text": "Too much light\ncan cause some platforms to melt." - } - ] + "texts": [] }, { "comment": "Game over",