분류 전체보기 (231) 썸네일형 리스트형 부록 - 모작2 대쉬 잔상 구현deque 를 이용하여 대쉬 이미지들을 넣어놓고 일정간격(interval) 마다 deque 의 맨 앞의 잔상 이미지를맨 뒤로 보내었다. 부록 - 모작1 갈고리 레이저 포인트 기능 구현 1. Update 에서 플레이어 위치와 마우스 위치를 이용한 2차 방정식을 만든다. 2. 모든 레이저 포인트들의 회전 값을 플레이어에서 마우스 위치를 뺀 vec 값으로 하여 날라갈 방향을 정하고 오른쪽 방향으로 이동 시킨다.3. 갈고리 훅 보다 거리가 이상인 각 레이저 포인트들은 안보이게 설정한다. SkillActor & Weapon 전체 코드 - SkillActor (FireBallSkill, FireFallSkill)public https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Public/Actorprivate https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Private/Actor Weapon public https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Public/Weaponsprivate https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Private/Weapons 개발 경험주요 클래스 및 함수 설명 1. .. Weapon & WeaponComponent 전체 코드WeaponComponentpublic https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Public/Components/WeaponComponent.hprivate https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Private/Components/WeaponComponent.cpp 경험과 결과주요 클래스 및 함수 설명 1. 경험과 결과장착하는 Weapon 마다 사용할 수 있는 State 와 Ability 에 차이를 두고 싶었다. 처음에는 Weapon 마다 State 와 Ability 를 가지고 있는 DataAsset 을 변수로 가지고 있게 할 생각이었다. 근데 이렇게 되니 Weapon.. Targeting & Camera 코드 - CombatComponent .h https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Public/Components/BaseCombatComponent.h.cpp https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Private/Components/BaseCombatComponent.cpp코드 - CameraManagerComponent.h https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Public/Components/CameraManagerComponent.h.cpp https://github.com/LCU97/Cat/blob/ma.. InputSystem 을 활용한 다양한 행동 처리 InputSystem 코드 public : https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Public/Inputsprivate : https://github.com/LCU97/Cat/tree/main/Source/HumanAndCat/Private/Inputs 경험과 결과주요 클래스 및 함수 설명 1. 경험과 결과InputSystem 은 해당 프로젝트에서 새로 만든 기능이 아니고 CombatFramwork 기능 에셋을 공부하며 다른 팀원과 만들었던 기능을 해당 프로젝트에 가져와 사용하였다.움직임이 자연스럽게 연결되기 위해서는 AnimMontage 가 실행되는 도중에 다음 행동이 실행되야한다고 생각했다. CombatFramwo.. 백준 11727 타일링 #include #include #include #include #include using namespace std;vector arr(1001, -1);int Dp(int n){ if (arr[n] != -1) { return arr[n]; } arr[n] = (Dp(n - 1) + Dp(n-2)*2) % 10007; return arr[n];}int main(void){ arr[1] = 1; arr[2] = 3; int n; cin >> n; int a = Dp(n); cout FSM - 상태 패턴과 (State & Ability) StateComponent 전체 코드 .h https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Public/Components/BaseStateManagerComponent.h.cpphttps://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Private/Components/BaseStateManagerComponent.cpp AbilityComponent 전체 코드 .h https://github.com/LCU97/Cat/blob/main/Source/HumanAndCat/Public/Components/BaseAbilityManagerComponent.h.cpp https://github.com/LC.. 이전 1 ··· 3 4 5 6 7 8 9 ··· 29 다음