pygame2 Questions

7

I had been trying to rotate an image around its center in using pygame.transform.rotate() but it's not working. Specifically the part that hangs is rot_image = rot_image.subsurface(rot_rect).copy()...
Lacrimator asked 15/11, 2010 at 9:55

5

Solved

I have made a list of bullets and a list of sprites using the classes below. How do I detect if a bullet collides with a sprite and then delete that sprite and the bullet? #Define the sprite class...

2

Solved

DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python. win.blit(playerStand, (x,...
Rowlett asked 14/12, 2019 at 16:19
1

© 2022 - 2025 — McMap. All rights reserved.