[gd_scene format=3 uid="uid://d7n4nyeox11q"] [ext_resource type="Script" uid="uid://c6cnqclwk4lcb" path="res://scripts/game_controller.gd" id="1_bj22s"] [ext_resource type="Script" uid="uid://dlmf1p0vfitcx" path="res://scripts/character.gd" id="1_o3qty"] [ext_resource type="Script" uid="uid://gkpbb5sf4gu7" path="res://scripts/area_2d.gd" id="3_v0i7m"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_elsnr"] size = Vector2(244, 20) [sub_resource type="RectangleShape2D" id="RectangleShape2D_o3qty"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_elsnr"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_elsnr"] [sub_resource type="CircleShape2D" id="CircleShape2D_bj22s"] radius = 20.880613 [node name="GameNode" type="Node2D" unique_id=2127085168] position = Vector2(0, -1) script = ExtResource("1_bj22s") [node name="platform" type="StaticBody2D" parent="." unique_id=1848808292] position = Vector2(483, 318) constant_linear_velocity = Vector2(15, 0) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=79089169] shape = SubResource("RectangleShape2D_elsnr") [node name="brownBox" type="RigidBody2D" parent="." unique_id=473138492] position = Vector2(442, 281) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="brownBox" unique_id=1978306212] shape = SubResource("RectangleShape2D_o3qty") debug_color = Color(0.8449452, 0.37733862, 0.08704034, 0.41960785) [node name="yellowBox" type="RigidBody2D" parent="." unique_id=413950760] position = Vector2(498, 276) rotation = 1.0476488 metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="yellowBox" unique_id=1759041685] shape = SubResource("RectangleShape2D_o3qty") debug_color = Color(0.70038986, 0.49176556, 0.052423634, 0.41960785) [node name="worldFloor" type="StaticBody2D" parent="." unique_id=376228153] position = Vector2(446, 437) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="worldFloor" unique_id=1759461926] shape = SubResource("WorldBoundaryShape2D_elsnr") [node name="character" type="CharacterBody2D" parent="." unique_id=1476507768] position = Vector2(555, 272) script = ExtResource("1_o3qty") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="character" unique_id=130782569] shape = SubResource("CapsuleShape2D_elsnr") debug_color = Color(0.33339813, 0.6108008, 0.35667416, 0.41960785) [node name="area" type="Area2D" parent="." unique_id=2033836703] position = Vector2(638, 351) script = ExtResource("3_v0i7m") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="area" unique_id=39441311] shape = SubResource("CircleShape2D_bj22s") debug_color = Color(0.37550476, 0.5048963, 0.9171919, 0.41960785) [connection signal="body_entered" from="area" to="area" method="_on_body_entered"] [connection signal="triggerActiveSignal" from="area" to="." method="_on_area_2d_trigger_active_signal"]