25 lines
997 B
Plaintext
25 lines
997 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://d2xjago7tcyad"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bil5ynolabejs" path="res://graphics/objects/gate.png" id="1_b6nv8"]
|
|
[ext_resource type="Script" path="res://scenes/objects/gate.gd" id="1_bt2bt"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sigs8"]
|
|
size = Vector2(849, 190)
|
|
|
|
[node name="Gate" type="StaticBody2D"]
|
|
script = ExtResource("1_bt2bt")
|
|
|
|
[node name="GateImage" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_b6nv8")
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
|
polygon = PackedVector2Array(-1420, -758, -1414, 608, -1240, 746, -371, 776, -365, 494, 534, 530, 504, 758, 1379, 782, 1546, 614, 1546, -764)
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(66.5, 685)
|
|
shape = SubResource("RectangleShape2D_sigs8")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
|