Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Uzzi |
For example:
I type fireball into a textbox press enter and the fireball Animatedsprite play.
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Uzzi |
For example:
I type fireball into a textbox press enter and the fireball Animatedsprite play.
Reply From: | SIsilicon |
extends TextEdit
func _ready():
# omit this if you know how to connect signals in the editor.
connect('text_changed', self, '_on_text_changed')
func _on_text_changed():
if text == 'fireball':
# play the fireball animation and such
That a lot your a real help!!
Uzzi | 2019-01-06 22:42