mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Modularized doors and lightbridges
This commit is contained in:
parent
1a24711984
commit
1a5bd1b6d8
27 changed files with 513 additions and 346 deletions
|
|
@ -1,8 +1,11 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://r25rq6ijgm6m"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://r25rq6ijgm6m"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dxs3ks2ucaxl4" path="res://Scenes/Items/Red_Keycard.tscn" id="1_o26qb"]
|
||||
[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_kb5vg"]
|
||||
[ext_resource type="Resource" uid="uid://cspcgkr0tane2" path="res://Resources/Items/Green_Keycard.tres" id="2_kb5vg"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvkjnc3ggp7ba" path="res://Sprites/Items/GreenKeycard_Small.png" id="2_lts72"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3c71u"]
|
||||
atlas = ExtResource("2_lts72")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
|
@ -25,7 +28,14 @@ animations = [{
|
|||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="GreenKeyCard" instance=ExtResource("1_o26qb")]
|
||||
[node name="GreenKeyCard" type="Area2D" groups=["Interactable"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_kb5vg")
|
||||
LootTable = [ExtResource("2_kb5vg")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_6vv2s")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_y8q6b")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue