diff --git a/scenes/game.tscn b/scenes/game.tscn index de86db1..7e4f896 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -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") diff --git a/scenes/purge.tscn b/scenes/purge.tscn index ce259f8..9c557d1 100644 --- a/scenes/purge.tscn +++ b/scenes/purge.tscn @@ -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) \ No newline at end of file +[node name="SummonCircle" parent="." unique_id=665490341 instance=ExtResource("1_summon")] +z_index = -1 +position = Vector2(0, 12) +scale = Vector2(0.2, 0.2) diff --git a/scripts/debug_menu.gd b/scripts/debug_menu.gd index 60e59de..4653a26 100644 --- a/scripts/debug_menu.gd +++ b/scripts/debug_menu.gd @@ -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() diff --git a/scripts/purge.gd b/scripts/purge.gd index 0d70f1a..7868333 100644 --- a/scripts/purge.gd +++ b/scripts/purge.gd @@ -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() \ No newline at end of file + queue_free() diff --git a/scripts/purge.gd.uid b/scripts/purge.gd.uid new file mode 100644 index 0000000..7240713 --- /dev/null +++ b/scripts/purge.gd.uid @@ -0,0 +1 @@ +uid://bromcspk7dk6s