From f39e244fa07961104a27903e39c38908fbbb0e88 Mon Sep 17 00:00:00 2001 From: Dmitry Degtyarev Date: Sun, 29 Sep 2024 13:07:28 +0200 Subject: [PATCH] Change sprites for some effects --- .../bdragon/apply_potion_537.png.import | 34 +++++ .../bdragon/cloud_of_fog_382.png.import | 34 +++++ ...port => cloud_of_fog_small_428.png.import} | 6 +- .../effects/bdragon/gold_credit_88.png.import | 34 +++++ ...ng.import => vampiric_aura_199.png.import} | 8 +- src/effects/apply_potion.tscn | 107 +++++++++++++++ src/effects/cloud_of_fog.tscn | 85 ------------ src/effects/cloud_of_fog_cycle.tscn | 63 ++++----- src/effects/cloud_of_fog_small.tscn | 87 ++++++++++++ src/effects/gold_credit.tscn | 124 ++++++------------ src/effects/vampiric_aura.tscn | 105 +++++++++++---- src/items/tower_item_container.gd | 2 +- src/towers/tower_behaviors/bomb_turret.gd | 3 +- 13 files changed, 456 insertions(+), 236 deletions(-) create mode 100644 assets/effects/bdragon/apply_potion_537.png.import create mode 100644 assets/effects/bdragon/cloud_of_fog_382.png.import rename assets/effects/bdragon/{cloud_of_fog_428.png.import => cloud_of_fog_small_428.png.import} (67%) create mode 100644 assets/effects/bdragon/gold_credit_88.png.import rename assets/effects/bdragon/{vampiric_aura_015.png.import => vampiric_aura_199.png.import} (65%) create mode 100644 src/effects/apply_potion.tscn delete mode 100644 src/effects/cloud_of_fog.tscn create mode 100644 src/effects/cloud_of_fog_small.tscn diff --git a/assets/effects/bdragon/apply_potion_537.png.import b/assets/effects/bdragon/apply_potion_537.png.import new file mode 100644 index 000000000..6241507c2 --- /dev/null +++ b/assets/effects/bdragon/apply_potion_537.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bvcsmcf7c2lf8" +path="res://.godot/imported/apply_potion_537.png-35b12a0cd764b81cba6eb59687eff642.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/effects/bdragon/apply_potion_537.png" +dest_files=["res://.godot/imported/apply_potion_537.png-35b12a0cd764b81cba6eb59687eff642.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/effects/bdragon/cloud_of_fog_382.png.import b/assets/effects/bdragon/cloud_of_fog_382.png.import new file mode 100644 index 000000000..12b9aa53c --- /dev/null +++ b/assets/effects/bdragon/cloud_of_fog_382.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dhm5njivfgxpo" +path="res://.godot/imported/cloud_of_fog_382.png-c3182a4f8f0667d26adfb41fb11cd5cf.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/effects/bdragon/cloud_of_fog_382.png" +dest_files=["res://.godot/imported/cloud_of_fog_382.png-c3182a4f8f0667d26adfb41fb11cd5cf.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/effects/bdragon/cloud_of_fog_428.png.import b/assets/effects/bdragon/cloud_of_fog_small_428.png.import similarity index 67% rename from assets/effects/bdragon/cloud_of_fog_428.png.import rename to assets/effects/bdragon/cloud_of_fog_small_428.png.import index 3260dcbdb..4d4bd639e 100644 --- a/assets/effects/bdragon/cloud_of_fog_428.png.import +++ b/assets/effects/bdragon/cloud_of_fog_small_428.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://m4w03jglmnu1" -path="res://.godot/imported/cloud_of_fog_428.png-a0e22219fb3247a1028f43f129719440.ctex" +path="res://.godot/imported/cloud_of_fog_small_428.png-76d40982730cadeb3682a93a6908a969.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/effects/bdragon/cloud_of_fog_428.png" -dest_files=["res://.godot/imported/cloud_of_fog_428.png-a0e22219fb3247a1028f43f129719440.ctex"] +source_file="res://assets/effects/bdragon/cloud_of_fog_small_428.png" +dest_files=["res://.godot/imported/cloud_of_fog_small_428.png-76d40982730cadeb3682a93a6908a969.ctex"] [params] diff --git a/assets/effects/bdragon/gold_credit_88.png.import b/assets/effects/bdragon/gold_credit_88.png.import new file mode 100644 index 000000000..24ae17741 --- /dev/null +++ b/assets/effects/bdragon/gold_credit_88.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bg6jx8tkf0t6l" +path="res://.godot/imported/gold_credit_88.png-cd7b586f9ba4cd1b5b00c55ebce14678.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/effects/bdragon/gold_credit_88.png" +dest_files=["res://.godot/imported/gold_credit_88.png-cd7b586f9ba4cd1b5b00c55ebce14678.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/effects/bdragon/vampiric_aura_015.png.import b/assets/effects/bdragon/vampiric_aura_199.png.import similarity index 65% rename from assets/effects/bdragon/vampiric_aura_015.png.import rename to assets/effects/bdragon/vampiric_aura_199.png.import index 632c26b19..aff26b75a 100644 --- a/assets/effects/bdragon/vampiric_aura_015.png.import +++ b/assets/effects/bdragon/vampiric_aura_199.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://c7lrwiqnwi2d6" -path="res://.godot/imported/vampiric_aura_015.png-bf7926a9fbb9193318642917cdd91dec.ctex" +uid="uid://b2nm17eb4jt7" +path="res://.godot/imported/vampiric_aura_199.png-a6dcd595c9ded0381035bddd9fe82e86.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/effects/bdragon/vampiric_aura_015.png" -dest_files=["res://.godot/imported/vampiric_aura_015.png-bf7926a9fbb9193318642917cdd91dec.ctex"] +source_file="res://assets/effects/bdragon/vampiric_aura_199.png" +dest_files=["res://.godot/imported/vampiric_aura_199.png-a6dcd595c9ded0381035bddd9fe82e86.ctex"] [params] diff --git a/src/effects/apply_potion.tscn b/src/effects/apply_potion.tscn new file mode 100644 index 000000000..df512fbbc --- /dev/null +++ b/src/effects/apply_potion.tscn @@ -0,0 +1,107 @@ +[gd_scene load_steps=16 format=3 uid="uid://bbf1c5ci54rq7"] + +[ext_resource type="Texture2D" uid="uid://bvcsmcf7c2lf8" path="res://assets/effects/bdragon/apply_potion_537.png" id="1_f5a57"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_5n06j"] +atlas = ExtResource("1_f5a57") +region = Rect2(0, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_byw1w"] +atlas = ExtResource("1_f5a57") +region = Rect2(64, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_awbl5"] +atlas = ExtResource("1_f5a57") +region = Rect2(128, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_672yt"] +atlas = ExtResource("1_f5a57") +region = Rect2(192, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7g7kt"] +atlas = ExtResource("1_f5a57") +region = Rect2(256, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_y1173"] +atlas = ExtResource("1_f5a57") +region = Rect2(320, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_lhkp8"] +atlas = ExtResource("1_f5a57") +region = Rect2(384, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0c47g"] +atlas = ExtResource("1_f5a57") +region = Rect2(448, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_o33j3"] +atlas = ExtResource("1_f5a57") +region = Rect2(512, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7466c"] +atlas = ExtResource("1_f5a57") +region = Rect2(576, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sbi70"] +atlas = ExtResource("1_f5a57") +region = Rect2(640, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ixtki"] +atlas = ExtResource("1_f5a57") +region = Rect2(704, 256, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_a5hu1"] +atlas = ExtResource("1_f5a57") +region = Rect2(768, 256, 64, 64) + +[sub_resource type="SpriteFrames" id="SpriteFrames_evfuv"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_5n06j") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_byw1w") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_awbl5") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_672yt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7g7kt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_y1173") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_lhkp8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0c47g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_o33j3") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7466c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sbi70") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ixtki") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_a5hu1") +}], +"loop": true, +"name": &"default", +"speed": 30.0 +}] + +[node name="ApplyPotion" type="AnimatedSprite2D"] +scale = Vector2(3, 3) +sprite_frames = SubResource("SpriteFrames_evfuv") +offset = Vector2(0, -10) diff --git a/src/effects/cloud_of_fog.tscn b/src/effects/cloud_of_fog.tscn deleted file mode 100644 index e2ead28db..000000000 --- a/src/effects/cloud_of_fog.tscn +++ /dev/null @@ -1,85 +0,0 @@ -[gd_scene load_steps=13 format=3 uid="uid://dip8vxqytpavb"] - -[ext_resource type="Texture2D" uid="uid://m4w03jglmnu1" path="res://assets/effects/bdragon/cloud_of_fog_428.png" id="1_5ujrq"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_d5tjq"] -atlas = ExtResource("1_5ujrq") -region = Rect2(0, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_45fsf"] -atlas = ExtResource("1_5ujrq") -region = Rect2(64, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jvmtb"] -atlas = ExtResource("1_5ujrq") -region = Rect2(128, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3gr63"] -atlas = ExtResource("1_5ujrq") -region = Rect2(192, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_70eyv"] -atlas = ExtResource("1_5ujrq") -region = Rect2(256, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_h8h5u"] -atlas = ExtResource("1_5ujrq") -region = Rect2(320, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_c7ejb"] -atlas = ExtResource("1_5ujrq") -region = Rect2(384, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1hyv1"] -atlas = ExtResource("1_5ujrq") -region = Rect2(448, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_saidw"] -atlas = ExtResource("1_5ujrq") -region = Rect2(512, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qplq0"] -atlas = ExtResource("1_5ujrq") -region = Rect2(576, 320, 64, 64) - -[sub_resource type="SpriteFrames" id="SpriteFrames_pm8ay"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_d5tjq") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_45fsf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jvmtb") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_3gr63") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_70eyv") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_h8h5u") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_c7ejb") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_1hyv1") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_saidw") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_qplq0") -}], -"loop": true, -"name": &"default", -"speed": 20.0 -}] - -[node name="CloudOfFog" type="AnimatedSprite2D"] -scale = Vector2(4, 4) -sprite_frames = SubResource("SpriteFrames_pm8ay") diff --git a/src/effects/cloud_of_fog_cycle.tscn b/src/effects/cloud_of_fog_cycle.tscn index 5b535969b..2e0a901c8 100644 --- a/src/effects/cloud_of_fog_cycle.tscn +++ b/src/effects/cloud_of_fog_cycle.tscn @@ -1,72 +1,65 @@ -[gd_scene load_steps=12 format=3 uid="uid://b1sjijjdpnr1r"] +[gd_scene load_steps=11 format=3 uid="uid://b1sjijjdpnr1r"] -[ext_resource type="Texture2D" uid="uid://m4w03jglmnu1" path="res://assets/effects/bdragon/cloud_of_fog_428.png" id="1_p7gfr"] +[ext_resource type="Texture2D" uid="uid://dhm5njivfgxpo" path="res://assets/effects/bdragon/cloud_of_fog_382.png" id="1_pr31m"] -[sub_resource type="AtlasTexture" id="AtlasTexture_twi64"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_c1f4r"] +atlas = ExtResource("1_pr31m") region = Rect2(0, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_crqlk"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_nkcgb"] +atlas = ExtResource("1_pr31m") region = Rect2(64, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_xn7ad"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_hv5dv"] +atlas = ExtResource("1_pr31m") region = Rect2(128, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_yivmf"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_vprnd"] +atlas = ExtResource("1_pr31m") region = Rect2(192, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_iqiy6"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_ign78"] +atlas = ExtResource("1_pr31m") region = Rect2(256, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_vaqxf"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_scbr7"] +atlas = ExtResource("1_pr31m") region = Rect2(320, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_mfueq"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_y3468"] +atlas = ExtResource("1_pr31m") region = Rect2(384, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_r3yvx"] -atlas = ExtResource("1_p7gfr") +[sub_resource type="AtlasTexture" id="AtlasTexture_4cpke"] +atlas = ExtResource("1_pr31m") region = Rect2(448, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_28ir3"] -atlas = ExtResource("1_p7gfr") -region = Rect2(512, 320, 64, 64) - [sub_resource type="SpriteFrames" id="SpriteFrames_ocar1"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_twi64") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_crqlk") +"texture": SubResource("AtlasTexture_c1f4r") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_xn7ad") +"texture": SubResource("AtlasTexture_nkcgb") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_yivmf") +"texture": SubResource("AtlasTexture_hv5dv") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_iqiy6") +"texture": SubResource("AtlasTexture_vprnd") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_vaqxf") +"texture": SubResource("AtlasTexture_ign78") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_mfueq") +"texture": SubResource("AtlasTexture_scbr7") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_r3yvx") +"texture": SubResource("AtlasTexture_y3468") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_28ir3") +"texture": SubResource("AtlasTexture_4cpke") }], "loop": true, "name": &"default", @@ -74,5 +67,7 @@ animations = [{ }] [node name="CloudOfFogCycle" type="AnimatedSprite2D"] -scale = Vector2(6, 6) +modulate = Color(1, 1, 1, 0.784314) +scale = Vector2(5, 5) sprite_frames = SubResource("SpriteFrames_ocar1") +frame_progress = 0.540459 diff --git a/src/effects/cloud_of_fog_small.tscn b/src/effects/cloud_of_fog_small.tscn new file mode 100644 index 000000000..3b480c76c --- /dev/null +++ b/src/effects/cloud_of_fog_small.tscn @@ -0,0 +1,87 @@ +[gd_scene load_steps=13 format=3 uid="uid://dip8vxqytpavb"] + +[ext_resource type="Texture2D" uid="uid://m4w03jglmnu1" path="res://assets/effects/bdragon/cloud_of_fog_small_428.png" id="1_j8cn1"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_bj0ph"] +atlas = ExtResource("1_j8cn1") +region = Rect2(0, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2yppv"] +atlas = ExtResource("1_j8cn1") +region = Rect2(64, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t5oxt"] +atlas = ExtResource("1_j8cn1") +region = Rect2(128, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_2mora"] +atlas = ExtResource("1_j8cn1") +region = Rect2(192, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_01tpa"] +atlas = ExtResource("1_j8cn1") +region = Rect2(256, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7545u"] +atlas = ExtResource("1_j8cn1") +region = Rect2(320, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_s0tnu"] +atlas = ExtResource("1_j8cn1") +region = Rect2(384, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_huko8"] +atlas = ExtResource("1_j8cn1") +region = Rect2(448, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pm7lp"] +atlas = ExtResource("1_j8cn1") +region = Rect2(512, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mht78"] +atlas = ExtResource("1_j8cn1") +region = Rect2(576, 320, 64, 64) + +[sub_resource type="SpriteFrames" id="SpriteFrames_pm8ay"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_bj0ph") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2yppv") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t5oxt") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_2mora") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_01tpa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7545u") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_s0tnu") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_huko8") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pm7lp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mht78") +}], +"loop": true, +"name": &"default", +"speed": 20.0 +}] + +[node name="CloudOfFogSmall" type="AnimatedSprite2D"] +modulate = Color(1, 1, 1, 0.784314) +scale = Vector2(4, 4) +sprite_frames = SubResource("SpriteFrames_pm8ay") +frame_progress = 0.372588 diff --git a/src/effects/gold_credit.tscn b/src/effects/gold_credit.tscn index 060803621..b91b53c84 100644 --- a/src/effects/gold_credit.tscn +++ b/src/effects/gold_credit.tscn @@ -1,142 +1,100 @@ -[gd_scene load_steps=21 format=3 uid="uid://c6quw8maco8ba"] +[gd_scene load_steps=15 format=3 uid="uid://c6quw8maco8ba"] -[ext_resource type="Texture2D" uid="uid://du2y31j6qbb5m" path="res://assets/effects/bdragon/gold_credit_673.png" id="1_5jnix"] +[ext_resource type="Texture2D" uid="uid://bg6jx8tkf0t6l" path="res://assets/effects/bdragon/gold_credit_88.png" id="1_1yym6"] -[sub_resource type="AtlasTexture" id="AtlasTexture_5xvlc"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_wmtf3"] +atlas = ExtResource("1_1yym6") region = Rect2(0, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_d22cj"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_ufllw"] +atlas = ExtResource("1_1yym6") region = Rect2(64, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_5xyjv"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_64ypc"] +atlas = ExtResource("1_1yym6") region = Rect2(128, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_olpgq"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_8sk0o"] +atlas = ExtResource("1_1yym6") region = Rect2(192, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_j8vrn"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_hvnpy"] +atlas = ExtResource("1_1yym6") region = Rect2(256, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_kchpf"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_alnm1"] +atlas = ExtResource("1_1yym6") region = Rect2(320, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_1dvyu"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_gqr8k"] +atlas = ExtResource("1_1yym6") region = Rect2(384, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_jtgkt"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_c7w8v"] +atlas = ExtResource("1_1yym6") region = Rect2(448, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_j3bme"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_pdsst"] +atlas = ExtResource("1_1yym6") region = Rect2(512, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_igfrh"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_c0cld"] +atlas = ExtResource("1_1yym6") region = Rect2(576, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_0mvk8"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_vqqj8"] +atlas = ExtResource("1_1yym6") region = Rect2(640, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_25wj3"] -atlas = ExtResource("1_5jnix") +[sub_resource type="AtlasTexture" id="AtlasTexture_7u51a"] +atlas = ExtResource("1_1yym6") region = Rect2(704, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_hofq6"] -atlas = ExtResource("1_5jnix") -region = Rect2(768, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_pl18a"] -atlas = ExtResource("1_5jnix") -region = Rect2(832, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_og4f2"] -atlas = ExtResource("1_5jnix") -region = Rect2(896, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_om66w"] -atlas = ExtResource("1_5jnix") -region = Rect2(960, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_b5fux"] -atlas = ExtResource("1_5jnix") -region = Rect2(1024, 320, 64, 64) - -[sub_resource type="AtlasTexture" id="AtlasTexture_0u28f"] -atlas = ExtResource("1_5jnix") -region = Rect2(1088, 320, 64, 64) - [sub_resource type="SpriteFrames" id="SpriteFrames_42d85"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_5xvlc") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_d22cj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5xyjv") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_olpgq") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_j8vrn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kchpf") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_1dvyu") +"texture": SubResource("AtlasTexture_wmtf3") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_jtgkt") +"texture": SubResource("AtlasTexture_ufllw") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_j3bme") +"texture": SubResource("AtlasTexture_64ypc") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_igfrh") +"texture": SubResource("AtlasTexture_8sk0o") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0mvk8") +"texture": SubResource("AtlasTexture_hvnpy") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_25wj3") +"texture": SubResource("AtlasTexture_alnm1") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_hofq6") +"texture": SubResource("AtlasTexture_gqr8k") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_pl18a") +"texture": SubResource("AtlasTexture_c7w8v") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_og4f2") +"texture": SubResource("AtlasTexture_pdsst") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_om66w") +"texture": SubResource("AtlasTexture_c0cld") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_b5fux") +"texture": SubResource("AtlasTexture_vqqj8") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0u28f") +"texture": SubResource("AtlasTexture_7u51a") }], "loop": true, "name": &"default", -"speed": 30.0 +"speed": 20.0 }] [node name="GoldCredit" type="AnimatedSprite2D"] -modulate = Color(1, 0.859, 0.06, 1) -scale = Vector2(2, 2) +modulate = Color(1, 0.873333, 0.24, 1) +scale = Vector2(3, 3) sprite_frames = SubResource("SpriteFrames_42d85") diff --git a/src/effects/vampiric_aura.tscn b/src/effects/vampiric_aura.tscn index 97d166254..57d558770 100644 --- a/src/effects/vampiric_aura.tscn +++ b/src/effects/vampiric_aura.tscn @@ -1,58 +1,113 @@ -[gd_scene load_steps=9 format=3 uid="uid://djkt0t0jveoks"] +[gd_scene load_steps=17 format=3 uid="uid://djkt0t0jveoks"] -[ext_resource type="Texture2D" uid="uid://c7lrwiqnwi2d6" path="res://assets/effects/bdragon/vampiric_aura_015.png" id="1_p26we"] +[ext_resource type="Texture2D" uid="uid://b2nm17eb4jt7" path="res://assets/effects/bdragon/vampiric_aura_199.png" id="1_gexlj"] -[sub_resource type="AtlasTexture" id="AtlasTexture_2dg3e"] -atlas = ExtResource("1_p26we") +[sub_resource type="AtlasTexture" id="AtlasTexture_iklf1"] +atlas = ExtResource("1_gexlj") +region = Rect2(0, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_djwsp"] +atlas = ExtResource("1_gexlj") +region = Rect2(64, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mvymw"] +atlas = ExtResource("1_gexlj") +region = Rect2(128, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_x0che"] +atlas = ExtResource("1_gexlj") +region = Rect2(192, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7o34c"] +atlas = ExtResource("1_gexlj") +region = Rect2(256, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wi1yn"] +atlas = ExtResource("1_gexlj") region = Rect2(320, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_00if1"] -atlas = ExtResource("1_p26we") +[sub_resource type="AtlasTexture" id="AtlasTexture_qqc4e"] +atlas = ExtResource("1_gexlj") region = Rect2(384, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_3l44q"] -atlas = ExtResource("1_p26we") +[sub_resource type="AtlasTexture" id="AtlasTexture_0gyqi"] +atlas = ExtResource("1_gexlj") region = Rect2(448, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_16i0s"] -atlas = ExtResource("1_p26we") -region = Rect2(448, 320, 64, 64) +[sub_resource type="AtlasTexture" id="AtlasTexture_ub3l0"] +atlas = ExtResource("1_gexlj") +region = Rect2(512, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_vy717"] -atlas = ExtResource("1_p26we") -region = Rect2(384, 320, 64, 64) +[sub_resource type="AtlasTexture" id="AtlasTexture_busr1"] +atlas = ExtResource("1_gexlj") +region = Rect2(576, 320, 64, 64) -[sub_resource type="AtlasTexture" id="AtlasTexture_tn0og"] -atlas = ExtResource("1_p26we") -region = Rect2(320, 320, 64, 64) +[sub_resource type="AtlasTexture" id="AtlasTexture_lh30p"] +atlas = ExtResource("1_gexlj") +region = Rect2(640, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1oakg"] +atlas = ExtResource("1_gexlj") +region = Rect2(704, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_uqfkd"] +atlas = ExtResource("1_gexlj") +region = Rect2(768, 320, 64, 64) + +[sub_resource type="AtlasTexture" id="AtlasTexture_030uv"] +atlas = ExtResource("1_gexlj") +region = Rect2(832, 320, 64, 64) [sub_resource type="SpriteFrames" id="SpriteFrames_3ky65"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_2dg3e") +"texture": SubResource("AtlasTexture_iklf1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_djwsp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mvymw") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_x0che") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7o34c") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wi1yn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qqc4e") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0gyqi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ub3l0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_00if1") +"texture": SubResource("AtlasTexture_busr1") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_3l44q") +"texture": SubResource("AtlasTexture_lh30p") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_16i0s") +"texture": SubResource("AtlasTexture_1oakg") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_vy717") +"texture": SubResource("AtlasTexture_uqfkd") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_tn0og") +"texture": SubResource("AtlasTexture_030uv") }], "loop": true, "name": &"default", -"speed": 5.0 +"speed": 15.0 }] [node name="VampiricAura" type="AnimatedSprite2D"] scale = Vector2(4, 2) sprite_frames = SubResource("SpriteFrames_3ky65") -frame_progress = 0.0246122 diff --git a/src/items/tower_item_container.gd b/src/items/tower_item_container.gd index 09c716875..8e5f7b87d 100644 --- a/src/items/tower_item_container.gd +++ b/src/items/tower_item_container.gd @@ -47,7 +47,7 @@ func add_item(item: Item, insert_index: int = -1): if is_oil && !item._is_oil_and_was_applied_already: var effect_pos: Vector3 = _tower.get_position_wc3() effect_pos.z += Constants.TILE_SIZE_WC3 * 0.25 - Effect.create_animated("res://src/effects/freezing_breath.tscn", effect_pos, 0) + Effect.create_animated("res://src/effects/apply_potion.tscn", effect_pos, 0) item._is_oil_and_was_applied_already = true diff --git a/src/towers/tower_behaviors/bomb_turret.gd b/src/towers/tower_behaviors/bomb_turret.gd index 8d26430f6..4594ed392 100644 --- a/src/towers/tower_behaviors/bomb_turret.gd +++ b/src/towers/tower_behaviors/bomb_turret.gd @@ -175,7 +175,8 @@ func on_damage(event: Event): var buff_duration: float = _stats.smoke_duration + _stats.smoke_duration_add * level silence_bt.apply_only_timed(tower, creep, buff_duration) - var effect: int = Effect.create_scaled("res://src/effects/cloud_of_fog.tscn", Vector3(main_target.get_x(), main_target.get_y(), 0), 0, 0.8) + var effect: int = Effect.create_scaled("res://src/effects/cloud_of_fog_small.tscn", Vector3(main_target.get_x(), main_target.get_y(), 0), 0, 0.8) + Effect.set_lifetime(effect, 0.5) func on_autocast_concussive(_event: Event):