mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 22:12:23 +02:00
Turn System Working, Upgrade UI missing
This commit is contained in:
@@ -198,7 +198,8 @@ func _on_Hurtbox_area_exited(area):
|
||||
|
||||
func _on_Stats_no_health():
|
||||
queue_free()
|
||||
get_tree().change_scene("res://Menus/TitleScreen/TitleScreen.tscn")
|
||||
get_tree().get_root().get_node("World").hero_has_died()
|
||||
#get_tree().change_scene("res://Menus/TitleScreen/TitleScreen.tscn")
|
||||
|
||||
|
||||
func _on_Hitbox_area_entered(area):
|
||||
|
||||
@@ -619,19 +619,18 @@ height = 0.2
|
||||
radius = 4.03497
|
||||
height = 9.42006
|
||||
|
||||
[sub_resource type="CircleShape2D" id=51]
|
||||
[sub_resource type="CircleShape2D" id=49]
|
||||
radius = 13.3924
|
||||
|
||||
[sub_resource type="DynamicFont" id=50]
|
||||
size = 12
|
||||
font_data = ExtResource( 6 )
|
||||
|
||||
|
||||
[node name="Player" type="KinematicBody2D" groups=[
|
||||
"hero",
|
||||
]]
|
||||
scale = Vector2( 2, 2 )
|
||||
collision_mask = 14
|
||||
|
||||
script = ExtResource( 1 )
|
||||
ROLL_SPEED = 120
|
||||
FRICTION = 270
|
||||
@@ -724,7 +723,7 @@ damage = 0.0
|
||||
|
||||
[node name="CollisionShape2D" parent="Pivot/SwordRange" index="0"]
|
||||
position = Vector2( 0, -4.56405 )
|
||||
shape = SubResource( 51 )
|
||||
shape = SubResource( 49 )
|
||||
|
||||
[node name="DebugLabel" type="Label" parent="."]
|
||||
margin_left = -8.12021
|
||||
|
||||
Reference in New Issue
Block a user