SeptemberGame/scenes/game.tscn
2025-10-06 16:01:50 -04:00

80 lines
2.9 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://cy1i6ucex6m0d"]
[ext_resource type="Script" uid="uid://c546prectbgc7" path="res://scripts/gamecontroller.gd" id="1_lbhrr"]
[ext_resource type="PackedScene" uid="uid://qv8blu8wkqvq" path="res://scenes/crate.tscn" id="1_uwrxv"]
[ext_resource type="PackedScene" uid="uid://dmrrbiwqptrho" path="res://scenes/trigger.tscn" id="2_yqjtg"]
[ext_resource type="PackedScene" uid="uid://b1yy0sybg66hh" path="res://scenes/player.tscn" id="3_lnu2h"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_8cj0n"]
[node name="Game" type="Node2D"]
position = Vector2(6, 2)
script = ExtResource("1_lbhrr")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(120, 233)
scale = Vector2(3.2000012, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("RectangleShape2D_8cj0n")
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
position = Vector2(229.00002, 261)
rotation = -0.43738624
scale = Vector2(3.2000012, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
shape = SubResource("RectangleShape2D_8cj0n")
[node name="StaticBody2D3" type="StaticBody2D" parent="."]
position = Vector2(321.00003, 198.00003)
rotation = 0.59605384
scale = Vector2(3.2000012, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
shape = SubResource("RectangleShape2D_8cj0n")
[node name="Crate" parent="." instance=ExtResource("1_uwrxv")]
position = Vector2(112, 186)
[node name="Crate2" type="RigidBody2D" parent="."]
position = Vector2(147.99998, 202.99994)
rotation = 2.6595373
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Crate2"]
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.90240496, 0.29881617, 0.21305403, 0.41960785)
[node name="Boundary" type="StaticBody2D" parent="."]
position = Vector2(142, 591)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundary"]
shape = SubResource("WorldBoundaryShape2D_8cj0n")
[node name="Trigger" parent="." instance=ExtResource("2_yqjtg")]
position = Vector2(201, 376)
[node name="Trigger2" parent="." instance=ExtResource("2_yqjtg")]
position = Vector2(62.000015, 278)
intent = "powerup"
[node name="CharacterBody2D" parent="." instance=ExtResource("3_lnu2h")]
position = Vector2(96, 206)
[node name="TimerLabel" type="Label" parent="."]
offset_right = 40.0
offset_bottom = 23.0
text = "0000"
[connection signal="triggerFiredSignal" from="Trigger" to="." method="_on_trigger_fired"]
[connection signal="triggerFiredSignal" from="Trigger2" to="." method="_on_trigger_fired"]