fixed death cam fov and added damage numbers

This commit is contained in:
derek
2024-08-07 15:57:48 -05:00
parent 795e1ae7f6
commit fb1dd498b4
12 changed files with 258 additions and 46 deletions

21
scripts/level_bounds.gd Normal file
View File

@@ -0,0 +1,21 @@
extends Area3D
@onready var level_control = get_tree().current_scene
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_area_exited(area):
pass #level_control.die()
func _on_body_shape_exited(body_rid, body, body_shape_index, local_shape_index):
level_control.die()