Chest + Door Functionality

This commit is contained in:
tiffanyfrias10
2021-12-06 16:08:29 -06:00
parent 51365d9f74
commit f774ea1741
19 changed files with 391 additions and 30 deletions

21
Levels/Objects/Key.tscn Normal file
View File

@@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Levels/Objects/icekey.png" type="Texture" id=1]
[ext_resource path="res://Levels/Objects/Gem.gd" type="Script" id=2]
[sub_resource type="Animation" id=1]
resource_name = "rise"
length = 1.2
[node name="Key" type="Node2D"]
script = ExtResource( 2 )
[node name="IceKeySprite" type="Sprite" parent="."]
position = Vector2( -0.0417144, 0.145997 )
scale = Vector2( 0.760146, 0.732771 )
texture = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/rise = SubResource( 1 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]