오락실 pang게임 직접 코딩해보기.py
·
python/python_pygame
##1 환경설정 & 프레임 ###################################################################### # 무조건 해야하는 부분 ###################################################################### import pygame import os pygame.init() screen_width = 640 screen_height = 480 screen = pygame.display.set_mode((screen_width, screen_height)) # 화면 타이틀 설정 pygame.display.set_caption("rusharp Pang") # 게임 이름 # 객체 생성 current_path = ..