mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 02:41:15 +00:00
Multicolored keycards
This commit is contained in:
parent
ad985ce1ac
commit
5110cace07
17 changed files with 273 additions and 22 deletions
31
Scenes/Items/Green_Keycard.tscn
Normal file
31
Scenes/Items/Green_Keycard.tscn
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[gd_scene load_steps=6 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="Texture2D" uid="uid://bvkjnc3ggp7ba" path="res://Sprites/Items/GreenKeycard_Small.png" id="2_lts72"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3c71u"]
|
||||
atlas = ExtResource("2_lts72")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tdlc7"]
|
||||
atlas = ExtResource("2_lts72")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_y8q6b"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3c71u")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tdlc7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="GreenKeyCard" instance=ExtResource("1_o26qb")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
sprite_frames = SubResource("SpriteFrames_y8q6b")
|
||||
Loading…
Add table
Add a link
Reference in a new issue