FlappyBird2024/parallax_background.gd

6 lines
182 B
GDScript

extends ParallaxBackground
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
scroll_base_offset -= Vector2(100, 0) * 1.5336 * delta