84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
[gd_scene load_steps=9 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/DrillLaunch.cs" id="2"]
|
|
[ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="3"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Characters/ch2dw chars.png" id="4"]
|
|
|
|
[sub_resource type="Animation" id="Animation_m7qb1"]
|
|
length = 0.0010000000474974513
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:region_rect")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(120, 200, 30, 20)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_xylg1"]
|
|
resource_name = "new_animation"
|
|
length = 0.20000000298023224
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:region_rect")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [Rect2(120, 200, 30, 20), Rect2(120, 220, 30, 20)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_q1pnp"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_m7qb1"),
|
|
&"new_animation": SubResource("Animation_xylg1")
|
|
}
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id="ConvexPolygonShape2D_2gglp"]
|
|
points = PackedVector2Array(-15, 0, 9, 7, 9, -7)
|
|
|
|
[node name="DrillLaunch" type="Node2D"]
|
|
script = ExtResource("1")
|
|
timer = 350.0
|
|
target = 1
|
|
metadata/_edit_vertical_guides_ = [-40.0, 40.0]
|
|
metadata/_edit_horizontal_guides_ = [-40.0, 40.0]
|
|
|
|
[node name="Controller" type="Node2D" parent="." node_paths=PackedStringArray("drill")]
|
|
script = ExtResource("2")
|
|
drill = NodePath("../Drill")
|
|
|
|
[node name="Drill" type="Node2D" parent="."]
|
|
process_mode = 4
|
|
position = Vector2(0, -216)
|
|
script = ExtResource("3")
|
|
speed = Vector2(-3, 0)
|
|
|
|
[node name="Drill" type="Sprite2D" parent="Drill"]
|
|
texture = ExtResource("4")
|
|
region_enabled = true
|
|
region_rect = Rect2(120, 200, 30, 20)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Drill/Drill"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_q1pnp")
|
|
}
|
|
autoplay = "new_animation"
|
|
|
|
[node name="Area2D" type="Area2D" parent="Drill"]
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Drill/Area2D"]
|
|
shape = SubResource("ConvexPolygonShape2D_2gglp")
|