Um trying to have it put a button on top of this image. Do any of yall know how?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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()

12th Nov 2017, 12:55 AM
Tanner
1 Answer
0
Thanks!!!!!
12th Nov 2017, 11:18 PM
Tanner