분류 전체보기
-
3일차 빗방울 코딩하기 ~개발일지/스파르타 코딩클럽 유니티 강의 2024. 3. 21. 14:23
복습느낌의 기본기 강의가 생각보다 도움이 많이 되는 것 같다. 역시 공부는 복습! 오늘 배운 내용 빗방울 내리게 하기 땅에 닿으면 없어지게 하기 빗방울 생성 및 크기, 색상 세팅 Rigidbody 2D 를 통해서 중력의 영향 받게하기 땅과 빗방울에 Collider를 줘서 충돌 세팅 땅에 tag를 부여해서 (이름 부여) 충돌 조작 땅에 닿았는지 확인하기 Destroy 함수로 비 없어지게 하기 Random.Range로 랜덤하게 위치 잡아주기 transform.localScale로 랜덤하게 크기 설정 GetComponrnt().color로 색상 변경 GameManager 만들기 Prefabs로 빗방울 복제하기 Instantiate 함수로 빗방울 복제하기 InvokeRepeating 함수로 반복하기 새롭게 알게..
-
2일차 기본 씬 구성 및 애니메이션 맛보기 ~개발일지/스파르타 코딩클럽 유니티 강의 2024. 3. 20. 15:39
스파르타 코딩클럽에서 국비 지원으로 유니티로 게임만들기 왕초보반 강의를 시작하였다. 2일차 기본 씬 구성 및 애니메이션 맛보기 5주간의 강의 코스인데 하루에 얼마나 수강하는지는 본인 마음이다. 0주차 강의에서 개발일지 작성을 추천하기에 나도 써보기로 해보았다. 오늘 배운 내용 유니티 설치, 설정 메인 씬에 게임 오브젝트 추가하기 게임 오브젝트 크기, 위치, 색깔 조정법 유니티에 이미지 에셋 추가 및 게임 오브젝트에 적용 애니메이션 간단 제작, 게임 오브젝트에 적용 VS코드 설치, 설정 캐릭터에 코딩을 적용하는 법 ( start - 너는 태어날 때, update - 매 순간(프레임) 이렇게 해라 )) Script 만들기 캐릭터 좌우 움직임 코딩하기 캐릭터가 벽에 닿으면 다른 방향 보게하기 마우스 클릭 시 ..