Advertisement
otorp2

parabola godt

Nov 29th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. extends Node2D
  2.  
  3. # class member variables go here, for example:
  4. # var a = 2
  5. var clock = 100
  6.  
  7. func _ready():
  8.  
  9. update()
  10. pass
  11. func _draw():
  12. for i in range(-10,10):
  13. print(pow(i,2))
  14. draw_circle(Vector2(i,pow(i,2)),1,Color(255,0,0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement