Advertisement
Guest User

Untitled

a guest
May 1st, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "D:/codes/python 3/Pygame/dino/main.py", line 144, in <module>
  3.     run_game()
  4.   File "D:/codes/python 3/Pygame/dino/main.py", line 79, in run_game
  5.     draw_array(cactus_arr)
  6.   File "D:/codes/python 3/Pygame/dino/main.py", line 142, in draw_array
  7.     cactus.return_self(radius,height,width,img)
  8.   File "D:/codes/python 3/Pygame/dino/main.py", line 40, in return_self
  9.     display.blit(self.image, (self.x, self.y))
  10. TypeError: argument 1 must be pygame.Surface, not int
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement