Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SVR-190] 캐릭터 배치 JSON 형식으로 입/출력 및 직접 입력/편집 기능 #14

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kth1888
Copy link
Member

@kth1888 kth1888 commented Dec 7, 2023

  • game_data.gd에서 모든 json 파일을 읽고 저장할 수 있습니다.

  • levels/settings.gd에서 읽은 json 파일은 String으로 textedit 창에 출력됩니다,

  • game_start 버튼 누르면 역으로 String이 game_data.gd의 변수에 저장됩니다.

  • 현재는 String까지 불러와서 편집 후 저장이 가능한 상태이고, 다음 구현은 실제 저장된 game_data.gd의 변수를 battle.gd에 전달하는 것입니다.

  • 문제는 캐릭터 배치 파일의 파싱 시에 null을 리턴하게 되는 것입니다.

  • 캐릭터 배치 파일의 character.type 은 enum 자료형으로 JSON의 기본 자료형이 아니라서 발생하는 것으로 추정됩니다.

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant