74 lines
3.0 KiB
Plaintext
74 lines
3.0 KiB
Plaintext
[gd_scene format=3 uid="uid://dtp5ijexobwve"]
|
|
|
|
[ext_resource type="Script" uid="uid://dhm0a2m0fffvi" path="res://Scripts/player.gd" id="1_ebmjs"]
|
|
[ext_resource type="Script" uid="uid://bk2anxyq2o8o1" path="res://Scripts/gameController.gd" id="1_qxrlw"]
|
|
[ext_resource type="Script" uid="uid://duiou7q05u7yw" path="res://Scripts/trigger.gd" id="3_wrm1d"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
|
size = Vector2(82, 20)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebmjs"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_2poj3"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_3dryh"]
|
|
radius = 63.134777
|
|
|
|
[node name="Game" type="Node2D" unique_id=44705523]
|
|
script = ExtResource("1_qxrlw")
|
|
|
|
[node name="platform" type="StaticBody2D" parent="." unique_id=985263501]
|
|
position = Vector2(592, 350)
|
|
constant_linear_velocity = Vector2(10, 0)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=2116505086]
|
|
shape = SubResource("RectangleShape2D_2poj3")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="." unique_id=1126415599]
|
|
position = Vector2(612, 180)
|
|
rotation = -0.50427383
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D" unique_id=199536487]
|
|
shape = SubResource("RectangleShape2D_ebmjs")
|
|
debug_color = Color(0.8794198, 0.3322537, 0.19291705, 0.41960785)
|
|
|
|
[node name="RigidBody2D2" type="RigidBody2D" parent="." unique_id=875571591]
|
|
position = Vector2(587, 127)
|
|
rotation = 1.5921826
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2" unique_id=1509622384]
|
|
shape = SubResource("RectangleShape2D_ebmjs")
|
|
debug_color = Color(0.8794198, 0.3322537, 0.19291705, 0.41960785)
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=621475000]
|
|
position = Vector2(594, 538)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=694080468]
|
|
shape = SubResource("WorldBoundaryShape2D_2poj3")
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="." unique_id=310597327]
|
|
position = Vector2(592, 264)
|
|
script = ExtResource("1_ebmjs")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D" unique_id=2099117408]
|
|
shape = SubResource("CircleShape2D_2poj3")
|
|
debug_color = Color(0.2297152, 0.6339106, 0.2173942, 0.41960785)
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=668255328]
|
|
script = ExtResource("3_wrm1d")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1692585551]
|
|
position = Vector2(693, 411)
|
|
shape = SubResource("CircleShape2D_3dryh")
|
|
debug_color = Color(0.9163366, 0.039014786, 0.69713354, 0.41960785)
|
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
|
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]
|