level 2 - moving plattforms
level2 almost finished
This commit is contained in:
@@ -4,7 +4,9 @@ extends Area2D
|
||||
@onready var player = %player
|
||||
|
||||
func _on_body_entered(body):
|
||||
body.player_die()
|
||||
player.shrink()
|
||||
player.shrink()
|
||||
player.shrink()
|
||||
|
||||
func _ready():
|
||||
timer.start()
|
||||
@@ -14,4 +16,6 @@ func _process(delta):
|
||||
label.text = x
|
||||
|
||||
func _on_timer_timeout():
|
||||
player.player_die()
|
||||
player.shrink()
|
||||
player.shrink()
|
||||
player.shrink()
|
||||
|
||||
Reference in New Issue
Block a user