fixed death cam fov and added damage numbers
This commit is contained in:
21
scripts/level_bounds.gd
Normal file
21
scripts/level_bounds.gd
Normal 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()
|
||||
Reference in New Issue
Block a user