[gd_scene format=3 uid="uid://bcisk0tho1stb"] [ext_resource type="Script" uid="uid://ctdwfmqkny8rc" path="res://Scripts/game controller.gd" id="1_qxrlw"] [ext_resource type="PackedScene" uid="uid://bsroh4vsjwblh" path="res://Scenes/crate.tscn" id="2_wowpa"] [ext_resource type="PackedScene" uid="uid://dmk1mp1hqm62b" path="res://Scenes/player.tscn" id="3_i6g32"] [ext_resource type="Script" uid="uid://kb3v21msvi17" path="res://Scripts/trigger.gd" id="3_wrm1d"] [ext_resource type="PackedScene" uid="uid://ceyxo0mrrrd6d" path="res://Scenes/grenade.tscn" id="4_3dryh"] [ext_resource type="Script" uid="uid://qhll446powxt" path="res://Scripts/scene_manager.gd" id="6_1l0tm"] [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_3dryh"] radius = 18.110771 [node name="Game" type="Node2D" unique_id=1323011736] script = ExtResource("1_qxrlw") [node name="SceneManager" type="Node2D" parent="." unique_id=711947929] unique_name_in_owner = true position = Vector2(-39, 148) script = ExtResource("6_1l0tm") [node name="platfrom" type="StaticBody2D" parent="." unique_id=446401574] position = Vector2(399, 122) constant_linear_velocity = Vector2(10, 0) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="platfrom" unique_id=1022493365] shape = SubResource("RectangleShape2D_2poj3") [node name="RigidBody2D" parent="." unique_id=2099388145 instance=ExtResource("2_wowpa")] position = Vector2(331, 234) [node name="RigidBody2D2" type="RigidBody2D" parent="." unique_id=1977575109] position = Vector2(428.99997, 26) rotation = 0.54410887 metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2" unique_id=1267574160] shape = SubResource("RectangleShape2D_ebmjs") debug_color = Color(0.8238579, 0.39945692, 0.031017382, 0.41960785) [node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1443311972] position = Vector2(402, 247) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1935948289] shape = SubResource("WorldBoundaryShape2D_2poj3") [node name="Player" parent="." unique_id=872670144 instance=ExtResource("3_i6g32")] position = Vector2(399, 75) [node name="Area2D" type="Area2D" parent="." unique_id=1630381885] position = Vector2(447, 155) script = ExtResource("3_wrm1d") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=180262903] shape = SubResource("CircleShape2D_3dryh") debug_color = Color(0.77940935, 0.23498747, 0.906131, 0.41960785) [node name="Grenade" parent="." unique_id=1054741787 instance=ExtResource("4_3dryh")] position = Vector2(346, 91) [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"] [connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]