added main memu
This commit is contained in:
parent
e446938ba7
commit
ae936275b7
10 changed files with 224 additions and 8 deletions
2
Clock.gd
2
Clock.gd
|
@ -6,6 +6,8 @@ func _ready():
|
|||
velocity = Vector2(speed, speed)
|
||||
|
||||
func _physics_process(delta):
|
||||
if get_tree().paused:
|
||||
return
|
||||
if get_last_slide_collision():
|
||||
var collision: KinematicCollision2D = get_last_slide_collision()
|
||||
if collision.get_collider():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue