]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/Background/Transitions/Defaults/swipe_left_to_right.gd
Squashed commit of the following:
[wolf-seeking-sheep.git] / addons / dialogic / Modules / Background / Transitions / Defaults / swipe_left_to_right.gd
1 extends "res://addons/dialogic/Modules/Background/Transitions/simple_swipe_transitions.gd"
2
3 func _fade() -> void:
4         var shader := setup_swipe_shader()
5         var texture: GradientTexture2D = shader.get_shader_parameter('wipe_texture')
6
7         texture.fill_from = Vector2.ZERO
8         texture.fill_to = Vector2.RIGHT
9
10         tween_shader_progress()