소스 검색

Create games devlopment

pull/3448/head
180pulok 1 년 전
committed by GitHub
부모
커밋
94f7cf7401
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. +20
    -0
      games devlopment

+ 20
- 0
games devlopment 파일 보기

@@ -0,0 +1,20 @@
import pygame

pygame.init()

screen = pygame.display.set_mode((640, 480))
clock = pygame.time.Clock()

while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()

# Update game state

screen.fill((0, 0, 0))
# Draw game objects

pygame.display.flip()
clock.tick(60)

불러오는 중...
취소
저장