mirror of
https://github.com/Steffo99/looping-for-loops.git
synced 2024-11-22 16:14:22 +00:00
10 lines
175 B
GDScript3
10 lines
175 B
GDScript3
|
extends Area2D
|
||
|
class_name ScrollingArea
|
||
|
|
||
|
|
||
|
export(Vector2) var scroll_velocity: Vector2 = Vector2(-100, 0)
|
||
|
|
||
|
|
||
|
func _physics_process(delta):
|
||
|
position += scroll_velocity * delta
|