Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Sprite
- extends Sprite
- var circlex = 0
- var scr_width = 400
- var scr_height = 400
- func _ready():
- set_process(true)
- pass
- func _process(delta):
- update()
- pass
- func _draw():
- circlex = 0
- while circlex < scr_width:
- draw_circle(Vector2(circlex,scr_height/2),5,Color(255,0,0))
- circlex = circlex + 20
- print(circlex)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement