Solo_Week2_June2026Game/Scenes/game.tscn
2026-06-22 21:04:23 -04:00

76 lines
3.1 KiB
Plaintext

[gd_scene format=3 uid="uid://bportqr2j3d7s"]
[ext_resource type="Script" uid="uid://bwyucgbes44rd" path="res://Scripts/trigger.gd" id="1_ebmjs"]
[ext_resource type="Script" uid="uid://cvrssvw6p8myl" path="res://Scripts/game.gd" id="1_wrm1d"]
[ext_resource type="Script" uid="uid://bfh1ec3bb5oki" path="res://Scripts/scene_manager.gd" id="2_3dryh"]
[ext_resource type="Script" uid="uid://cq2vf132xjtli" path="res://Scripts/player.gd" id="2_qxrlw"]
[ext_resource type="PackedScene" uid="uid://b5y6rb2t0eaqr" path="res://Scenes/crate.tscn" id="3_wowpa"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ebmjs"]
[node name="Game" type="Node2D" unique_id=1651082265]
script = ExtResource("1_wrm1d")
[node name="SceneManager" type="Node2D" parent="." unique_id=1701867043]
script = ExtResource("2_3dryh")
[node name="Floor" type="StaticBody2D" parent="." unique_id=1930890804]
position = Vector2(558, 453)
scale = Vector2(3.880005, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor" unique_id=208628971]
shape = SubResource("RectangleShape2D_2poj3")
[node name="Floor2" type="StaticBody2D" parent="." unique_id=1987202329]
position = Vector2(751, 411)
scale = Vector2(3.880005, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor2" unique_id=758727610]
shape = SubResource("RectangleShape2D_2poj3")
[node name="Floor3" type="StaticBody2D" parent="." unique_id=1726195228]
position = Vector2(689, 433.00003)
rotation = -0.69889295
scale = Vector2(3.880005, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor3" unique_id=92737610]
shape = SubResource("RectangleShape2D_2poj3")
[node name="Trigger" type="Area2D" parent="." unique_id=1126418572]
position = Vector2(627, 517)
scale = Vector2(4.6, 4.6)
script = ExtResource("1_ebmjs")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger" unique_id=2040815744]
shape = SubResource("CircleShape2D_2poj3")
debug_color = Color(0.47473383, 0.5864115, 0.1707469, 0.41960785)
[node name="Player" type="CharacterBody2D" parent="." unique_id=1131424030]
position = Vector2(538.00006, 420)
scale = Vector2(1.64, 1.64)
script = ExtResource("2_qxrlw")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player" unique_id=628686782]
shape = SubResource("CircleShape2D_ebmjs")
debug_color = Color(0.6308279, 0.36922106, 0.95607406, 0.41960785)
[node name="Crates" type="Node2D" parent="." unique_id=799685623]
[node name="Crate" parent="Crates" unique_id=38246509 instance=ExtResource("3_wowpa")]
position = Vector2(683, 406)
[node name="Crate2" parent="Crates" unique_id=1259430642 instance=ExtResource("3_wowpa")]
position = Vector2(716, 382)
[connection signal="areaTriggerSignal" from="Trigger" to="." method="_on_trigger"]
[connection signal="body_entered" from="Trigger" to="Trigger" method="_on_body_entered"]