Advertisement
otorp2

richtextnode with timer

Jan 10th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. extends RichTextLabel
  3. var count = 0
  4.  
  5. # member variables here, example:
  6. # var a=2
  7. # var b="textvar"
  8.  
  9. func _ready():
  10. self.add_text("Hello World")
  11.  
  12.  
  13. func _on_Timer_2_timeout():
  14. self.clear()
  15. self.add_text(str("Hello World: ", count))
  16. count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement