[gd_scene load_steps=10 format=4] [ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"] [ext_resource type="Script" path="res://Scripts/Bullets/FallBounce.cs" id="2"] [ext_resource type="AudioStream" path="res://Audio/Sounds/snd_spearrise_ch1.wav" id="3"] [ext_resource type="AudioStream" path="res://Audio/Sounds/snd_bell_ch1.wav" id="4"] [ext_resource type="AudioStream" path="res://Audio/Sounds/snd_impact_ch1.wav" id="5"] [ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="6"] [ext_resource type="Texture2D" path="res://Sprites/Characters/ch2dw chars.png" id="7"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_vf82f"] size = Vector2(8, 17) [sub_resource type="CircleShape2D" id="CircleShape2D_71bmb"] radius = 8.015609741210938 [node name="WrenchJunk" type="Node2D"] script = ExtResource("1") target = 1 boardSize = Vector2(100, 80) metadata/_edit_vertical_guides_ = [-20.0, 20.0] metadata/_edit_horizontal_guides_ = [-20.0, 20.0] [node name="Controller" type="Node2D" parent="." node_paths=PackedStringArray("bullets")] script = ExtResource("2") bullets = [NodePath("../Screw"), NodePath("../Screw"), NodePath("../Nut")] bounceType = [0, 0, 2] spawnSound = [ExtResource("3"), ExtResource("3"), ExtResource("3")] hitSound = [ExtResource("4"), ExtResource("4"), ExtResource("5")] bounceDecay = 0.015 startPos = Vector2(0, -70) [node name="Screw" type="Node2D" parent="."] process_mode = 4 position = Vector2(0, -376) rotation = 3.0 script = ExtResource("6") speed = Vector2(0, 1) rotation = 3.0 [node name="Sprite2D" type="Sprite2D" parent="Screw"] texture = ExtResource("7") region_enabled = true region_rect = Rect2(220, 80, 20, 20) region_filter_clip_enabled = true [node name="Area2D" type="Area2D" parent="Screw"] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Screw/Area2D"] position = Vector2(0, -0.5) shape = SubResource("RectangleShape2D_vf82f") [node name="Nut" type="Node2D" parent="."] process_mode = 4 position = Vector2(0, -376) rotation = 4.0 script = ExtResource("6") speed = Vector2(0, 1.5) rotation = 4.0 type = 1 [node name="Sprite2D" type="Sprite2D" parent="Nut"] self_modulate = Color(0, 1, 1, 1) texture = ExtResource("7") region_enabled = true region_rect = Rect2(200, 80, 20, 20) region_filter_clip_enabled = true [node name="Area2D" type="Area2D" parent="Nut"] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Nut/Area2D"] position = Vector2(0, -0.5) shape = SubResource("CircleShape2D_71bmb")