chat gpt의 도움을 받아 핸드폰 전광판 앱 같이 문장 입력하면 화면에서 문장이 움직이는 거를 pygmae을 이용해서 간단하게 만들었는데 영어랑 숫자는 입력이 되는데 한글입력이 안돼요. 구글에 찾아 봐도 폰트 다운 받아서 실행하면 된다고 하는데 폰트 다운 받아도 입력이 안돼요 도와주세요



import pygame

# 게임 창 크기 설정
WINDOW_WIDTH = 1024
WINDOW_HEIGHT = 600

# 색상 정의
WHITE = (255, 255, 255)

# 초기화
pygame.init()
window = pygame.display.set_mode((WINDOW_WIDTH, WINDOW_HEIGHT))
clock = pygame.time.Clock()

# 한글 문장
sentence = ""

# 문장의 초기 위치 설정
sentence_x = WINDOW_WIDTH
sentence_y = WINDOW_HEIGHT // 2

# 폰트 설정
font = pygame.font.Font('1\MaplestoryFont_TTF\Maplestory Bold.ttf', 36)

# 게임 루프
running = True
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        elif event.type == pygame.KEYDOWN:
            if event.key == pygame.K_RETURN:
                sentence = ""  # Enter 키 입력 시 문장 초기화
            elif event.key == pygame.K_BACKSPACE:
                sentence = sentence[:-1]  # Backspace 키 입력 시 문자열에서 마지막 글자 제거
            else:
                sentence += event.unicode  # 다른 키 입력 시 해당 문자를 문장에 추가

    # 창 배경 색칠
    window.fill(WHITE)

    # 문장 이동
    sentence_x -= 5

    # 문장 그리기
    sentence_surface = font.render(sentence, True, (0, 0, 0))
    window.blit(sentence_surface, (sentence_x, sentence_y))

    # 문장이 창 왼쪽을 벗어나면 오른쪽에서 다시 시작하도록 조정
    if sentence_x < -sentence_surface.get_width():
        sentence_x = WINDOW_WIDTH

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

pygame.quit()