31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://bfwmtcth6mi5c"]
|
|
|
|
[ext_resource type="Script" uid="uid://beg2cqy17b775" path="res://gate.gd" id="1_ikl61"]
|
|
[ext_resource type="Texture2D" uid="uid://bac8osvl0epty" path="res://mild-steel-channel-gates-282-removebg-preview.png" id="2_ikl61"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ikl61"]
|
|
size = Vector2(59.5, 253)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5lukw"]
|
|
radius = 133.0
|
|
|
|
[node name="Gate" type="StaticBody2D"]
|
|
script = ExtResource("1_ikl61")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(286, 145)
|
|
scale = Vector2(0.12400001, 0.49599993)
|
|
texture = ExtResource("2_ikl61")
|
|
centered = false
|
|
offset = Vector2(-100, -250)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(315.25, 145.5)
|
|
shape = SubResource("RectangleShape2D_ikl61")
|
|
|
|
[node name="Sensor" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sensor"]
|
|
position = Vector2(313, 209)
|
|
shape = SubResource("CircleShape2D_5lukw")
|