level 2 - moving plattforms

level2 almost finished
This commit is contained in:
Jonas Braus
2024-08-02 22:44:01 +02:00
parent a4476f2ce2
commit a706375da0
18 changed files with 46260 additions and 150 deletions
+6 -2
View File
@@ -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()