Advertisement
Guest User

Untitled

a guest
May 24th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //create event
  2.  
  3. x_block = 120
  4. y_block = 120
  5.  
  6. timepassed = 0
  7.  
  8. //draw event
  9.  
  10. timepassed += 1
  11. draw_self()
  12. draw_sprite(s_Box,0,x+dcos(timepassed+180)*x_block,y+dsin(timepassed+180)*y_block)
  13. draw_sprite(s_Box,0,x+dcos(timepassed)*x_block,y+dsin(timepassed)*y_block)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement