게임 (1) 썸네일형 리스트형 PYTHON -Pygame 똥피하기 게임을 손쉽게 만들어 보았습니다 코드 포함 import pygame import random ################################################################ # 기본 초기화 (반드시 해야함) pygame.init() # 화면 크기 설정 screen_width = 480 # 가로 크기 screen_height = 640 # 세로 크기 screen = pygame.display.set_mode((screen_width, screen_height)) # 화면 타이틀 설정 pygame.display.set_caption("Avoiding poop Game") # FPS clock = pygame.time.Clock() ###############################################.. 이전 1 다음