mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 04:35:54 +00:00
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://dxs3ks2ucaxl4"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Interactables/ItemPickup.cs" id="1_cvvxn"]
|
|
[ext_resource type="Resource" uid="uid://dibquna7fww7t" path="res://Resources/Items/Red_Keycard.tres" id="4_84krq"]
|
|
[ext_resource type="Texture2D" uid="uid://bad6gbl2gity3" path="res://Sprites/Items/RedKeycard_Small.png" id="4_k5oc1"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o0au0"]
|
|
atlas = ExtResource("4_k5oc1")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fx6tu"]
|
|
atlas = ExtResource("4_k5oc1")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vi6i0"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_o0au0")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fx6tu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="RedKeyCard" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_cvvxn")
|
|
LootTable = [ExtResource("4_84krq")]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_6vv2s")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_vi6i0")
|