Pygame: How do I make my image fall?
问题 I am trying to make objects fall like they would on earth. I already got them to blit where I wanted them to but I can't seem to animate them. This is the object that I want to fall import pygame class circle(): def __init__(self, screen): planet_color = (255,0,0) planet_radius = 20 self.screen = screen ev = pygame.event.get() self.image = pygame.image.load('../images/jupiter.bmp') self.image = pygame.transform.scale(self.image, (80, 80)) def blitme(self): self.x = pygame.mouse.get_pos() self