35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://brrv35cga1bj6"]
|
|
|
|
[ext_resource type="Script" uid="uid://ivdsp7pf36kj" path="res://jembatan.gd" id="1_gh1dn"]
|
|
[ext_resource type="Texture2D" uid="uid://bkd32uoq76yku" path="res://wooden-sign-with-word-wood-it_314999-1825-removebg-preview.png" id="2_nwqwa"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_emfxs"]
|
|
size = Vector2(571, 30)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_gh1dn"]
|
|
radius = 478.00418
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D"]
|
|
script = ExtResource("1_gh1dn")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(4, -1)
|
|
rotation = 1.5707964
|
|
scale = Vector2(0.77162164, 0.26623377)
|
|
texture = ExtResource("2_nwqwa")
|
|
offset = Vector2(-369, 75)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-16, -285)
|
|
rotation = 1.5707964
|
|
shape = SubResource("RectangleShape2D_emfxs")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(92, -230)
|
|
shape = SubResource("CircleShape2D_gh1dn")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
|
|
[connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"]
|