[2026-05-17/18] - #4
Open
dududada0303 wants to merge 5 commits into
Open
Conversation
해당 내용은 새로운 브랜치를 생성하고 새로운 브랜치에 저장해두었습니다. README 내용도 최신화 해두었으며 아래는 내용은 README 안에도 똑같이 작성해두었습니다. 1. 게임 UI 생성 및 게임 재시작 설정 - 게임 오버 상태가 되면 화면에 띄울 패널 작성 - 거리 점수 구현 - 게임 오버 상태에서 'R' 키를 누르면 게임을 재시작하도록 설정하도록 RestartGame 함수 작성 및 안내 UI 생성 - 게임 오버시 게임 오버 문구와 재시작 문구가 출력될 수 있도록 EndGame 함수 작성 2. Player 스크립트에 Die 함수 작성 - 플레이어가 장애물에 충돌했을시에 게임이 정지되도록 만든 기능을 Die 함수로 정리 - Die 함수가 실행될 경우 게임 오버 UI 출력 및 게임 일시정지 3. 장애물 관련 변경점 - 장애물이 항상 같은 패턴으로 나오는 것이 아닌 이전에 생성해둔 슬라이더로 지정한 확률에 따라 하나의 지면에 3개로 나누어둔 장애물이 각각 생성되도록 설정 - 점프로 장애물을 여유롭게 넘을 수 있도록 장애물의 두께 조정 4. 거리 관련 내용 추가 - 새롭게 DistanceManager 스크립트 추가 - 거리 점수 UI와 연결 - 시간이 지날수록 점점 난이도가 높아지도록 50m당 속도가 1씩 증가하도록 설정
1. 스크립트를 추가하였습니다. - Coin - CoinManager 2. 코인 오브젝트를 만들고 코인이 회전하도록 하였습니다. 3. 코인 획득시 코인 점수가 올라가도록 스크립트를 작성하고 코인 UI와 연결하였습니다. 4. Ground 스크립트에 코인이 생성될 수 있도록 작성하고 장애물과 같은 위치에는 생성되지 않도록 스크립트를 작성하였습니다. 5. 플레이어와 코인이 충돌할 시 코인은 삭제되고 코인 점수 1점을 추가하도록 하였습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
해당 내용은 새로운 브랜치를 생성하고 새로운 브랜치에 저장해두었습니다. README 내용도 최신화 해두었으며 아래는 내용은 README 안에도 똑같이 작성해두었습니다.