8 lines
169 B
GDScript
8 lines
169 B
GDScript
extends Node2D
|
|
|
|
func _process(delta):
|
|
if position.y < (LocationManager.currentLocation.upperCameraLimit - 200):
|
|
queue_free()
|
|
|
|
self.translate(Vector2(5, -50)*delta)
|