1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-25 17:44:22 +00:00
looping-for-loops/Scripts/Obstacles/ScrollingBlock.gd

10 lines
193 B
GDScript3
Raw Normal View History

2020-10-03 18:27:59 +00:00
extends ExtendedKinematicBody2D
class_name ScrollingBlock
export(Vector2) var scroll_velocity: Vector2 = Vector2(-100, 0)
2020-10-03 18:27:59 +00:00
func _physics_process(delta):
position += scroll_velocity * delta