]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/Background/Transitions/Defaults/swipe_right_to_left.gd
Initial Godot project with Dialogic 2.0-Alpha-17
[wolf-seeking-sheep.git] / addons / dialogic / Modules / Background / Transitions / Defaults / swipe_right_to_left.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         texture.fill_from = Vector2.RIGHT
7         texture.fill_to = Vector2.ZERO
8         tween_shader_progress()