Skip to content

Commit 6644c02

Browse files
committed
Poprawionxy
1 parent 051e10d commit 6644c02

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Nodes/Player.tscn

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=37 format=2]
1+
[gd_scene load_steps=36 format=2]
22

33
[ext_resource path="res://Scripts/Player.gd" type="Script" id=1]
44
[ext_resource path="res://Scripts/Resources/Character.gd" type="Script" id=2]
@@ -9,7 +9,6 @@
99
[ext_resource path="res://Audio/Jump.wav" type="AudioStream" id=7]
1010
[ext_resource path="res://Audio/Jump2.wav" type="AudioStream" id=8]
1111
[ext_resource path="res://Audio/Land.wav" type="AudioStream" id=9]
12-
[ext_resource path="res://Audio/Save.wav" type="AudioStream" id=10]
1312

1413
[sub_resource type="Animation" id=1]
1514
resource_name = "Crouch"
@@ -780,10 +779,6 @@ attenuation = 0.0853775
780779

781780
[node name="LandSound" type="AudioStreamPlayer2D" parent="."]
782781
stream = ExtResource( 9 )
783-
784-
[node name="Save" type="AudioStreamPlayer" parent="."]
785-
stream = ExtResource( 10 )
786-
volume_db = -10.0
787782
[connection signal="animation_finished" from="Animation" to="Animation" method="_on_Animation_animation_finished"]
788783
[connection signal="frame_changed" from="Sprite" to="." method="set_frame"]
789784
[connection signal="body_entered" from="Hitbox" to="." method="on_hit"]

Scenes/ServerRip.tscn

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ script = SubResource( 1 )
1919
anchor_right = 1.0
2020
anchor_bottom = 1.0
2121
texture = ExtResource( 1 )
22+
expand = true
2223

2324
[node name="Label" type="Label" parent="."]
2425
anchor_left = 0.5

Scripts/UI/LabelManager.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func on_enemy_attacked(enemy, damage):
3131

3232
func push_label(type, data):
3333
var label = preload("res://Nodes/UI/InfoLabel.tscn").instance()
34-
label.rect_position.y -= get_child_count() * 32
34+
label.rect_position.y -= (get_child_count()-2) * 32
3535
add_child(label)
3636

3737
match type:

0 commit comments

Comments
 (0)