sound1 게임 사운드 from tkinter import * import pygame class GameSound: def __init__(self): window = Tk() # 윈도우 생성 window.title("게임사운드") # 제목을 설정 window.geometry("640x480") # 윈도우 크기 설정 window.resizable(0,0) self.canvas = Canvas(window, bg = "white") self.canvas.pack(expand=True,fill=BOTH) window.bind("",self.keyPressHandler) window.bind("",self.keyReleaseHandler) #pygame 에서 music vs sound # music: 배경음악 재생을 위해 사용 #.. 2022. 3. 26. 이전 1 다음