2026-04-21 01:12:58 +00:00
|
|
|
[gd_scene format=3 uid="uid://b06dlp8n6upld"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bc25u4w35ibeu" path="res://Scripts/gameController.gd" id="1_qxrlw"]
|
2026-04-28 01:08:43 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://d16epxgmccvkp" path="res://Scenes/crate.tscn" id="2_3dryh"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://cnm7tj6umtwtm" path="res://Scripts/scene_manager.gd" id="2_wowpa"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://caa73phf3ng5m" path="res://Scenes/player.tscn" id="3_wowpa"]
|
2026-04-21 01:12:58 +00:00
|
|
|
[ext_resource type="Script" uid="uid://4hekg0d8n04f" path="res://Scripts/trigger.gd" id="3_wrm1d"]
|
2026-05-05 01:00:27 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dotmw0uwnqv6w" path="res://Scenes/grenade.tscn" id="6_i6g32"]
|
2026-04-21 01:12:58 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
|
|
|
|
size = Vector2(84, 20)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_2poj3"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_3dryh"]
|
|
|
|
|
radius = 32.01562
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D" unique_id=1698001017]
|
|
|
|
|
script = ExtResource("1_qxrlw")
|
|
|
|
|
|
2026-04-28 01:08:43 +00:00
|
|
|
[node name="SceneManager" type="Node2D" parent="." unique_id=1394046756]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("2_wowpa")
|
|
|
|
|
|
2026-04-21 01:12:58 +00:00
|
|
|
[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="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")
|
|
|
|
|
|
2026-04-28 01:08:43 +00:00
|
|
|
[node name="Player" parent="." unique_id=1717313761 instance=ExtResource("3_wowpa")]
|
|
|
|
|
position = Vector2(338, 430)
|
2026-04-21 01:12:58 +00:00
|
|
|
|
|
|
|
|
[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)
|
|
|
|
|
|
2026-04-28 01:08:43 +00:00
|
|
|
[node name="Crates" type="Node2D" parent="." unique_id=1980240897]
|
|
|
|
|
|
|
|
|
|
[node name="Crate" parent="Crates" unique_id=1338541987 instance=ExtResource("2_3dryh")]
|
|
|
|
|
position = Vector2(385, 428)
|
|
|
|
|
|
|
|
|
|
[node name="Crate2" parent="Crates" unique_id=1931037062 instance=ExtResource("2_3dryh")]
|
2026-05-05 01:00:27 +00:00
|
|
|
position = Vector2(436, 433)
|
2026-04-28 01:08:43 +00:00
|
|
|
|
|
|
|
|
[node name="Crate4" parent="Crates" unique_id=585069069 instance=ExtResource("2_3dryh")]
|
2026-05-05 01:00:27 +00:00
|
|
|
position = Vector2(481, 433)
|
|
|
|
|
|
|
|
|
|
[node name="Grenade" parent="." unique_id=638454305 instance=ExtResource("6_i6g32")]
|
|
|
|
|
position = Vector2(385, 375)
|
2026-04-28 01:08:43 +00:00
|
|
|
|
2026-04-21 01:12:58 +00:00
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
|
|
|
|
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]
|