Teleporter tutorial
This commit is contained in:
1 parent
82d1375871
commit
2c203c8476
7 files changed
+112
-7
No files matched your search
+2
-1
@@ -111,7 +111,8 @@ func on_death(instant = false, player_position = position):
|
||||
get_tree().paused = false
|
||||
|
||||
#position = %LevelStart.position
|
||||
position = spawn_point
|
||||
velocity = Vector2(0,0)
|
||||
position = spawn_point + Vector2(0,-100)
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
death_cooldown = 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user