[gd_scene load_steps=17 format=4] [ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"] [ext_resource type="Script" path="res://Scripts/Bullets/FoxDash.cs" id="2"] [ext_resource type="Texture2D" path="res://Sprites/Menus/Menu Sprites/HPBar4.tres" id="3"] [ext_resource type="Script" path="res://Scripts/Bullets/Blank.cs" id="4"] [ext_resource type="Texture2D" path="res://Sprites/Characters/ch1dw chars.png" id="5"] [ext_resource type="Texture2D" path="res://Sprites/Menus/gui.png" id="6"] [ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="7"] [sub_resource type="Animation" id="Animation_2aj8o"] resource_name = "Dash" length = 0.10000000149011612 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.05), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Rect2(460, 700, 100, 60), Rect2(460, 760, 100, 60)] } [sub_resource type="Animation" id="Animation_qj550"] resource_name = "new_animation" length = 0.699999988079071 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), "update": 1, "values": [Rect2(360, 520, 100, 60), Rect2(460, 520, 100, 60), Rect2(360, 580, 100, 60), Rect2(460, 580, 100, 60), Rect2(360, 640, 100, 60), Rect2(460, 640, 100, 60), Rect2(360, 700, 100, 60)] } [sub_resource type="Animation" id="Animation_eypnf"] length = 0.0010000000474974513 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Rect2(360, 520, 100, 60)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_tvq1k"] _data = { &"Dash": SubResource("Animation_2aj8o"), &"Idle": SubResource("Animation_qj550"), &"RESET": SubResource("Animation_eypnf") } [sub_resource type="ConvexPolygonShape2D" id="ConvexPolygonShape2D_ftuvt"] points = PackedVector2Array(-48, 3, -30, -10, 0, -16, 32, -14, 48, 1, 30, 16, 0, 18, -30, 15) [sub_resource type="Animation" id="Animation_2foep"] length = 0.0010000000474974513 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:flip_h") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } [sub_resource type="Animation" id="Animation_w4qcw"] resource_name = "new_animation" length = 0.4000000059604645 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:flip_h") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [false, true] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_vh3sq"] _data = { &"RESET": SubResource("Animation_2foep"), &"new_animation": SubResource("Animation_w4qcw") } [sub_resource type="CircleShape2D" id="CircleShape2D_sjyng"] radius = 6.0 [node name="FoxDash" type="CanvasGroup"] script = ExtResource("1") timer = 450.0 target = 2 boardSize = Vector2(120, 80) metadata/_edit_horizontal_guides_ = [-40.0, 41.0, -120.0, 120.0] metadata/_edit_vertical_guides_ = [-60.0, 60.0, -160.0, 160.0] [node name="Logic" type="Node2D" parent="." node_paths=PackedStringArray("fox", "anim", "sprite", "shape", "bullets", "trail")] script = ExtResource("2") fox = NodePath("../Fox") speed = 6.0 anim = NodePath("../Fox/AnimationPlayer") sprite = NodePath("../Fox/Sprite2D") shape = NodePath("../Fox/Area2D/CollisionShape2D") bullets = [NodePath("../Flame"), NodePath("../Flame2")] trail = [NodePath("../Trail"), NodePath("../Trail2"), NodePath("../Trail3")] [node name="Control" type="Control" parent="."] clip_contents = true layout_mode = 3 anchors_preset = 0 offset_left = -60.0 offset_top = -40.0 offset_right = 60.0 offset_bottom = 40.0 [node name="Sprite2D" type="Sprite2D" parent="Control"] modulate = Color(1, 0, 0, 1) position = Vector2(180, 43) scale = Vector2(100, 0.1) texture = ExtResource("3") [node name="Fox" type="Node2D" parent="."] z_index = 1 position = Vector2(120, -2) script = ExtResource("4") [node name="Sprite2D" type="Sprite2D" parent="Fox"] texture = ExtResource("5") region_enabled = true region_rect = Rect2(360, 520, 100, 60) region_filter_clip_enabled = true [node name="AnimationPlayer" type="AnimationPlayer" parent="Fox"] libraries = { &"": SubResource("AnimationLibrary_tvq1k") } autoplay = "Idle" [node name="Area2D" type="Area2D" parent="Fox"] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Fox/Area2D"] position = Vector2(-0.5, 3) shape = SubResource("ConvexPolygonShape2D_ftuvt") [node name="RemoteTransform2D" type="RemoteTransform2D" parent="Fox"] position = Vector2(0, 5) scale = Vector2(100, 0.1) remote_path = NodePath("../../Control/Sprite2D") [node name="Flame" type="Sprite2D" parent="."] process_mode = 4 self_modulate = Color(0, 1, 1, 1) position = Vector2(0, -352) scale = Vector2(0.75, 0.75) texture = ExtResource("6") region_enabled = true region_rect = Rect2(110, 144, 15, 16) region_filter_clip_enabled = true script = ExtResource("7") type = 1 [node name="AnimationPlayer" type="AnimationPlayer" parent="Flame"] libraries = { &"": SubResource("AnimationLibrary_vh3sq") } autoplay = "new_animation" [node name="Area2D" type="Area2D" parent="Flame"] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Flame/Area2D"] shape = SubResource("CircleShape2D_sjyng") [node name="Flame2" type="Sprite2D" parent="."] process_mode = 4 position = Vector2(0, -352) scale = Vector2(0.75, 0.75) texture = ExtResource("6") region_enabled = true region_rect = Rect2(110, 144, 15, 16) region_filter_clip_enabled = true script = ExtResource("7") [node name="AnimationPlayer" type="AnimationPlayer" parent="Flame2"] libraries = { &"": SubResource("AnimationLibrary_vh3sq") } autoplay = "new_animation" [node name="Area2D" type="Area2D" parent="Flame2"] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="Flame2/Area2D"] shape = SubResource("CircleShape2D_sjyng") [node name="Trail" type="Sprite2D" parent="."] modulate = Color(1, 1, 1, 0.313726) position = Vector2(0, -224) texture = ExtResource("5") region_enabled = true region_rect = Rect2(460, 710, 100, 50) region_filter_clip_enabled = true [node name="Trail2" type="Sprite2D" parent="."] modulate = Color(1, 1, 1, 0.313726) position = Vector2(0, -224) texture = ExtResource("5") region_enabled = true region_rect = Rect2(460, 710, 100, 50) region_filter_clip_enabled = true [node name="Trail3" type="Sprite2D" parent="."] modulate = Color(1, 1, 1, 0.313726) position = Vector2(0, -224) texture = ExtResource("5") region_enabled = true region_rect = Rect2(460, 710, 100, 50) region_filter_clip_enabled = true