Advertisement
otorp2

simple while

Dec 28th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1.  
  2. extends Node2D
  3.  
  4. # member variables here, example:
  5. # var a=2
  6. # var b="textvar"
  7.  
  8. func _ready():
  9. set_process(true)
  10.  
  11. func _process(delta):
  12. update()
  13. func _draw():
  14. var i = 0
  15. while(i < 10):
  16. print(i)
  17. i+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement