OtsoSilver

Untitled

Sep 19th, 2021
626
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pgzero
  2.  
  3. WIDTH = 600
  4. HEIGHT = 400
  5.  
  6. TITLE = "Animal clicker"
  7. FPS = 30
  8.  
  9. # Объекты
  10. animal = Actor("giraffe", (150, 250))
  11. fon = Actor("fon")
  12.  
  13. # Переменные
  14. count = 0
  15.  
  16.  
  17. def draw():
  18.     fon.draw()
  19.     animal.draw()
  20.     screen.draw.text(count, color = 'white', center = (150,100), fontsize=96)
RAW Paste Data