185 lines
5.1 KiB
Plaintext
185 lines
5.1 KiB
Plaintext
[gd_scene load_steps=15 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/FoxRotateAround.cs" id="2"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/WaveBullets.cs" id="3"]
|
|
[ext_resource type="AudioStream" path="res://Audio/Sounds/snd_enemy_bullet_shot.wav" id="4"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Menus/gui.png" id="5"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="6"]
|
|
|
|
[sub_resource type="Animation" id="Animation_a5bei"]
|
|
resource_name = "Anim"
|
|
length = 2.5
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Spawner:position")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 1, 1.5, 2),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 120), Vector2(-100, 120), Vector2(-100, 300), Vector2(100, 300), Vector2(100, 120)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_u8qhi"]
|
|
length = 0.0010000000474974513
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Spawner:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_bao55"]
|
|
resource_name = "Start"
|
|
length = 0.0010000000474974513
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Spawner:position")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 120)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2j2yg"]
|
|
_data = {
|
|
&"Anim": SubResource("Animation_a5bei"),
|
|
&"RESET": SubResource("Animation_u8qhi"),
|
|
&"Start": SubResource("Animation_bao55")
|
|
}
|
|
|
|
[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_xxttc"]
|
|
radius = 5.333330154418945
|
|
|
|
[node name="FoxRotationAround" type="CanvasGroup"]
|
|
script = ExtResource("1")
|
|
damageMult = 1.05
|
|
timer = 500.0
|
|
target = 1
|
|
boardStartOffset = Vector2(0, 20)
|
|
|
|
[node name="Point" type="Node2D" parent="." node_paths=PackedStringArray("wave")]
|
|
position = Vector2(0, -208)
|
|
script = ExtResource("2")
|
|
bulletSpawner = NodePath("Spawner")
|
|
anim = NodePath("Spawner/AnimationPlayer")
|
|
wave = NodePath("Spawner")
|
|
|
|
[node name="Spawner" type="Node2D" parent="Point" node_paths=PackedStringArray("bullets")]
|
|
script = ExtResource("3")
|
|
bullets = [NodePath("../../Flame"), NodePath("../../Flame2")]
|
|
holder = NodePath("..")
|
|
delay = 45.0
|
|
bulletsPerWave = 8
|
|
initialDelay = true
|
|
sound = ExtResource("4")
|
|
soundVolume = 0.5
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Point/Spawner"]
|
|
root_node = NodePath("../..")
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_2j2yg")
|
|
}
|
|
autoplay = "Start"
|
|
speed_scale = 0.25
|
|
|
|
[node name="Flame" type="Sprite2D" parent="."]
|
|
process_mode = 4
|
|
self_modulate = Color(0, 1, 1, 1)
|
|
position = Vector2(0, -352)
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("5")
|
|
region_enabled = true
|
|
region_rect = Rect2(110, 144, 15, 16)
|
|
region_filter_clip_enabled = true
|
|
script = ExtResource("6")
|
|
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_xxttc")
|
|
|
|
[node name="Flame2" type="Sprite2D" parent="."]
|
|
process_mode = 4
|
|
position = Vector2(0, -352)
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("5")
|
|
region_enabled = true
|
|
region_rect = Rect2(110, 144, 15, 16)
|
|
region_filter_clip_enabled = true
|
|
script = ExtResource("6")
|
|
|
|
[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_xxttc")
|