Added directional signs
This commit is contained in:
1 parent
3ebe7d57f9
commit
36fdee8182
8 files changed
+191
-29
No files matched your search
@@ -0,0 +1,35 @@
|
||||
[gd_scene format=3 uid="uid://cue2gfw1bdfh7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cq45l4dyop82b" path="res://art/sign_arrow_up.png" id="1_cqw6o"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgdkh6ug00c1i" path="res://art/controls/a_button.png" id="2_iel31"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq82wmjgkgyr6" path="res://art/controls/e_key.png" id="3_dfody"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 63)
|
||||
|
||||
[node name="SignArrowUp" type="Node2D" unique_id=1201409437]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
position = Vector2(0, -48)
|
||||
texture = ExtResource("1_cqw6o")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
position = Vector2(0, 15.5)
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
|
||||
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=385403317]
|
||||
visible = false
|
||||
position = Vector2(0.99999994, -7.000002)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("2_iel31")
|
||||
|
||||
[node name="KeyPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1108548281]
|
||||
visible = false
|
||||
position = Vector2(0.99999994, -6.000002)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("3_dfody")
|
||||
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
||||
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|
||||
Reference in new issue
Block a user