forked from team-sg/hero-mark-2
Nothing personnel, milliseconds...
This commit is contained in:
parent
b8d9a9e935
commit
314b365f7f
6 changed files with 23 additions and 10 deletions
|
@ -21,6 +21,7 @@ func _physics_process(delta):
|
|||
|
||||
func _on_Area2D_area_entered(area):
|
||||
if area.is_in_group("player_hitbox"):
|
||||
Game.still_playing = false
|
||||
var player = area.get_parent()
|
||||
player.state_chart.send_event("start_teleport")
|
||||
player.connect("teleport_finished", self, "_on_player_teleport_finished")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue