small bug fixes

This commit is contained in:
OddlyTimbot committed 2026-05-11 15:59:58 -04:00
1 parent ed9a99e192
commit 5ffaba9ce9
2 files changed
+12 -17

No files matched your search

+7 -17
View File
@@ -4,14 +4,11 @@
[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"]
@@ -33,18 +30,6 @@ 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
@@ -64,8 +49,13 @@ metadata/_edit_group_ = true
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)
[node name="Crates" type="Node2D" parent="." unique_id=381122866]
[node name="crate1" parent="Crates" unique_id=2099388145 instance=ExtResource("2_wowpa")]
position = Vector2(331, 234)
[node name="RigidBody2D" parent="Crates" unique_id=1094262304 instance=ExtResource("2_wowpa")]
position = Vector2(447, 47)
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]