79 lines
3.1 KiB
Plaintext
79 lines
3.1 KiB
Plaintext
[gd_scene format=3 uid="uid://bmghctv58ymhx"]
|
|
|
|
[ext_resource type="Script" uid="uid://ci5kwydrjchlr" path="res://scripts/gamecontoller.gd" id="1_lnu2h"]
|
|
[ext_resource type="Script" uid="uid://k5itsiku45rk" path="res://scripts/player.gd" id="1_uwrxv"]
|
|
[ext_resource type="Script" uid="uid://qdgabfyqg4v4" path="res://scripts/trigger.gd" id="1_yqjtg"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_daopg"]
|
|
size = Vector2(156, 39.5)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kvpdf"]
|
|
size = Vector2(95.25, 20)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_daopg"]
|
|
radius = 65.06919
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_daopg"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_daopg"]
|
|
distance = -534.0
|
|
|
|
[node name="Game" type="Node2D" unique_id=2025408499]
|
|
script = ExtResource("1_lnu2h")
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=50045338]
|
|
position = Vector2(356, 397)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1746367507]
|
|
shape = SubResource("RectangleShape2D_daopg")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="." unique_id=1155250024]
|
|
position = Vector2(-86, 6.000002)
|
|
rotation = -0.07132487
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D" unique_id=1735923422]
|
|
position = Vector2(391, 309)
|
|
shape = SubResource("RectangleShape2D_kvpdf")
|
|
debug_color = Color(0.7640784, 0.29976174, 0.010127576, 0.41960785)
|
|
|
|
[node name="RigidBody2D2" type="RigidBody2D" parent="." unique_id=1925655640]
|
|
position = Vector2(420, 226)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2" unique_id=471803879]
|
|
position = Vector2(-17.625, 0)
|
|
rotation = 0.16720873
|
|
shape = SubResource("RectangleShape2D_kvpdf")
|
|
debug_color = Color(0.7640784, 0.29976174, 0.010127576, 0.41960785)
|
|
|
|
[node name="trigger" type="Area2D" parent="." unique_id=970658975]
|
|
position = Vector2(255, 470)
|
|
scale = Vector2(0.8503403, 0.740157)
|
|
script = ExtResource("1_yqjtg")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="trigger" unique_id=496847008]
|
|
shape = SubResource("CircleShape2D_daopg")
|
|
debug_color = Color(0.90523595, 0.00013803899, 0.7489745, 0.41960785)
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="." unique_id=613044494]
|
|
position = Vector2(340, 352)
|
|
script = ExtResource("1_uwrxv")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D" unique_id=1901684918]
|
|
shape = SubResource("CapsuleShape2D_daopg")
|
|
debug_color = Color(0.42452708, 0.6028724, 0.041758128, 0.41960785)
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="." unique_id=2128236600]
|
|
position = Vector2(344, 11)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2" unique_id=1639942213]
|
|
shape = SubResource("WorldBoundaryShape2D_daopg")
|
|
|
|
[connection signal="areatriggered" from="trigger" to="." method="_on_trigger"]
|
|
[connection signal="body_entered" from="trigger" to="trigger" method="_on_body_entered"]
|