From e0a389ff5964c34022fb90d9c3fb29053567ec65 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Tue, 8 Feb 2022 14:14:42 +0100 Subject: enemy colors --- scripts/load_shapes.gd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/load_shapes.gd') diff --git a/scripts/load_shapes.gd b/scripts/load_shapes.gd index 289afd9..d7b0d71 100644 --- a/scripts/load_shapes.gd +++ b/scripts/load_shapes.gd @@ -40,6 +40,11 @@ func load_info(): var parsed = saveload.load_parse_json("res://assets/json/" + f) if parsed != null: for tin in parsed: + tin.color = Color( + tin.color[0], + tin.color[1], + tin.color[2], + tin.color[3]) info[tin.name] = tin -- cgit v1.2.3-54-g00ecf