Files
fgj-26/Prefabs/Turrets/Placeholders/tengu_ph.tscn
T

86 lines
2.5 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://dqyr3m6o0e3i"]
[ext_resource type="Script" uid="uid://c4764ubjc3tan" path="res://Scripts/Turrets/TurretPlaceholder.cs" id="1_1ptjx"]
[ext_resource type="Texture2D" uid="uid://codbtra5i6ara" path="res://Assets/Sprites/Characters/Player/tengu-Sheet.png" id="2_1ptjx"]
[sub_resource type="AtlasTexture" id="AtlasTexture_a6rco"]
atlas = ExtResource("2_1ptjx")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_42avh"]
atlas = ExtResource("2_1ptjx")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e075m"]
atlas = ExtResource("2_1ptjx")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tmypy"]
atlas = ExtResource("2_1ptjx")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lgt5p"]
atlas = ExtResource("2_1ptjx")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_66d3b"]
atlas = ExtResource("2_1ptjx")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6rco")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_42avh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e075m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tmypy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lgt5p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_66d3b")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[node name="Turret" type="Node2D" node_paths=PackedStringArray("_placementChecker")]
y_sort_enabled = true
texture_filter = 1
script = ExtResource("1_1ptjx")
_placementChecker = NodePath("PlacementCollider")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1, 1, 1, 0.49803922)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.8244228
offset = Vector2(0, -16)
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")