Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "D:/codes/python 3/Pygame/dino/main.py", line 144, in <module>
- run_game()
- File "D:/codes/python 3/Pygame/dino/main.py", line 79, in run_game
- draw_array(cactus_arr)
- File "D:/codes/python 3/Pygame/dino/main.py", line 142, in draw_array
- cactus.return_self(radius,height,width,img)
- File "D:/codes/python 3/Pygame/dino/main.py", line 40, in return_self
- display.blit(self.image, (self.x, self.y))
- TypeError: argument 1 must be pygame.Surface, not int
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement