Wicked-Depths/scroll.gd

18 lines
499 B
GDScript

extends Camera2D
var max
var min
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
$dialogue.global_position = self.get_screen_center_position() - Vector2(55,60)
#$vingette.global_position = self.get_screen_center_position() - $vingette.size / 2
#$blur.global_position = self.get_screen_center_position() - $vingette.size / 2