SupaLidlGame/Entities/ArenaEntrance.tscn

43 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2023-08-01 23:49:48 -07:00
[gd_scene load_steps=6 format=3 uid="uid://bou5pccj0147e"]
[ext_resource type="Texture2D" uid="uid://dsxoh88caw3cf" path="res://Assets/Sprites/Props/arena-entrance.png" id="1_edppa"]
[ext_resource type="PackedScene" uid="uid://dldnp8eunxj3q" path="res://BoundingBoxes/InteractionTrigger.tscn" id="2_87s4g"]
[ext_resource type="Script" path="res://BoundingBoxes/ConnectorBox.cs" id="3_4rsih"]
2023-08-02 20:01:11 -07:00
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_7pr7c"]
height = 50.0
2023-08-01 23:49:48 -07:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_djn8q"]
[node name="ArenaEntrance" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_edppa")
offset = Vector2(0, -14)
hframes = 2
[node name="InteractionTrigger" parent="." instance=ExtResource("2_87s4g")]
[node name="CollisionShape2D" parent="InteractionTrigger" index="0"]
2023-08-02 20:01:11 -07:00
rotation = 1.5708
shape = SubResource("CapsuleShape2D_7pr7c")
2023-08-01 23:49:48 -07:00
2023-08-06 01:07:30 -07:00
[node name="Popup" parent="InteractionTrigger" index="1"]
offset_top = -58.0
offset_bottom = -28.0
[node name="Label" parent="InteractionTrigger/Popup" index="0"]
text = "Enter"
[node name="Area2D" type="Area2D" parent="." node_paths=PackedStringArray("InteractionTrigger")]
2023-08-01 23:49:48 -07:00
script = ExtResource("3_4rsih")
ToArea = "res://Scenes/Maps/Arena.tscn"
ToConnector = "Entrance"
2023-08-01 23:49:48 -07:00
InteractionTrigger = NodePath("../InteractionTrigger")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_djn8q")
debug_color = Color(0, 0.6, 0.701961, 0.419608)
[editable path="InteractionTrigger"]