Advertisement
otorp2

array 3 circles

Dec 31st, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1.  
  2. extends Node2D
  3.  
  4. var x = [100,50,80]
  5. var y = [150,400,75]
  6.  
  7. func _ready():
  8. update()
  9.  
  10. pass
  11.  
  12. func _draw():
  13.  
  14. var i = 0
  15. while i < 3:
  16.  
  17. draw_circle(Vector2(x[i],y[i]),20,Color(255,0,0))
  18. i = i + 1
  19. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement