75 lines
3.0 KiB
Plaintext
75 lines
3.0 KiB
Plaintext
|
|
[gd_scene format=3 uid="uid://b06dlp8n6upld"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://btmoyp0rwqmxe" path="res://Scripts/player.gd" id="1_ebmjs"]
|
||
|
|
[ext_resource type="Script" uid="uid://bc25u4w35ibeu" path="res://Scripts/gameController.gd" id="1_qxrlw"]
|
||
|
|
[ext_resource type="Script" uid="uid://4hekg0d8n04f" path="res://Scripts/trigger.gd" id="3_wrm1d"]
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
||
|
|
size = Vector2(84, 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 = 32.01562
|
||
|
|
|
||
|
|
[node name="Game" type="Node2D" unique_id=1698001017]
|
||
|
|
script = ExtResource("1_qxrlw")
|
||
|
|
|
||
|
|
[node name="platform" type="StaticBody2D" parent="." unique_id=601020872]
|
||
|
|
position = Vector2(436, 297)
|
||
|
|
constant_linear_velocity = Vector2(10, 0)
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=1836025932]
|
||
|
|
shape = SubResource("RectangleShape2D_2poj3")
|
||
|
|
|
||
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="." unique_id=2015643131]
|
||
|
|
position = Vector2(415.00003, 189)
|
||
|
|
rotation = 0.46453398
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D" unique_id=1377201570]
|
||
|
|
shape = SubResource("RectangleShape2D_ebmjs")
|
||
|
|
debug_color = Color(0.8535397, 0.36730364, 0.11225829, 0.41960785)
|
||
|
|
|
||
|
|
[node name="RigidBody2D2" type="RigidBody2D" parent="." unique_id=800232702]
|
||
|
|
position = Vector2(443, 191.00003)
|
||
|
|
rotation = 0.9293104
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2" unique_id=2111607142]
|
||
|
|
shape = SubResource("RectangleShape2D_ebmjs")
|
||
|
|
debug_color = Color(0.8535397, 0.36730364, 0.11225829, 0.41960785)
|
||
|
|
|
||
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1600506296]
|
||
|
|
position = Vector2(448, 452)
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1926005878]
|
||
|
|
shape = SubResource("WorldBoundaryShape2D_2poj3")
|
||
|
|
|
||
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="." unique_id=380327915]
|
||
|
|
position = Vector2(437, 250)
|
||
|
|
script = ExtResource("1_ebmjs")
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D" unique_id=1235513256]
|
||
|
|
shape = SubResource("CircleShape2D_2poj3")
|
||
|
|
debug_color = Color(0.36777267, 0.6132997, 0.17400515, 0.41960785)
|
||
|
|
|
||
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=1184709580]
|
||
|
|
position = Vector2(495, 356)
|
||
|
|
script = ExtResource("3_wrm1d")
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1623965811]
|
||
|
|
shape = SubResource("CircleShape2D_3dryh")
|
||
|
|
debug_color = Color(0.7716697, 0.28327075, 0.8513461, 0.41960785)
|
||
|
|
|
||
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
||
|
|
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]
|