Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scenes/hero.gd
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func _on_collectable_collected(type: String):
Globals.player_armor = Globals.player_max_armor

func die():
get_tree().change_scene_to_file("res://scenes/utility/title.tscn")
get_tree().change_scene_to_file("res://scenes/utility/end_screen.tscn")

func hit(damage: int):
if Globals.player_health<=damage:
Expand Down
2 changes: 1 addition & 1 deletion scenes/weapons/projectile.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[node name="Projectile" type="Area2D"]
z_index = 10
collision_layer = 8
collision_mask = 7
collision_mask = 6
script = ExtResource("1_q3m7n")

[node name="CollisionShape" type="CollisionShape2D" parent="."]
Expand Down