From 35f893ef3ce1722c51a654b278aaf7f5206efcd4 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Sat, 7 Oct 2023 00:34:25 +0700 Subject: [PATCH] Add enemies to config file --- scripts/stages/1/config.gd | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/scripts/stages/1/config.gd b/scripts/stages/1/config.gd index 6719f51..8102d32 100644 --- a/scripts/stages/1/config.gd +++ b/scripts/stages/1/config.gd @@ -108,7 +108,36 @@ var tower = [ var enemy = [ { "name": "Demon", - "asset": "preload()", + "health": 100, + "speed": 30, + "damage": 1 + }, + { + "name": "Orc", + "health": 100, + "speed": 30, + "damage": 1 + }, + { + "name": "Cyclops", + "health": 100, + "speed": 30, + "damage": 1 + }, + { + "name": "Demon Boar", + "health": 100, + "speed": 30, + "damage": 1 + }, + { + "name": "Demon Fungus", + "health": 100, + "speed": 30, + "damage": 1 + }, + { + "name": "Demon Shark", "health": 100, "speed": 30, "damage": 1