258 lines
7.5 KiB
Plaintext
258 lines
7.5 KiB
Plaintext
[gd_scene load_steps=20 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/FoxNecklace.cs" id="2"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Bullets/NecklaceChain.tres" id="3"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/Blank.cs" id="4"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Bullets/necklace.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="CircleShape2D" id="CircleShape2D_7bpb8"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0eubw"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(0, 0, 20, 20)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ac4qr"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(20, 0, 20, 20)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_463ud"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(40, 0, 20, 20)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_odg5p"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(60, 0, 20, 20)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dfxhi"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(0, 20, 20, 20)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r2fgq"]
|
|
atlas = ExtResource("5")
|
|
region = Rect2(20, 20, 20, 20)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_gbt10"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 2.0,
|
|
"texture": SubResource("AtlasTexture_0eubw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ac4qr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_463ud")
|
|
}, {
|
|
"duration": 1.2000000476837158,
|
|
"texture": SubResource("AtlasTexture_odg5p")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dfxhi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_r2fgq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[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_ajwpk"]
|
|
radius = 6.0
|
|
|
|
[node name="FoxNecklace" type="CanvasGroup"]
|
|
script = ExtResource("1")
|
|
timer = 500.0
|
|
target = 1
|
|
boardSize = Vector2(130, 90)
|
|
soulStartOffset = Vector2(0, 5)
|
|
boardStartOffset = Vector2(0, 10)
|
|
|
|
[node name="Logic" type="Node2D" parent="." node_paths=PackedStringArray("bullets")]
|
|
script = ExtResource("2")
|
|
necklaceObj = NodePath("Necklace")
|
|
chainHolder = NodePath("Chains")
|
|
pointHolder = NodePath("Points")
|
|
bullets = [NodePath("../Flame"), NodePath("../Flame2")]
|
|
|
|
[node name="Chains" type="Node2D" parent="Logic"]
|
|
|
|
[node name="Chain1" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -247)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain2" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -215)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain3" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -199)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain4" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -183)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain5" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -167)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain6" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(-26, -231)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain7" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -247)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain8" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -215)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain9" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -199)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain10" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -183)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain11" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -167)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Chain12" type="Sprite2D" parent="Logic/Chains"]
|
|
self_modulate = Color(0.556953, 0.556953, 0.556953, 1)
|
|
position = Vector2(30, -231)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Necklace" type="Node2D" parent="Logic"]
|
|
position = Vector2(110, -48)
|
|
rotation = -0.5235990285873413
|
|
scale = Vector2(2, 2)
|
|
script = ExtResource("4")
|
|
|
|
[node name="Area2D" type="Area2D" parent="Logic/Necklace"]
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Logic/Necklace/Area2D"]
|
|
shape = SubResource("CircleShape2D_7bpb8")
|
|
|
|
[node name="Necklace2" type="AnimatedSprite2D" parent="Logic/Necklace"]
|
|
sprite_frames = SubResource("SpriteFrames_gbt10")
|
|
autoplay = "default"
|
|
frame_progress = 0.05522359907627106
|
|
flip_h = true
|
|
|
|
[node name="Points" type="Node2D" parent="Logic"]
|
|
|
|
[node name="Marker2D2" type="Marker2D" parent="Logic/Points"]
|
|
position = Vector2(110, -32)
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="Logic/Points"]
|
|
position = Vector2(0, 19)
|
|
|
|
[node name="Marker2D3" type="Marker2D" parent="Logic/Points"]
|
|
position = Vector2(-110, -32)
|
|
|
|
[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_ajwpk")
|
|
|
|
[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_ajwpk")
|