Add addons
This commit is contained in:
parent
2c862b2235
commit
3367bad24f
527 changed files with 36197 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
extends DialogicAnimation
|
||||
|
||||
func animate():
|
||||
var tween = (node.create_tween() as Tween)
|
||||
node.position.y = orig_pos.y + node.get_viewport().size.y/5
|
||||
node.modulate.a = 0
|
||||
tween.set_ease(Tween.EASE_IN_OUT)
|
||||
tween.set_trans(Tween.TRANS_SINE)
|
||||
tween.set_parallel()
|
||||
|
||||
tween.tween_property(node, 'position', orig_pos, time)
|
||||
tween.tween_property(node, 'modulate:a', 1.0, time)
|
||||
|
||||
tween.finished.connect(emit_signal.bind('finished_once'))
|
||||
Loading…
Add table
Add a link
Reference in a new issue