mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://clh3333ycrk3x"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_qy0nf"]
|
|
[ext_resource type="Resource" uid="uid://bhbufxodybsw4" path="res://Resources/Items/Shield_Pickup.tres" id="2_gk7xg"]
|
|
[ext_resource type="Texture2D" uid="uid://8n23xie4kore" path="res://Sprites/Items/Shield_Pickup.png" id="3_gk7xg"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qy0nf"]
|
|
atlas = ExtResource("3_gk7xg")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ga0s1"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qy0nf")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="ShieldPickup" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_qy0nf")
|
|
LootTable = [ExtResource("2_gk7xg")]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_6vv2s")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_ga0s1")
|