diff options
-rw-r--r-- | project.godot | 8 | ||||
-rw-r--r-- | scenes/L1.tscn | 1110 | ||||
-rw-r--r-- | scenes/Main.tscn | 18 | ||||
-rw-r--r-- | scenes/cursor.tscn (renamed from scenes/UI/cursor.tscn) | 2 | ||||
-rw-r--r-- | scenes/levels/L1.tscn | 20 | ||||
-rw-r--r-- | scenes/soldier.tscn (renamed from scenes/crawlers/soldier.tscn) | 8 | ||||
-rw-r--r-- | scenes/ui.tscn (renamed from scenes/UI/ui.tscn) | 4 | ||||
-rw-r--r-- | scenes/warlock.tscn (renamed from scenes/defenders/warlock.tscn) | 8 | ||||
-rw-r--r-- | scenes/warlock_projectile.tscn (renamed from scenes/defenders/warlock_projectile.tscn) | 8 | ||||
-rw-r--r-- | scenes/wyvern.tscn (renamed from scenes/defenders/wyvern.tscn) | 8 | ||||
-rw-r--r-- | scenes/wyvern_projectile.tscn (renamed from scenes/defenders/wyvern_projectile.tscn) | 4 | ||||
-rw-r--r-- | scripts/base_animation_handler.gd (renamed from scenes/defenders/base_animation_handler.gd) | 0 | ||||
-rw-r--r-- | scripts/base_animation_handler.gd.uid (renamed from scenes/defenders/base_animation_handler.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/base_defender.gd (renamed from scenes/defenders/base_defender.gd) | 0 | ||||
-rw-r--r-- | scripts/base_defender.gd.uid (renamed from scenes/defenders/base_defender.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/cursor.gd (renamed from scenes/UI/cursor.gd) | 4 | ||||
-rw-r--r-- | scripts/cursor.gd.uid (renamed from scenes/UI/cursor.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/game_data.gd (renamed from scenes/game_data/game_data.gd) | 0 | ||||
-rw-r--r-- | scripts/game_data.gd.uid (renamed from scenes/game_data/game_data.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/grid_manager.gd (renamed from scenes/grid_manager.gd) | 0 | ||||
-rw-r--r-- | scripts/grid_manager.gd.uid (renamed from scenes/grid_manager.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/life.gd (renamed from scenes/UI/life.gd) | 0 | ||||
-rw-r--r-- | scripts/life.gd.uid (renamed from scenes/UI/life.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/morale.gd (renamed from scenes/UI/morale.gd) | 0 | ||||
-rw-r--r-- | scripts/morale.gd.uid (renamed from scenes/UI/morale.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/path_generator.gd | 11 | ||||
-rw-r--r-- | scripts/path_generator.gd.uid | 1 | ||||
-rw-r--r-- | scripts/path_spawner.gd (renamed from path_spawner.gd) | 2 | ||||
-rw-r--r-- | scripts/path_spawner.gd.uid (renamed from path_spawner.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/soldier.gd (renamed from scenes/crawlers/soldier.gd) | 4 | ||||
-rw-r--r-- | scripts/soldier.gd.uid (renamed from scenes/crawlers/soldier.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/warlock.gd (renamed from scenes/defenders/warlock.gd) | 4 | ||||
-rw-r--r-- | scripts/warlock.gd.uid (renamed from scenes/defenders/warlock.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/warlock_animation_handler.gd (renamed from scenes/defenders/warlock_animation_handler.gd) | 2 | ||||
-rw-r--r-- | scripts/warlock_animation_handler.gd.uid (renamed from scenes/defenders/warlock_animation_handler.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/warlock_projectile.gd (renamed from scenes/defenders/warlock_projectile.gd) | 0 | ||||
-rw-r--r-- | scripts/warlock_projectile.gd.uid (renamed from scenes/defenders/warlock_projectile.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/wyvern.gd (renamed from scenes/defenders/wyvern.gd) | 4 | ||||
-rw-r--r-- | scripts/wyvern.gd.uid (renamed from scenes/defenders/wyvern.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/wyvern_animation_handler.gd (renamed from scenes/defenders/wyvern_animation_handler.gd) | 2 | ||||
-rw-r--r-- | scripts/wyvern_animation_handler.gd.uid (renamed from scenes/defenders/wyvern_animation_handler.gd.uid) | 0 | ||||
-rw-r--r-- | scripts/wyvern_projectile.gd (renamed from scenes/defenders/wyvern_projectile.gd) | 0 | ||||
-rw-r--r-- | scripts/wyvern_projectile.gd.uid (renamed from scenes/defenders/wyvern_projectile.gd.uid) | 0 |
43 files changed, 71 insertions, 1161 deletions
diff --git a/project.godot b/project.godot index f9ff84c..5e1f0ed 100644 --- a/project.godot +++ b/project.godot @@ -15,6 +15,10 @@ run/main_scene="uid://chwnewu8l45kj" config/features=PackedStringArray("4.4", "GL Compatibility") config/icon="res://icon.svg" +[autoload] + +GameData="*res://scripts/game_data.gd" + [display] window/size/viewport_width=320 @@ -22,6 +26,10 @@ window/size/viewport_height=240 window/size/mode=2 window/stretch/mode="viewport" +[gui] + +theme/custom_font="uid://dei0sscmeglkq" + [input] move_right={ diff --git a/scenes/L1.tscn b/scenes/L1.tscn index 5a1bba8..9ba570c 100644 --- a/scenes/L1.tscn +++ b/scenes/L1.tscn @@ -1,1110 +1,20 @@ -[gd_scene load_steps=6 format=4 uid="uid://diyn84ax1s7y8"] +[gd_scene load_steps=3 format=3 uid="uid://diyn84ax1s7y8"] -[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="1_crqkg"] -[ext_resource type="PackedScene" uid="uid://rp5orgc6ae7j" path="res://scenes/crawlers/soldier.tscn" id="2_vye67"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tjuek"] -texture = ExtResource("1_crqkg") -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -16:0/0 = 0 -17:0/0 = 0 -18:0/0 = 0 -19:0/0 = 0 -20:0/0 = 0 -21:0/0 = 0 -22:0/0 = 0 -23:0/0 = 0 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0 = 0 -0:10/0 = 0 -1:10/0 = 0 -2:10/0 = 0 -3:10/0 = 0 -4:10/0 = 0 -5:10/0 = 0 -6:10/0 = 0 -7:10/0 = 0 -8:10/0 = 0 -9:10/0 = 0 -10:10/0 = 0 -11:10/0 = 0 -12:10/0 = 0 -13:10/0 = 0 -14:10/0 = 0 -15:10/0 = 0 -16:10/0 = 0 -17:10/0 = 0 -18:10/0 = 0 -19:10/0 = 0 -20:10/0 = 0 -21:10/0 = 0 -22:10/0 = 0 -23:10/0 = 0 -24:10/0 = 0 -25:10/0 = 0 -26:10/0 = 0 -27:10/0 = 0 -28:10/0 = 0 -29:10/0 = 0 -30:10/0 = 0 -31:10/0 = 0 -32:10/0 = 0 -33:10/0 = 0 -34:10/0 = 0 -35:10/0 = 0 -36:10/0 = 0 -37:10/0 = 0 -38:10/0 = 0 -39:10/0 = 0 -40:10/0 = 0 -41:10/0 = 0 -42:10/0 = 0 -43:10/0 = 0 -44:10/0 = 0 -45:10/0 = 0 -46:10/0 = 0 -47:10/0 = 0 -48:10/0 = 0 -0:11/0 = 0 -1:11/0 = 0 -2:11/0 = 0 -3:11/0 = 0 -4:11/0 = 0 -5:11/0 = 0 -6:11/0 = 0 -7:11/0 = 0 -8:11/0 = 0 -9:11/0 = 0 -10:11/0 = 0 -11:11/0 = 0 -12:11/0 = 0 -13:11/0 = 0 -14:11/0 = 0 -15:11/0 = 0 -16:11/0 = 0 -17:11/0 = 0 -18:11/0 = 0 -19:11/0 = 0 -20:11/0 = 0 -21:11/0 = 0 -22:11/0 = 0 -23:11/0 = 0 -24:11/0 = 0 -25:11/0 = 0 -26:11/0 = 0 -27:11/0 = 0 -28:11/0 = 0 -29:11/0 = 0 -30:11/0 = 0 -31:11/0 = 0 -32:11/0 = 0 -33:11/0 = 0 -34:11/0 = 0 -35:11/0 = 0 -36:11/0 = 0 -37:11/0 = 0 -38:11/0 = 0 -39:11/0 = 0 -40:11/0 = 0 -41:11/0 = 0 -42:11/0 = 0 -43:11/0 = 0 -44:11/0 = 0 -45:11/0 = 0 -46:11/0 = 0 -47:11/0 = 0 -48:11/0 = 0 -0:12/0 = 0 -1:12/0 = 0 -2:12/0 = 0 -3:12/0 = 0 -4:12/0 = 0 -5:12/0 = 0 -6:12/0 = 0 -7:12/0 = 0 -8:12/0 = 0 -9:12/0 = 0 -10:12/0 = 0 -11:12/0 = 0 -12:12/0 = 0 -13:12/0 = 0 -14:12/0 = 0 -15:12/0 = 0 -16:12/0 = 0 -17:12/0 = 0 -18:12/0 = 0 -19:12/0 = 0 -20:12/0 = 0 -21:12/0 = 0 -22:12/0 = 0 -23:12/0 = 0 -24:12/0 = 0 -25:12/0 = 0 -26:12/0 = 0 -27:12/0 = 0 -28:12/0 = 0 -29:12/0 = 0 -30:12/0 = 0 -31:12/0 = 0 -32:12/0 = 0 -33:12/0 = 0 -34:12/0 = 0 -35:12/0 = 0 -36:12/0 = 0 -37:12/0 = 0 -38:12/0 = 0 -39:12/0 = 0 -40:12/0 = 0 -41:12/0 = 0 -42:12/0 = 0 -43:12/0 = 0 -44:12/0 = 0 -45:12/0 = 0 -46:12/0 = 0 -47:12/0 = 0 -48:12/0 = 0 -0:13/0 = 0 -1:13/0 = 0 -2:13/0 = 0 -3:13/0 = 0 -4:13/0 = 0 -5:13/0 = 0 -6:13/0 = 0 -7:13/0 = 0 -8:13/0 = 0 -9:13/0 = 0 -10:13/0 = 0 -11:13/0 = 0 -12:13/0 = 0 -13:13/0 = 0 -14:13/0 = 0 -15:13/0 = 0 -16:13/0 = 0 -17:13/0 = 0 -18:13/0 = 0 -19:13/0 = 0 -20:13/0 = 0 -21:13/0 = 0 -22:13/0 = 0 -23:13/0 = 0 -24:13/0 = 0 -25:13/0 = 0 -26:13/0 = 0 -27:13/0 = 0 -28:13/0 = 0 -29:13/0 = 0 -30:13/0 = 0 -31:13/0 = 0 -32:13/0 = 0 -33:13/0 = 0 -34:13/0 = 0 -35:13/0 = 0 -36:13/0 = 0 -37:13/0 = 0 -38:13/0 = 0 -39:13/0 = 0 -40:13/0 = 0 -41:13/0 = 0 -42:13/0 = 0 -43:13/0 = 0 -44:13/0 = 0 -45:13/0 = 0 -46:13/0 = 0 -47:13/0 = 0 -48:13/0 = 0 -0:14/0 = 0 -1:14/0 = 0 -2:14/0 = 0 -3:14/0 = 0 -4:14/0 = 0 -5:14/0 = 0 -6:14/0 = 0 -7:14/0 = 0 -8:14/0 = 0 -9:14/0 = 0 -10:14/0 = 0 -11:14/0 = 0 -12:14/0 = 0 -13:14/0 = 0 -14:14/0 = 0 -15:14/0 = 0 -16:14/0 = 0 -17:14/0 = 0 -18:14/0 = 0 -19:14/0 = 0 -20:14/0 = 0 -21:14/0 = 0 -22:14/0 = 0 -23:14/0 = 0 -24:14/0 = 0 -25:14/0 = 0 -26:14/0 = 0 -27:14/0 = 0 -28:14/0 = 0 -29:14/0 = 0 -30:14/0 = 0 -31:14/0 = 0 -32:14/0 = 0 -33:14/0 = 0 -34:14/0 = 0 -35:14/0 = 0 -36:14/0 = 0 -37:14/0 = 0 -38:14/0 = 0 -39:14/0 = 0 -40:14/0 = 0 -41:14/0 = 0 -42:14/0 = 0 -43:14/0 = 0 -44:14/0 = 0 -45:14/0 = 0 -46:14/0 = 0 -47:14/0 = 0 -48:14/0 = 0 -0:15/0 = 0 -1:15/0 = 0 -2:15/0 = 0 -3:15/0 = 0 -4:15/0 = 0 -5:15/0 = 0 -6:15/0 = 0 -7:15/0 = 0 -8:15/0 = 0 -9:15/0 = 0 -10:15/0 = 0 -11:15/0 = 0 -12:15/0 = 0 -13:15/0 = 0 -14:15/0 = 0 -15:15/0 = 0 -16:15/0 = 0 -17:15/0 = 0 -18:15/0 = 0 -19:15/0 = 0 -20:15/0 = 0 -21:15/0 = 0 -22:15/0 = 0 -23:15/0 = 0 -24:15/0 = 0 -25:15/0 = 0 -26:15/0 = 0 -27:15/0 = 0 -28:15/0 = 0 -29:15/0 = 0 -30:15/0 = 0 -31:15/0 = 0 -32:15/0 = 0 -33:15/0 = 0 -34:15/0 = 0 -35:15/0 = 0 -36:15/0 = 0 -37:15/0 = 0 -38:15/0 = 0 -39:15/0 = 0 -40:15/0 = 0 -41:15/0 = 0 -42:15/0 = 0 -43:15/0 = 0 -44:15/0 = 0 -45:15/0 = 0 -46:15/0 = 0 -47:15/0 = 0 -48:15/0 = 0 -0:16/0 = 0 -1:16/0 = 0 -2:16/0 = 0 -3:16/0 = 0 -4:16/0 = 0 -5:16/0 = 0 -6:16/0 = 0 -7:16/0 = 0 -8:16/0 = 0 -9:16/0 = 0 -10:16/0 = 0 -11:16/0 = 0 -12:16/0 = 0 -13:16/0 = 0 -14:16/0 = 0 -15:16/0 = 0 -16:16/0 = 0 -17:16/0 = 0 -18:16/0 = 0 -19:16/0 = 0 -20:16/0 = 0 -21:16/0 = 0 -22:16/0 = 0 -23:16/0 = 0 -24:16/0 = 0 -25:16/0 = 0 -26:16/0 = 0 -27:16/0 = 0 -28:16/0 = 0 -29:16/0 = 0 -30:16/0 = 0 -31:16/0 = 0 -32:16/0 = 0 -33:16/0 = 0 -34:16/0 = 0 -35:16/0 = 0 -36:16/0 = 0 -37:16/0 = 0 -38:16/0 = 0 -39:16/0 = 0 -40:16/0 = 0 -41:16/0 = 0 -42:16/0 = 0 -43:16/0 = 0 -44:16/0 = 0 -45:16/0 = 0 -46:16/0 = 0 -47:16/0 = 0 -48:16/0 = 0 -0:17/0 = 0 -1:17/0 = 0 -2:17/0 = 0 -3:17/0 = 0 -4:17/0 = 0 -5:17/0 = 0 -6:17/0 = 0 -7:17/0 = 0 -8:17/0 = 0 -9:17/0 = 0 -10:17/0 = 0 -11:17/0 = 0 -12:17/0 = 0 -13:17/0 = 0 -14:17/0 = 0 -15:17/0 = 0 -16:17/0 = 0 -17:17/0 = 0 -18:17/0 = 0 -19:17/0 = 0 -20:17/0 = 0 -21:17/0 = 0 -22:17/0 = 0 -23:17/0 = 0 -24:17/0 = 0 -25:17/0 = 0 -26:17/0 = 0 -27:17/0 = 0 -28:17/0 = 0 -29:17/0 = 0 -30:17/0 = 0 -31:17/0 = 0 -32:17/0 = 0 -33:17/0 = 0 -34:17/0 = 0 -35:17/0 = 0 -36:17/0 = 0 -37:17/0 = 0 -38:17/0 = 0 -39:17/0 = 0 -40:17/0 = 0 -41:17/0 = 0 -42:17/0 = 0 -43:17/0 = 0 -44:17/0 = 0 -45:17/0 = 0 -46:17/0 = 0 -47:17/0 = 0 -48:17/0 = 0 -0:18/0 = 0 -1:18/0 = 0 -2:18/0 = 0 -3:18/0 = 0 -4:18/0 = 0 -5:18/0 = 0 -6:18/0 = 0 -7:18/0 = 0 -8:18/0 = 0 -9:18/0 = 0 -10:18/0 = 0 -11:18/0 = 0 -12:18/0 = 0 -13:18/0 = 0 -14:18/0 = 0 -15:18/0 = 0 -16:18/0 = 0 -17:18/0 = 0 -18:18/0 = 0 -19:18/0 = 0 -20:18/0 = 0 -21:18/0 = 0 -22:18/0 = 0 -23:18/0 = 0 -24:18/0 = 0 -25:18/0 = 0 -26:18/0 = 0 -27:18/0 = 0 -28:18/0 = 0 -29:18/0 = 0 -30:18/0 = 0 -31:18/0 = 0 -32:18/0 = 0 -33:18/0 = 0 -34:18/0 = 0 -35:18/0 = 0 -36:18/0 = 0 -37:18/0 = 0 -38:18/0 = 0 -39:18/0 = 0 -40:18/0 = 0 -41:18/0 = 0 -42:18/0 = 0 -43:18/0 = 0 -44:18/0 = 0 -45:18/0 = 0 -46:18/0 = 0 -47:18/0 = 0 -48:18/0 = 0 -0:19/0 = 0 -1:19/0 = 0 -2:19/0 = 0 -3:19/0 = 0 -4:19/0 = 0 -5:19/0 = 0 -6:19/0 = 0 -7:19/0 = 0 -8:19/0 = 0 -9:19/0 = 0 -10:19/0 = 0 -11:19/0 = 0 -12:19/0 = 0 -13:19/0 = 0 -14:19/0 = 0 -15:19/0 = 0 -16:19/0 = 0 -17:19/0 = 0 -18:19/0 = 0 -19:19/0 = 0 -20:19/0 = 0 -21:19/0 = 0 -22:19/0 = 0 -23:19/0 = 0 -24:19/0 = 0 -25:19/0 = 0 -26:19/0 = 0 -27:19/0 = 0 -28:19/0 = 0 -29:19/0 = 0 -30:19/0 = 0 -31:19/0 = 0 -32:19/0 = 0 -33:19/0 = 0 -34:19/0 = 0 -35:19/0 = 0 -36:19/0 = 0 -37:19/0 = 0 -38:19/0 = 0 -39:19/0 = 0 -40:19/0 = 0 -41:19/0 = 0 -42:19/0 = 0 -43:19/0 = 0 -44:19/0 = 0 -45:19/0 = 0 -46:19/0 = 0 -47:19/0 = 0 -48:19/0 = 0 -0:20/0 = 0 -1:20/0 = 0 -2:20/0 = 0 -3:20/0 = 0 -4:20/0 = 0 -5:20/0 = 0 -6:20/0 = 0 -7:20/0 = 0 -8:20/0 = 0 -9:20/0 = 0 -10:20/0 = 0 -11:20/0 = 0 -12:20/0 = 0 -13:20/0 = 0 -14:20/0 = 0 -15:20/0 = 0 -16:20/0 = 0 -17:20/0 = 0 -18:20/0 = 0 -19:20/0 = 0 -20:20/0 = 0 -21:20/0 = 0 -22:20/0 = 0 -23:20/0 = 0 -24:20/0 = 0 -25:20/0 = 0 -26:20/0 = 0 -27:20/0 = 0 -28:20/0 = 0 -29:20/0 = 0 -30:20/0 = 0 -31:20/0 = 0 -32:20/0 = 0 -33:20/0 = 0 -34:20/0 = 0 -35:20/0 = 0 -36:20/0 = 0 -37:20/0 = 0 -38:20/0 = 0 -39:20/0 = 0 -40:20/0 = 0 -41:20/0 = 0 -42:20/0 = 0 -43:20/0 = 0 -44:20/0 = 0 -45:20/0 = 0 -46:20/0 = 0 -47:20/0 = 0 -48:20/0 = 0 -0:21/0 = 0 -1:21/0 = 0 -2:21/0 = 0 -3:21/0 = 0 -4:21/0 = 0 -5:21/0 = 0 -6:21/0 = 0 -7:21/0 = 0 -8:21/0 = 0 -9:21/0 = 0 -10:21/0 = 0 -11:21/0 = 0 -12:21/0 = 0 -13:21/0 = 0 -14:21/0 = 0 -15:21/0 = 0 -16:21/0 = 0 -17:21/0 = 0 -18:21/0 = 0 -19:21/0 = 0 -20:21/0 = 0 -21:21/0 = 0 -22:21/0 = 0 -23:21/0 = 0 -24:21/0 = 0 -25:21/0 = 0 -26:21/0 = 0 -27:21/0 = 0 -28:21/0 = 0 -29:21/0 = 0 -30:21/0 = 0 -31:21/0 = 0 -32:21/0 = 0 -33:21/0 = 0 -34:21/0 = 0 -35:21/0 = 0 -36:21/0 = 0 -37:21/0 = 0 -38:21/0 = 0 -39:21/0 = 0 -40:21/0 = 0 -41:21/0 = 0 -42:21/0 = 0 -43:21/0 = 0 -44:21/0 = 0 -45:21/0 = 0 -46:21/0 = 0 -47:21/0 = 0 -48:21/0 = 0 - -[sub_resource type="TileSet" id="TileSet_47enk"] -sources/0 = SubResource("TileSetAtlasSource_tjuek") +[ext_resource type="PackedScene" uid="uid://rp5orgc6ae7j" path="res://scenes/soldier.tscn" id="2_vye67"] [sub_resource type="Curve2D" id="Curve2D_tjuek"] _data = { -"points": PackedVector2Array(0, 0, 0, 0, -8, 168, 0, 0, 0, 0, -8, 168, 0, 0, 0, 0, 248, 168, 0, 0, 0, 0, 248, 104, 0, 0, 0, 0, 72, 104, 0, 0, 0, 0, 72, 56, 0, 0, 0, 0, 328, 56) +"points": PackedVector2Array(0, 0, 0, 0, -8, 168, 0, 0, 0, 0, 248, 168, 0, 0, 0, 0, 248, 104, 0, 0, 0, 0, 72, 104, 0, 0, 0, 0, 72, 56, 0, 0, 0, 0, 328, 56) } -point_count = 7 - -[node name="Main" type="Node2D"] - -[node name="L1" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAoAAAAIAAEAAGABAAoAAAAIAAEAAGACAAoAAAAIAAEAAGADAAoAAAAIAAEAAGAEAAoAAAAIAAEAAGAFAAoAAAAIAAEAAGAGAAoAAAAIAAEAAGAHAAoAAAAIAAEAAGAIAAoAAAAIAAEAAGAJAAoAAAAIAAEAAGAKAAoAAAAIAAEAAGALAAoAAAAIAAEAAGAMAAoAAAAIAAEAAGANAAoAAAAIAAEAAGAOAAoAAAAIAAEAAGAPAAoAAAAJAAEAADAPAAkAAAAIAAEAAAAPAAgAAAAIAAEAAAAPAAcAAAAIAAEAAAAPAAYAAAAJAAEAAFAOAAYAAAAIAAEAAGANAAYAAAAIAAEAAGAMAAYAAAAIAAEAAGALAAYAAAAIAAEAAGAKAAYAAAAIAAEAAGAJAAYAAAAIAAEAAGAIAAYAAAAIAAEAAGAHAAYAAAAIAAEAAGAGAAYAAAAIAAEAAGAFAAYAAAAIAAEAAGAEAAMAAAAJAAEAAAAEAAUAAAAIAAEAADAEAAQAAAAIAAEAADAFAAMAAAAIAAEAAGAGAAMAAAAIAAEAAGAHAAMAAAAIAAEAAGAIAAMAAAAIAAEAAGAJAAMAAAAIAAEAAGAKAAMAAAAIAAEAAGALAAMAAAAIAAEAAGAMAAMAAAAIAAEAAGANAAMAAAAIAAEAAGAOAAMAAAAIAAEAAGAPAAMAAAAIAAEAAGAQAAMAAAAIAAEAAGARAAMAAAAIAAEAAGASAAMAAAAIAAEAAGATAAMAAAAIAAEAAGAEAAYAAAAJAAEAAGA=") -tile_set = SubResource("TileSet_47enk") - -[node name="PathSpawner" type="Node2D" parent="."] +point_count = 6 -[node name="Path2D" type="Path2D" parent="."] +[node name="Path2D" type="Path2D"] +z_index = 1 curve = SubResource("Curve2D_tjuek") -[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] -position = Vector2(-8.17969, 168) +[node name="PathFollow2D" type="PathFollow2D" parent="."] +position = Vector2(-8, 168) +rotates = false loop = false -[node name="CrawlerSoldier" parent="Path2D/PathFollow2D" instance=ExtResource("2_vye67")] +[node name="CrawlerSoldier" parent="PathFollow2D" instance=ExtResource("2_vye67")] diff --git a/scenes/Main.tscn b/scenes/Main.tscn index 01f6590..c885bab 100644 --- a/scenes/Main.tscn +++ b/scenes/Main.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=8 format=4 uid="uid://chwnewu8l45kj"] [ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="1_rvslj"] -[ext_resource type="Script" uid="uid://i5bjnah05h14" path="res://path_spawner.gd" id="2_0bbpv"] -[ext_resource type="PackedScene" uid="uid://cq6d7gmjbwl14" path="res://scenes/UI/cursor.tscn" id="4_rarhs"] -[ext_resource type="Script" uid="uid://c8p74tnba8rs8" path="res://scenes/grid_manager.gd" id="4_vcsgt"] -[ext_resource type="PackedScene" uid="uid://dycgp3yept14k" path="res://scenes/UI/ui.tscn" id="5_vcsgt"] +[ext_resource type="Script" uid="uid://i5bjnah05h14" path="res://scripts/path_spawner.gd" id="2_0bbpv"] +[ext_resource type="PackedScene" uid="uid://cq6d7gmjbwl14" path="res://scenes/cursor.tscn" id="4_rarhs"] +[ext_resource type="Script" uid="uid://c8p74tnba8rs8" path="res://scripts/grid_manager.gd" id="4_vcsgt"] +[ext_resource type="PackedScene" uid="uid://dycgp3yept14k" path="res://scenes/ui.tscn" id="5_vcsgt"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tjuek"] texture = ExtResource("1_rvslj") @@ -1092,9 +1092,7 @@ sources/0 = SubResource("TileSetAtlasSource_tjuek") [node name="Main" type="Node2D"] -[node name="L1" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAMAAAADAAIAAAAAAAYAAAAEAAEAAAAAAAcAAAAEAAEAAAAAAAgAAAADAAEAAAAAAAkAAAAOAAYAAAAAAAoAAAAIAAEAAGAAAAsAAAAEAAEAAAAAAAwAAAADAAEAAAAAAA0AAAAEAAIAAAABAAEAAAAOAAoAAAABAAIAAAAAAAIAAAABAAUAAAABAAEAAAABAAgAAAAEAAEAAAABAAkAAAATAAYAAAABAAoAAAAIAAEAAGABAAsAAAAAAAIAAAABAAwAAAAEAAIAAAABAA0AAAAdAAcAAAACAAEAAAAQABQAAAACAAIAAAAQABUAAAACAAMAAAABAAEAAAACAAQAAAAAAAEAAAACAAUAAAADAAIAAAACAAYAAAAFAAIAAAACAAcAAAAAAAIAAAACAAgAAAADAAIAAAACAAk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AAAOAA4AAAAJAAUAAFAPAAEAAAARAA8AAAAPAAMAAAAIAAEAAGAPAA4AAAALAAUAAAAQAAEAAAARAA8AAAAQAAMAAAAIAAEAAGAQAAcAAAADAAAAAAAQAA4AAAAIAAUAAAARAAEAAAARAA8AAAARAAMAAAAIAAEAAGARAAUAAAAAAAIAAAARAAcAAAADAAAAAAARAA4AAAAIAAUAAAASAAMAAAAIAAEAAGASAA4AAAAIAAUAAAATAAQAAAARAAkAAAATAAcAAAADAAAAAAATAA4AAAAIAAUAAAA=") -tile_set = SubResource("TileSet_47enk") +[node name="Cursor" parent="." instance=ExtResource("4_rarhs")] [node name="PathSpawner" type="Node2D" parent="."] script = ExtResource("2_0bbpv") @@ -1103,9 +1101,11 @@ script = ExtResource("2_0bbpv") wait_time = 2.0 autostart = true -[node name="Defenders" type="Node" parent="."] +[node name="L1" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAAAAAMAAAADAAIAAAAAAAYAAAAEAAEAAAAAAAcAAAAEAAEAAAAAAAgAAAADAAEAAAAAAAkAAAAOAAYAAAAAAAoAAAAIAAEAAGAAAAsAAAAEAAEAAAAAAAwAAAADAAEAAAAAAA0AAAAEAAIAAAABAAEAAAAOAAoAAAABAAIAAAAAAAIAAAABAAUAAAABAAEAAAABAAgAAAAEAAEAAAABAAkAAAATAAYAAAABAAoAAAAIAAEAAGABAAsAAAAAAAIAAAABAAwAAAAEAAIAAAABAA0AAAAdAAcAAAACAAEAAAAQABQAAAACAAIAAAAQABUAAAACAAMAAAABAAEAAAACAAQAAAAAAAEAAAACAAUAAAADAAIAAAACAAYAAAAFAAIAAAACAAcAAAAAAAIAAAACAAgAAAADAAIAAAACAAkAAAADAAEAAAACAAoAAAAIAAEAAGACAAsAAAADAAEAAAADAAEAAAAQABUAAAADAAIAAAARABUAAAADAAwAAAAGAAIAAAADAA0AAAABAAEAAAAEAAEAAAARABUAAAAEAAIAAAARABUAAAAEAAMAAAAJAAEAAAAEAAQAAAAIAAEAADAE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AAUAAAAAAAIAAAARAAcAAAADAAAAAAARAA4AAAAIAAUAAAASAAMAAAAIAAEAAGASAA4AAAAIAAUAAAATAAQAAAARAAkAAAATAAcAAAADAAAAAAATAA4AAAAIAAUAAAA=") +tile_set = SubResource("TileSet_47enk") -[node name="Cursor" parent="." instance=ExtResource("4_rarhs")] +[node name="Defenders" type="Node" parent="."] [node name="GridManager" type="Node" parent="."] script = ExtResource("4_vcsgt") diff --git a/scenes/UI/cursor.tscn b/scenes/cursor.tscn index 9da5554..f309af1 100644 --- a/scenes/UI/cursor.tscn +++ b/scenes/cursor.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=3 uid="uid://cq6d7gmjbwl14"] -[ext_resource type="Script" uid="uid://bwiimenoyb5og" path="res://scenes/UI/cursor.gd" id="1_4knn1"] +[ext_resource type="Script" uid="uid://bwiimenoyb5og" path="res://scripts/cursor.gd" id="1_4knn1"] [ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_gber1"] [node name="Cursor" type="Node2D"] diff --git a/scenes/levels/L1.tscn b/scenes/levels/L1.tscn deleted file mode 100644 index 1231f7a..0000000 --- a/scenes/levels/L1.tscn +++ /dev/null @@ -1,20 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://dpw25lq6fs4be"] - -[ext_resource type="PackedScene" uid="uid://rp5orgc6ae7j" path="res://scenes/crawlers/soldier.tscn" id="1_mao1c"] - -[sub_resource type="Curve2D" id="Curve2D_tjuek"] -_data = { -"points": PackedVector2Array(0, 0, 0, 0, -8, 168, 0, 0, 0, 0, 248, 168, 0, 0, 0, 0, 248, 104, 0, 0, 0, 0, 72, 104, 0, 0, 0, 0, 72, 56, 0, 0, 0, 0, 328, 56) -} -point_count = 6 - -[node name="Path2D" type="Path2D"] -curve = SubResource("Curve2D_tjuek") - -[node name="PathFollow2D" type="PathFollow2D" parent="."] -position = Vector2(-8, 168) -rotates = false -loop = false - -[node name="CrawlerSoldier" parent="PathFollow2D" instance=ExtResource("1_mao1c")] -position = Vector2(0.179688, 0) diff --git a/scenes/crawlers/soldier.tscn b/scenes/soldier.tscn index 0bc7fd0..dd665e1 100644 --- a/scenes/crawlers/soldier.tscn +++ b/scenes/soldier.tscn @@ -1,18 +1,18 @@ [gd_scene load_steps=4 format=3 uid="uid://rp5orgc6ae7j"] -[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="1_2fsdr"] -[ext_resource type="Script" uid="uid://gn1504blq1pf" path="res://scenes/crawlers/soldier.gd" id="1_220eh"] +[ext_resource type="Script" uid="uid://gn1504blq1pf" path="res://scripts/soldier.gd" id="1_q2rr1"] +[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_2oslh"] [sub_resource type="CircleShape2D" id="CircleShape2D_220eh"] radius = 8.06226 [node name="CrawlerSoldier" type="CharacterBody2D"] -script = ExtResource("1_220eh") +script = ExtResource("1_q2rr1") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_220eh") [node name="Sprite2D" type="Sprite2D" parent="."] -texture = ExtResource("1_2fsdr") +texture = ExtResource("2_2oslh") region_enabled = true region_rect = Rect2(432, 0, 16, 16) diff --git a/scenes/UI/ui.tscn b/scenes/ui.tscn index 8e6a36b..bd8f3ff 100644 --- a/scenes/UI/ui.tscn +++ b/scenes/ui.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://dycgp3yept14k"] -[ext_resource type="Script" uid="uid://dtj2opmwvh4y1" path="res://scenes/UI/life.gd" id="1_suays"] -[ext_resource type="Script" uid="uid://b8urrbmynk327" path="res://scenes/UI/morale.gd" id="1_yb1mt"] +[ext_resource type="Script" uid="uid://dtj2opmwvh4y1" path="res://scripts/life.gd" id="1_suays"] +[ext_resource type="Script" uid="uid://b8urrbmynk327" path="res://scripts/morale.gd" id="1_yb1mt"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nt14h"] bg_color = Color(0, 0.0117647, 0.552941, 1) diff --git a/scenes/defenders/warlock.tscn b/scenes/warlock.tscn index b92f543..b4dd6fb 100644 --- a/scenes/defenders/warlock.tscn +++ b/scenes/warlock.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=5 format=3 uid="uid://d27cf3jwfvbqu"] -[ext_resource type="Script" uid="uid://dvhqpgw6vhayu" path="res://scenes/defenders/warlock.gd" id="1_rpypk"] -[ext_resource type="Script" uid="uid://6i27kmcpl7ix" path="res://scenes/defenders/warlock_animation_handler.gd" id="2_rpypk"] +[ext_resource type="Script" uid="uid://dvhqpgw6vhayu" path="res://scripts/warlock.gd" id="1_6o2jo"] +[ext_resource type="Script" uid="uid://6i27kmcpl7ix" path="res://scripts/warlock_animation_handler.gd" id="2_smthy"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_wu3n4"] size = Vector2(16, 16) @@ -10,7 +10,7 @@ size = Vector2(16, 16) radius = 64.0 [node name="Warlock" type="StaticBody2D"] -script = ExtResource("1_rpypk") +script = ExtResource("1_6o2jo") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_wu3n4") @@ -31,7 +31,7 @@ autostart = true [node name="Sprite2D" type="Sprite2D" parent="."] region_rect = Rect2(496, 16, 16, 16) -script = ExtResource("2_rpypk") +script = ExtResource("2_smthy") [connection signal="body_entered" from="Tower" to="." method="_on_tower_body_entered"] [connection signal="timeout" from="FireTimer" to="." method="_on_fire_timer_timeout"] diff --git a/scenes/defenders/warlock_projectile.tscn b/scenes/warlock_projectile.tscn index 34204bc..1f21e64 100644 --- a/scenes/defenders/warlock_projectile.tscn +++ b/scenes/warlock_projectile.tscn @@ -1,17 +1,17 @@ [gd_scene load_steps=4 format=3 uid="uid://bjt768hxqfu5h"] -[ext_resource type="Script" uid="uid://kolqesiin33p" path="res://scenes/defenders/warlock_projectile.gd" id="1_jonmr"] -[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_c7g7q"] +[ext_resource type="Script" uid="uid://kolqesiin33p" path="res://scripts/warlock_projectile.gd" id="1_lc50e"] +[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_gk4ny"] [sub_resource type="CircleShape2D" id="CircleShape2D_0ilu8"] radius = 8.0 [node name="WarlockProjectile" type="CharacterBody2D"] -script = ExtResource("1_jonmr") +script = ExtResource("1_lc50e") [node name="Sprite2D" type="Sprite2D" parent="."] scale = Vector2(0.5, 0.5) -texture = ExtResource("2_c7g7q") +texture = ExtResource("2_gk4ny") region_enabled = true region_rect = Rect2(432, 320, 16, 16) diff --git a/scenes/defenders/wyvern.tscn b/scenes/wyvern.tscn index cdd5c97..b2ae554 100644 --- a/scenes/defenders/wyvern.tscn +++ b/scenes/wyvern.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=5 format=3 uid="uid://d37i2dwyynqdw"] -[ext_resource type="Script" uid="uid://cfhnd8k1sy116" path="res://scenes/defenders/wyvern.gd" id="1_6c73s"] -[ext_resource type="Script" uid="uid://dl7a53e1auku7" path="res://scenes/defenders/wyvern_animation_handler.gd" id="2_6c73s"] +[ext_resource type="Script" uid="uid://cfhnd8k1sy116" path="res://scripts/wyvern.gd" id="1_xynyr"] +[ext_resource type="Script" uid="uid://dl7a53e1auku7" path="res://scripts/wyvern_animation_handler.gd" id="2_wbji5"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_wu3n4"] size = Vector2(16, 16) @@ -10,7 +10,7 @@ size = Vector2(16, 16) radius = 48.0 [node name="Wyvern" type="StaticBody2D"] -script = ExtResource("1_6c73s") +script = ExtResource("1_xynyr") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_wu3n4") @@ -29,7 +29,7 @@ wait_time = 2.0 [node name="Sprite2D" type="Sprite2D" parent="."] region_rect = Rect2(496, 16, 16, 16) -script = ExtResource("2_6c73s") +script = ExtResource("2_wbji5") [connection signal="body_entered" from="Tower" to="." method="_on_tower_body_entered"] [connection signal="body_exited" from="Tower" to="." method="_on_tower_body_exited"] diff --git a/scenes/defenders/wyvern_projectile.tscn b/scenes/wyvern_projectile.tscn index 34baca4..24e6861 100644 --- a/scenes/defenders/wyvern_projectile.tscn +++ b/scenes/wyvern_projectile.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=7 format=3 uid="uid://b5klvt4gcjnah"] -[ext_resource type="Script" uid="uid://brqwmj8ydtipd" path="res://scenes/defenders/wyvern_projectile.gd" id="1_68je7"] +[ext_resource type="Script" uid="uid://brqwmj8ydtipd" path="res://scripts/wyvern_projectile.gd" id="1_4pt1w"] [sub_resource type="CircleShape2D" id="CircleShape2D_tajkb"] radius = 8.0 @@ -22,7 +22,7 @@ point_count = 2 radius = 5.0 [node name="WyvernProjectile" type="CharacterBody2D"] -script = ExtResource("1_68je7") +script = ExtResource("1_4pt1w") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_tajkb") diff --git a/scenes/defenders/base_animation_handler.gd b/scripts/base_animation_handler.gd index c9e7630..c9e7630 100644 --- a/scenes/defenders/base_animation_handler.gd +++ b/scripts/base_animation_handler.gd diff --git a/scenes/defenders/base_animation_handler.gd.uid b/scripts/base_animation_handler.gd.uid index 75b9ff2..75b9ff2 100644 --- a/scenes/defenders/base_animation_handler.gd.uid +++ b/scripts/base_animation_handler.gd.uid diff --git a/scenes/defenders/base_defender.gd b/scripts/base_defender.gd index 66be11d..66be11d 100644 --- a/scenes/defenders/base_defender.gd +++ b/scripts/base_defender.gd diff --git a/scenes/defenders/base_defender.gd.uid b/scripts/base_defender.gd.uid index 8d46a61..8d46a61 100644 --- a/scenes/defenders/base_defender.gd.uid +++ b/scripts/base_defender.gd.uid diff --git a/scenes/UI/cursor.gd b/scripts/cursor.gd index c71eaa2..025679b 100644 --- a/scenes/UI/cursor.gd +++ b/scripts/cursor.gd @@ -13,11 +13,11 @@ var dirs = {"move_right": Vector2.RIGHT, "move_down": Vector2.DOWN} var towers : Dictionary = { "place_warlock": { - "scene": preload("res://scenes/defenders/warlock.tscn"), + "scene": preload("res://scenes/warlock.tscn"), "cost": 10 }, "place_wyvern": { - "scene": preload("res://scenes/defenders/wyvern.tscn"), + "scene": preload("res://scenes/wyvern.tscn"), "cost": 15 } } diff --git a/scenes/UI/cursor.gd.uid b/scripts/cursor.gd.uid index 015cefa..015cefa 100644 --- a/scenes/UI/cursor.gd.uid +++ b/scripts/cursor.gd.uid diff --git a/scenes/game_data/game_data.gd b/scripts/game_data.gd index fd6a80e..fd6a80e 100644 --- a/scenes/game_data/game_data.gd +++ b/scripts/game_data.gd diff --git a/scenes/game_data/game_data.gd.uid b/scripts/game_data.gd.uid index 2c1f11b..2c1f11b 100644 --- a/scenes/game_data/game_data.gd.uid +++ b/scripts/game_data.gd.uid diff --git a/scenes/grid_manager.gd b/scripts/grid_manager.gd index 8fa59e5..8fa59e5 100644 --- a/scenes/grid_manager.gd +++ b/scripts/grid_manager.gd diff --git a/scenes/grid_manager.gd.uid b/scripts/grid_manager.gd.uid index 424fc40..424fc40 100644 --- a/scenes/grid_manager.gd.uid +++ b/scripts/grid_manager.gd.uid diff --git a/scenes/UI/life.gd b/scripts/life.gd index b185cda..b185cda 100644 --- a/scenes/UI/life.gd +++ b/scripts/life.gd diff --git a/scenes/UI/life.gd.uid b/scripts/life.gd.uid index 6666d8d..6666d8d 100644 --- a/scenes/UI/life.gd.uid +++ b/scripts/life.gd.uid diff --git a/scenes/UI/morale.gd b/scripts/morale.gd index d5a8046..d5a8046 100644 --- a/scenes/UI/morale.gd +++ b/scripts/morale.gd diff --git a/scenes/UI/morale.gd.uid b/scripts/morale.gd.uid index 2424396..2424396 100644 --- a/scenes/UI/morale.gd.uid +++ b/scripts/morale.gd.uid diff --git a/scripts/path_generator.gd b/scripts/path_generator.gd new file mode 100644 index 0000000..fae2c76 --- /dev/null +++ b/scripts/path_generator.gd @@ -0,0 +1,11 @@ +extends Node + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/scripts/path_generator.gd.uid b/scripts/path_generator.gd.uid new file mode 100644 index 0000000..d402d38 --- /dev/null +++ b/scripts/path_generator.gd.uid @@ -0,0 +1 @@ +uid://dtt3ncmdrhtta diff --git a/path_spawner.gd b/scripts/path_spawner.gd index cb9d0f4..9b8f663 100644 --- a/path_spawner.gd +++ b/scripts/path_spawner.gd @@ -1,6 +1,6 @@ extends Node2D -@onready var path = preload("res://scenes/levels/L1.tscn") +@onready var path = preload("res://scenes/L1.tscn") func _on_timer_timeout(): var tmp = path.instantiate() diff --git a/path_spawner.gd.uid b/scripts/path_spawner.gd.uid index a6ecd6a..a6ecd6a 100644 --- a/path_spawner.gd.uid +++ b/scripts/path_spawner.gd.uid diff --git a/scenes/crawlers/soldier.gd b/scripts/soldier.gd index fe494e6..d373237 100644 --- a/scenes/crawlers/soldier.gd +++ b/scripts/soldier.gd @@ -12,8 +12,8 @@ func _process(delta): GameData.subtract_morale(damage) queue_free() -func deal_damage(damage): - _health -= damage +func deal_damage(tower_damage): + _health -= tower_damage if _health <= 0: GameData.add_life(worth) queue_free() diff --git a/scenes/crawlers/soldier.gd.uid b/scripts/soldier.gd.uid index 917b467..917b467 100644 --- a/scenes/crawlers/soldier.gd.uid +++ b/scripts/soldier.gd.uid diff --git a/scenes/defenders/warlock.gd b/scripts/warlock.gd index afac86c..058f86f 100644 --- a/scenes/defenders/warlock.gd +++ b/scripts/warlock.gd @@ -1,6 +1,6 @@ -extends "res://scenes/defenders/base_defender.gd" +extends "res://scripts/base_defender.gd" -var projectile: PackedScene = preload("res://scenes/defenders/warlock_projectile.tscn") +var projectile: PackedScene = preload("res://scenes/warlock_projectile.tscn") func _ready(): damage = 5 diff --git a/scenes/defenders/warlock.gd.uid b/scripts/warlock.gd.uid index 64a7007..64a7007 100644 --- a/scenes/defenders/warlock.gd.uid +++ b/scripts/warlock.gd.uid diff --git a/scenes/defenders/warlock_animation_handler.gd b/scripts/warlock_animation_handler.gd index 49c2b8a..f7ac9c3 100644 --- a/scenes/defenders/warlock_animation_handler.gd +++ b/scripts/warlock_animation_handler.gd @@ -1,4 +1,4 @@ -extends "res://scenes/defenders/base_animation_handler.gd" +extends "res://scripts/base_animation_handler.gd" func _ready(): idle = Rect2(496, 16, 16, 16) diff --git a/scenes/defenders/warlock_animation_handler.gd.uid b/scripts/warlock_animation_handler.gd.uid index 4fa3cf7..4fa3cf7 100644 --- a/scenes/defenders/warlock_animation_handler.gd.uid +++ b/scripts/warlock_animation_handler.gd.uid diff --git a/scenes/defenders/warlock_projectile.gd b/scripts/warlock_projectile.gd index 060a27d..060a27d 100644 --- a/scenes/defenders/warlock_projectile.gd +++ b/scripts/warlock_projectile.gd diff --git a/scenes/defenders/warlock_projectile.gd.uid b/scripts/warlock_projectile.gd.uid index 3225e3e..3225e3e 100644 --- a/scenes/defenders/warlock_projectile.gd.uid +++ b/scripts/warlock_projectile.gd.uid diff --git a/scenes/defenders/wyvern.gd b/scripts/wyvern.gd index 8341d41..ecd92ad 100644 --- a/scenes/defenders/wyvern.gd +++ b/scripts/wyvern.gd @@ -1,6 +1,6 @@ -extends "res://scenes/defenders/base_defender.gd" +extends "res://scripts/base_defender.gd" -var projectile: PackedScene = preload("res://scenes/defenders/wyvern_projectile.tscn") +var projectile: PackedScene = preload("res://scenes/wyvern_projectile.tscn") var damage_tick_rate: float = 0.25 var firing : bool = false diff --git a/scenes/defenders/wyvern.gd.uid b/scripts/wyvern.gd.uid index abe259e..abe259e 100644 --- a/scenes/defenders/wyvern.gd.uid +++ b/scripts/wyvern.gd.uid diff --git a/scenes/defenders/wyvern_animation_handler.gd b/scripts/wyvern_animation_handler.gd index 7e17256..8cadc72 100644 --- a/scenes/defenders/wyvern_animation_handler.gd +++ b/scripts/wyvern_animation_handler.gd @@ -1,4 +1,4 @@ -extends "res://scenes/defenders/base_animation_handler.gd" +extends "res://scripts/base_animation_handler.gd" func _ready(): idle = Rect2(384, 160, 16, 16) diff --git a/scenes/defenders/wyvern_animation_handler.gd.uid b/scripts/wyvern_animation_handler.gd.uid index 5c8f57b..5c8f57b 100644 --- a/scenes/defenders/wyvern_animation_handler.gd.uid +++ b/scripts/wyvern_animation_handler.gd.uid diff --git a/scenes/defenders/wyvern_projectile.gd b/scripts/wyvern_projectile.gd index 9b59bb0..9b59bb0 100644 --- a/scenes/defenders/wyvern_projectile.gd +++ b/scripts/wyvern_projectile.gd diff --git a/scenes/defenders/wyvern_projectile.gd.uid b/scripts/wyvern_projectile.gd.uid index 3882240..3882240 100644 --- a/scenes/defenders/wyvern_projectile.gd.uid +++ b/scripts/wyvern_projectile.gd.uid |