0
Um trying to have it put a button on top of this image. Do any of yall know how??
import pygame from tkinter import * pygame.init() window = pygame.display.set_mode((720,454)) pygame.display.set_caption("Window") black = (0,0,0) image=pygame.image.load("C:\Python32\Image224.png").convert_alpha() gameLoop=True while gameLoop: for event in pygame.event.get(): if (event.type==pygame.QUIT): gameLoop=False window.fill(black) window.blit(image, (0,0)) pygame.display.flip() root = Tk()
2 Antworten
0
Thanks!!!!!