강의

멘토링

로드맵

인프런 커뮤니티 질문&답변

AI AI님의 프로필 이미지
AI AI

작성한 질문수

Swift 언어로 배우는 iOS 장기 게임 (Korean Chess)

게임오버 & 재실행 구현하기

전체 소스코드 요청드립니다.

작성

·

338

0

좋은 강의 만들어주셔서 너무 감사드립니다. 

이제 막 시작하려 하는데 전체 돌아가는 것을 살펴보면서 공부하고 싶은데요...

이미지나 사운드는 있는걸 봤는데 전체 소스코드가 없네요...

전체적으로 어떻게 돌아가는지 살펴보고 싶습니다. 

공유 부탁드립니다!

퀴즈

How do you distinguish game elements (like characters, backgrounds, etc.) when the screen is touched?

Calculates touch coordinates to find the closest element name.

Using the `atPoint` function, we get the node at the touch location and distinguish it by the node name.

Scan all game elements, verify touch area inclusion.

Categorized by touch event type (single tap, double tap, etc.).

답변 1

0

쎄뮤님의 프로필 이미지
쎄뮤
지식공유자

안녕하세요,

전체 코드 업데이트 해 드렸습니다.

감사합니다. 

AI AI님의 프로필 이미지
AI AI
질문자

네 감사합니다!

AI AI님의 프로필 이미지
AI AI

작성한 질문수

질문하기