File tree 3 files changed +3
-7
lines changed
3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
- [gd_scene load_steps =37 format =2 ]
1
+ [gd_scene load_steps =36 format =2 ]
2
2
3
3
[ext_resource path ="res://Scripts/Player.gd" type ="Script" id =1 ]
4
4
[ext_resource path ="res://Scripts/Resources/Character.gd" type ="Script" id =2 ]
9
9
[ext_resource path ="res://Audio/Jump.wav" type ="AudioStream" id =7 ]
10
10
[ext_resource path ="res://Audio/Jump2.wav" type ="AudioStream" id =8 ]
11
11
[ext_resource path ="res://Audio/Land.wav" type ="AudioStream" id =9 ]
12
- [ext_resource path ="res://Audio/Save.wav" type ="AudioStream" id =10 ]
13
12
14
13
[sub_resource type ="Animation" id =1 ]
15
14
resource_name = "Crouch"
@@ -780,10 +779,6 @@ attenuation = 0.0853775
780
779
781
780
[node name = "LandSound" type = "AudioStreamPlayer2D" parent = "." ]
782
781
stream = ExtResource ( 9 )
783
-
784
- [node name = "Save" type = "AudioStreamPlayer" parent = "." ]
785
- stream = ExtResource ( 10 )
786
- volume_db = - 10.0
787
782
[connection signal = "animation_finished" from = "Animation" to = "Animation" method = "_on_Animation_animation_finished" ]
788
783
[connection signal = "frame_changed" from = "Sprite" to = "." method = "set_frame" ]
789
784
[connection signal = "body_entered" from = "Hitbox" to = "." method = "on_hit" ]
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ script = SubResource( 1 )
19
19
anchor_right = 1.0
20
20
anchor_bottom = 1.0
21
21
texture = ExtResource ( 1 )
22
+ expand = true
22
23
23
24
[node name ="Label" type ="Label" parent ="." ]
24
25
anchor_left = 0.5
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func on_enemy_attacked(enemy, damage):
31
31
32
32
func push_label (type , data ):
33
33
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
35
35
add_child (label )
36
36
37
37
match type :
You can’t perform that action at this time.
0 commit comments