Advertisement
humpda

Animation_Pygamezero

Mar 22nd, 2022
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. from pgzhelper import *
  2. WIDTH = 800
  3. HEIGH = 800
  4.  
  5. run = Actor('run__000')
  6. run.images = ['run__000', 'run__001', 'run__002', 'run__003', 'run__004']
  7.  
  8. run.fps = 10
  9.  
  10.  
  11. def update():
  12. run.animate()
  13.  
  14. def draw():
  15. screen.clear()
  16. run.draw()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement