Programming/파이썬 (2) 썸네일형 리스트형 나도코딩 활용편2 GUI 프로그래밍 ft.백업의 중요성 https://www.youtube.com/watch?v=Dkx8Pl6QKW0&list=LL&index=7 베이직(가운데 있는 공 피해 움직이기) import pygame pygame.init() #초기화 (필수!) #화면 크기 설정 screenwidth = 480 #가로크기 screenheight = 640 #세로크기 screen = pygame.display.set_mode((screenwidth, screenheight)) #화면 타이틀 설정 pygame.display.set_caption("game") #게임 이름 #FPS clock = pygame.time.Clock() #배경 이미지 불러오기 background = pygame.image.load("C:/Users/User/Desktop/pyt.. 나도코딩 활용편1 https://www.youtube.com/watch?v=Dkx8Pl6QKW0&list=LL&index=7 베이직(가운데 있는 공 피해 움직이기) import pygame pygame.init() #초기화 (필수!) #화면 크기 설정 screenwidth = 480 #가로크기 screenheight = 640 #세로크기 screen = pygame.display.set_mode((screenwidth, screenheight)) #화면 타이틀 설정 pygame.display.set_caption("game") #게임 이름 #FPS clock = pygame.time.Clock() #배경 이미지 불러오기 background = pygame.image.load("C:/Users/User/Desktop/pyt.. 이전 1 다음