pygame.display.set_caption("My Game") ... starting x postition of the rectangle ... pygame.draw.rect(screen, WHITE, [rect_x, 50, 50, 50]). 28. rect_x += -10.
確定! 回上一頁