Finished Full Purge Spell. Instakills Enemies and damages Elite Enemeies. Spawns with three fruits combined

main
Artur David 2026-06-18 10:54:19 +02:00
parent f00a0718d2
commit a2a9ca7f5f
5 changed files with 19 additions and 14 deletions

View File

@ -2352,6 +2352,12 @@ script = ExtResource("1_vtaks")
[node name="Worldborder" parent="." unique_id=985455729 instance=ExtResource("2_dinhu")]
[node name="TileMapLayer(Background)2" parent="." unique_id=1138596890 instance=ExtResource("8_vtaks")]
texture_filter = 1
[node name="TileMapLayer(Overlay)" parent="." unique_id=659138705 instance=ExtResource("10_dinhu")]
texture_filter = 1
[node name="World" type="Node2D" parent="." unique_id=555444333]
y_sort_enabled = true
@ -2373,6 +2379,7 @@ position = Vector2(1, 5)
anchor_mode = 0
zoom = Vector2(2.11, 2.11)
script = ExtResource("3_kvpfn")
current = true
[node name="SpawnControl" type="Control" parent="." unique_id=1780647990]
layout_mode = 3
@ -2381,12 +2388,6 @@ offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("6_p57ef")
[node name="TileMapLayer(Background)2" parent="." unique_id=1138596890 instance=ExtResource("8_vtaks")]
texture_filter = 1
[node name="TileMapLayer(Overlay)" parent="." unique_id=659138705 instance=ExtResource("10_dinhu")]
texture_filter = 1
[node name="DropManager" type="Node2D" parent="." unique_id=1629996711]
script = ExtResource("10_vtaks")

View File

@ -1,10 +1,12 @@
[gd_scene load_steps=3 format=3]
[gd_scene format=3 uid="uid://cygkgv4jm4kny"]
[ext_resource type="PackedScene" path="res://scenes/summon_circle.tscn" id="1_summon"]
[ext_resource type="Script" path="res://scripts/purge.gd" id="2_script"]
[ext_resource type="PackedScene" uid="uid://b4g2fudopgct4" path="res://scenes/summon_circle.tscn" id="1_summon"]
[ext_resource type="Script" uid="uid://bromcspk7dk6s" path="res://scripts/purge.gd" id="2_script"]
[node name="Purge" type="Node2D"]
[node name="Purge" type="Node2D" unique_id=1274298337]
script = ExtResource("2_script")
[node name="SummonCircle" parent="." instance=ExtResource("1_summon")]
position = Vector2(0, 8)
[node name="SummonCircle" parent="." unique_id=665490341 instance=ExtResource("1_summon")]
z_index = -1
position = Vector2(0, 12)
scale = Vector2(0.2, 0.2)

View File

@ -22,6 +22,7 @@ func _ready() -> void:
SpellLibrary.FIRE_SWIRL: _witch.shoot_fire_swirl,
SpellLibrary.TORNADO: _witch.shoot_tornado,
SpellLibrary.LASER: _witch.shoot_laser,
SpellLibrary.PURGE: _witch.shoot_purge,
}
_build_ui()
hide()

View File

@ -29,7 +29,7 @@ func _flash() -> void:
var circle_tween = create_tween()
circle_tween.set_pause_mode(Tween.TWEEN_PAUSE_PROCESS)
circle_tween.tween_property(summon_circle, "modulate:a", 0.0, 0.3)
circle_tween.tween_property(summon_circle, "modulate:a", 0.0, 0.6)
var layer = CanvasLayer.new()
layer.layer = 100
@ -45,4 +45,4 @@ func _flash() -> void:
tween.set_pause_mode(Tween.TWEEN_PAUSE_PROCESS)
tween.tween_property(rect, "color:a", 0.0, FLASH_FADE_DURATION)
await tween.finished
queue_free()
queue_free()

View File

@ -0,0 +1 @@
uid://bromcspk7dk6s