[gd_scene load_steps=12 format=3 uid="uid://mfhn7mohmimt"] [ext_resource type="Script" path="res://scene/entity/ufo.gd" id="1_3oxp2"] [ext_resource type="Script" path="res://addons/fake_parallax/fake_parallax.gd" id="2_6l42y"] [ext_resource type="Texture2D" uid="uid://csqk7vyq6ecpl" path="res://res/witch_ufo_bot.png" id="3_qpday"] [ext_resource type="Texture2D" uid="uid://baacv2khh4ef8" path="res://res/witch_ufo_top.png" id="4_q1mhr"] [ext_resource type="Texture2D" uid="uid://dil0tx0ab553l" path="res://res/pbar.png" id="5_cf3a7"] [ext_resource type="Texture2D" uid="uid://b5jrxsko40vge" path="res://res/pbar2.png" id="6_pofdg"] [ext_resource type="AudioStream" uid="uid://vto0qax0wsf1" path="res://snd/mus/ld52-001.ogg" id="7_ls50j"] [ext_resource type="AudioStream" uid="uid://d1rxdiuhw4kfy" path="res://snd/mus/ld52-003.ogg" id="8_en80a"] [ext_resource type="AudioStream" uid="uid://b78r3yehfioyu" path="res://snd/sfx/explosion.wav" id="9_sft0k"] [ext_resource type="Script" path="res://scene/entity/pc.gd" id="10_nswe8"] [sub_resource type="CircleShape2D" id="CircleShape2D_88tow"] radius = 223.258 [node name="WitchUfo" type="CharacterBody2D"] collision_mask = 0 motion_mode = 1 script = ExtResource("1_3oxp2") wheat_out = 5 should_rotate = false [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-2, -1) shape = SubResource("CircleShape2D_88tow") [node name="NavigationAgent2D" type="NavigationAgent2D" parent="."] process_mode = 3 path_desired_distance = 5.0 target_desired_distance = 100.0 path_max_distance = 40.0 avoidance_enabled = true radius = 150.0 neighbor_distance = 1600.0 max_speed = 800.0 [node name="Plx" type="Node2D" parent="."] script = ExtResource("2_6l42y") rate = 0.03 [node name="Bot" type="Sprite2D" parent="Plx"] position = Vector2(-44, 73) texture = ExtResource("3_qpday") [node name="Ray" type="Polygon2D" parent="Plx"] color = Color(0.360784, 0, 0.356863, 0.196078) antialiased = true polygon = PackedVector2Array(-19, 88, -171, 527, 88, 525, 19, 86) [node name="Top" type="Sprite2D" parent="Plx"] texture = ExtResource("4_q1mhr") [node name="HP" type="TextureProgressBar" parent="Plx"] custom_minimum_size = Vector2(100, 0) anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -32.0 offset_top = -150.0 offset_right = 118.0 offset_bottom = -120.0 grow_horizontal = 2 value = 100.0 texture_under = ExtResource("5_cf3a7") texture_progress = ExtResource("6_pofdg") texture_progress_offset = Vector2(11, 0) [node name="RerollTimer" type="Timer" parent="."] wait_time = 0.1 one_shot = true [node name="DamageTimer" type="Timer" parent="."] wait_time = 0.05 [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." groups=["sound_player"]] stream = ExtResource("7_ls50j") panning_strength = 1.5 bus = &"Music" [node name="AudioStreamPlayer2D2" type="AudioStreamPlayer2D" parent="." groups=["sound_player"]] stream = ExtResource("8_en80a") panning_strength = 1.5 bus = &"Music" [node name="Area2D" type="Area2D" parent="."] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D"] polygon = PackedVector2Array(80.5, -98.7, 80.5, -93.6, 105.5, -55.5, 105.5, -45.6, 94.8, -18.1, 80.7, -20.8, 86.6, -1.2, 167.5, 36.1, 167.5, 40.4, 185.5, 66.4, 185.5, 92.5, 182.4, 92.5, 30.2, 105.5, -131.9, 105.5, -185.5, 94.4, -185.5, 57.6, -81.6, -1.4, -15.4, -87.5, -12.6, -87.5, 13.4, -105.5, 60.6, -105.5) [node name="Coin" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("9_sft0k") volume_db = -6.0 bus = &"SFX" script = ExtResource("10_nswe8") [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]