Files

86 lines
2.5 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://8230dpmp7mic"]
[ext_resource type="Texture2D" uid="uid://be7hl01iuo5af" path="res://Assets/Sprites/Characters/Player/kitsune-Sheet.png" id="1_8pa4j"]
[ext_resource type="Script" uid="uid://c4764ubjc3tan" path="res://Scripts/Turrets/TurretPlaceholder.cs" id="1_m8yif"]
[sub_resource type="AtlasTexture" id="AtlasTexture_m8yif"]
atlas = ExtResource("1_8pa4j")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_mxl7p"]
atlas = ExtResource("1_8pa4j")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5c7uc"]
atlas = ExtResource("1_8pa4j")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_27ihx"]
atlas = ExtResource("1_8pa4j")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rkws8"]
atlas = ExtResource("1_8pa4j")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ppr0o"]
atlas = ExtResource("1_8pa4j")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_m8yif")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mxl7p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5c7uc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_27ihx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rkws8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ppr0o")
}],
"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_m8yif")
_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.66817015
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")