bug fixes

This commit is contained in:
OddlyTimbot committed 2026-05-11 15:59:05 -04:00
1 parent 51803d0406
commit e80ace000d
5 files changed
+20 -30

No files matched your search

+1 -4
View File
@@ -146,9 +146,7 @@ animations = [{
}]
[node name="CharacterBody2D" type="CharacterBody2D" unique_id=44928680]
position = Vector2(-33, 19)
script = ExtResource("1_j5628")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=547069058]
shape = SubResource("CapsuleShape2D_80nbo")
@@ -167,8 +165,7 @@ position = Vector2(-20, -8)
[node name="player graphic" type="AnimatedSprite2D" parent="." unique_id=1007399411]
texture_filter = 1
position = Vector2(2, -26)
scale = Vector2(2.5208335, 2.3541667)
position = Vector2(2, -1)
sprite_frames = SubResource("SpriteFrames_mu2pl")
animation = &"run"
autoplay = "idle"
+13
View File
@@ -0,0 +1,13 @@
[gd_scene format=3 uid="uid://d0wbtenf13iol"]
[ext_resource type="Script" uid="uid://bsqvllp6h53jr" path="res://scripts/cube.gd" id="1_jbd7x"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7j3e2"]
[node name="cube" type="RigidBody2D" unique_id=1851497894 groups=["fragile"]]
script = ExtResource("1_jbd7x")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=250973730]
shape = SubResource("RectangleShape2D_7j3e2")
debug_color = Color(0.15505362, 0.53664047, 0.94464076, 0.41960785)
+97
View File
@@ -0,0 +1,97 @@
[gd_scene format=3 uid="uid://btxq5hrirovod"]
[ext_resource type="Script" uid="uid://jsnpm50wknk2" path="res://scripts/game.gd" id="1_qpk70"]
[ext_resource type="Script" uid="uid://cxlpex21vgnla" path="res://scripts/scenemanager.gd" id="2_ll5lq"]
[ext_resource type="Script" uid="uid://cebn6t5n1cwib" path="res://scripts/platform.gd" id="3_17rxn"]
[ext_resource type="Script" uid="uid://cdxh14mtlvhl6" path="res://scripts/trigger_circle.gd" id="4_yq8tf"]
[ext_resource type="PackedScene" uid="uid://d0wbtenf13iol" path="res://scene/cube.tscn" id="5_ym5sv"]
[ext_resource type="PackedScene" uid="uid://d4nnj62h6fjcq" path="res://scene/character_body_2d.tscn" id="6_sng2h"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mwb40"]
size = Vector2(368.333, 64.236694)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_mwb40"]
[sub_resource type="CircleShape2D" id="CircleShape2D_e2o6t"]
radius = 153.83757
[node name="Game" type="Node2D" unique_id=1249397989]
script = ExtResource("1_qpk70")
[node name="SceneManager" type="Node2D" parent="." unique_id=1165789663]
unique_name_in_owner = true
position = Vector2(661, 24)
scale = Vector2(0.97016877, 1.0195743)
script = ExtResource("2_ll5lq")
[node name="platform" type="StaticBody2D" parent="." unique_id=817692358]
position = Vector2(421, 536.99994)
script = ExtResource("3_17rxn")
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=469432658]
shape = SubResource("RectangleShape2D_mwb40")
[node name="left wall" type="StaticBody2D" parent="." unique_id=1287017623]
position = Vector2(-143, 215)
rotation = 1.4884713
script = ExtResource("3_17rxn")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="left wall" unique_id=1720529410]
shape = SubResource("RectangleShape2D_mwb40")
[node name="right wall" type="StaticBody2D" parent="." unique_id=820553779]
position = Vector2(-483, 92)
rotation = -1.6017642
script = ExtResource("3_17rxn")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="right wall" unique_id=22403495]
shape = SubResource("RectangleShape2D_mwb40")
[node name="conveyor" type="StaticBody2D" parent="." unique_id=1750621226]
position = Vector2(261.99988, 492.00006)
rotation = -1.5922282
scale = Vector2(0.86305076, 3.6811934)
constant_linear_velocity = Vector2(250, 0)
[node name="wall left" type="CollisionShape2D" parent="conveyor" unique_id=482160421]
position = Vector2(406.85486, -406.34064)
rotation = 1.6034058
scale = Vector2(0.9552965, 0.99587345)
shape = SubResource("RectangleShape2D_mwb40")
[node name="world border" type="StaticBody2D" parent="." unique_id=920368740]
position = Vector2(563, 988)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="world border" unique_id=1075301728]
shape = SubResource("WorldBoundaryShape2D_mwb40")
[node name="Area2D" type="Area2D" parent="." unique_id=733267557]
position = Vector2(945, 535)
script = ExtResource("4_yq8tf")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=762446279]
shape = SubResource("CircleShape2D_e2o6t")
[node name="cube container" type="Node2D" parent="." unique_id=22976120]
[node name="cube" parent="cube container" unique_id=1851497894 instance=ExtResource("5_ym5sv")]
position = Vector2(429.00003, 372)
scale = Vector2(0.97196096, 1.0195743)
[node name="cube2" parent="cube container" unique_id=1345370216 instance=ExtResource("5_ym5sv")]
position = Vector2(921, -508.99997)
scale = Vector2(0.97196096, 1.0195743)
[node name="cube3" parent="cube container" unique_id=321996969 instance=ExtResource("5_ym5sv")]
position = Vector2(978.99994, -294)
scale = Vector2(0.97196096, 1.0195743)
[node name="CharacterBody2D" parent="." unique_id=44928680 instance=ExtResource("6_sng2h")]
position = Vector2(263, 481)
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="triggerActiveSignal" from="Area2D" to="." method="on_trigger"]
+16
View File
@@ -0,0 +1,16 @@
[gd_scene format=3 uid="uid://c5mayb1i4ypqm"]
[ext_resource type="Script" uid="uid://wctwda5bor10" path="res://scripts/grenade.gd" id="1_gju2f"]
[sub_resource type="CircleShape2D" id="CircleShape2D_pu16u"]
[node name="grenade" type="RigidBody2D" unique_id=1844025628]
contact_monitor = true
max_contacts_reported = 3
script = ExtResource("1_gju2f")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=953914170]
shape = SubResource("CircleShape2D_pu16u")
debug_color = Color(0.45701438, 0.5945938, 3.85046e-07, 0.41960785)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]