From a5549c3099407f3e3c6c8f1ac8fa53301911a98e Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Fri, 9 Jan 2026 14:43:09 +0900 Subject: [PATCH] COMMIT --- .../Client/Private/Avadakedavra.cpp | 2 +- Jusin154_Team3D/Client/Private/NomalJap.cpp | 19 +++++++++--------- Jusin154_Team3D/Client/Public/NomalJap.h | 7 ++++--- .../Data/Effect/Avadakedavra/Ray_G.bin | 2 +- .../Data/Effect/Avadakedavra/Wand_Light.bin | 2 +- .../Data/Effect/Jap/Circle_Particle_Red.bin | 3 --- .../Bin/Resources/Data/Effect/Jap/JapFire.bin | 3 +++ .../Bin/Resources/Data/Effect/Jap/JapHit1.bin | 4 ++-- .../Bin/Resources/Data/Effect/Jap/JapPT0.bin | 2 +- .../Data/Effect/Jap/JapProjCircle.bin | 4 ++-- .../Resources/Data/Effect/Jap/JapProjSide.bin | 4 ++-- .../Resources/Data/Effect/Jap/JapTrail.trail | Bin 444 -> 0 bytes .../Data/Effect/JapSideEffect/Red_Trail.trail | Bin 400 -> 400 bytes .../Effect/JapSideEffect/WandParticle1.bin | 2 +- .../Effect/JapSideEffect/Wand_Light_R.bin | 2 +- .../Effect/JapSideEffect/Wand_Red_Long.bin | 2 +- .../Resources/Data/Effect/NPCJap/JapFire.bin | 3 +++ .../Resources/Data/Effect/NPCJap/JapHit0.bin | 3 +++ .../Resources/Data/Effect/NPCJap/JapHit1.bin | 3 +++ .../Resources/Data/Effect/NPCJap/JapPT0.bin | 3 +++ .../Data/Effect/NPCJap/JapProjCircle.bin | 3 +++ .../Data/Effect/NPCJap/JapProjSide.bin | 3 +++ .../Bin/Resources/Data/Effect/Package/Jap.bin | 4 ++-- .../Resources/Data/Effect/Package/NPCJap.bin | 3 +++ Jusin154_Team3D/Editor/Private/Loader.cpp | 2 +- Jusin154_Team3D/Editor/Private/NomalJap.cpp | 18 +++++++++-------- Jusin154_Team3D/Editor/Public/NomalJap.h | 5 +++-- 27 files changed, 67 insertions(+), 41 deletions(-) delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapFire.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapFire.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapHit0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapHit1.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapPT0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapProjCircle.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCJap/JapProjSide.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/NPCJap.bin diff --git a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp index 80e3b6977..8fdf772f6 100644 --- a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp +++ b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp @@ -123,7 +123,7 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg) } else { // 타겟이 없다면 현재위치 -> 카메라 룩벡터 * duration간 예상 이동거리 를 대상으로 지정 - XMStoreFloat4(&m_vTargetPos, vWandPos + vDirection * m_fLinearSpeed * 0.5f); + XMStoreFloat4(&m_vTargetPos, vWandPos + vDirection * m_fLinearSpeed * 2.f); } } diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp index 8fb32d708..8a2e37945 100644 --- a/Jusin154_Team3D/Client/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp @@ -51,9 +51,12 @@ HRESULT CNomalJap::Initialize(void* pArg) m_pProjectile_Side = Get_PartObject("JapProjSide"); m_pProjectile = Get_PartObject("JapProjCircle"); + m_pJapFire = Get_PartObject("JapFire"); SAFE_ADDREF(m_pProjectile); SAFE_ADDREF(m_pProjectile_Side); + SAFE_ADDREF(m_pJapFire); + m_fDuration = 1.7f; assert(m_fDuration > 0.f); @@ -87,6 +90,7 @@ void CNomalJap::Update(_float fTimeDelta) // 선속도 m_pProjectile_Side->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); m_pProjectile->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); + m_pJapFire->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); //Up벡터 방향으로 파이만큼 이동 @@ -97,6 +101,7 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); + m_pJapFire->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); // 내 라이트 방향으로 좌우무빙 하도록 해보자 @@ -108,6 +113,7 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); + m_pJapFire->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion()); @@ -128,7 +134,6 @@ void CNomalJap::Late_Update(_float fTimeDelta) OnCollision(this, &CollisionInfo); } - Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); __super::Late_Update(fTimeDelta); } @@ -148,14 +153,12 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화 */ m_pProjectile->Get_Component()->Set_State(STATE::POSITION, vStartPos); m_pProjectile_Side->Get_Component()->Set_State(STATE::POSITION, vStartPos); + m_pJapFire->Get_Component()->Set_State(STATE::POSITION, vStartPos); /* 초기 객체 비지블 */ m_pProjectile->Set_Visible(true); m_pProjectile_Side->Set_Visible(true); - - /*트레일 초기화 */ - Get_PartObject()->Set_Visible(true); - Get_PartObject()->Get_Component()->Reset_Trail(); + m_pJapFire->Set_Visible(true); _uint iIndex = *static_cast<_uint*>(pArg); @@ -305,10 +308,8 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc) m_pProjectile_Side->Set_Visible(false); m_pProjectile->Set_Visible(false); - Get_PartObject("Circle_Particle_Red")->Set_Visible(false); + m_pJapFire->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f)); - Get_PartObject()->Set_Visible(false); - Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); } m_bHitShield = false; } @@ -319,7 +320,7 @@ void CNomalJap::Free() Safe_Release(m_pProjectile); Safe_Release(m_pProjectile_Side); - + Safe_Release(m_pJapFire); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Public/NomalJap.h b/Jusin154_Team3D/Client/Public/NomalJap.h index f35e408ca..b14c0adda 100644 --- a/Jusin154_Team3D/Client/Public/NomalJap.h +++ b/Jusin154_Team3D/Client/Public/NomalJap.h @@ -39,9 +39,10 @@ class CNomalJap final : public CEffect_Container , _float4(95.f , 0.f , 0.f , 0.f) , _float4(105.f , 250.f , 35.f , 60.f) }; - class CPartObject* m_pProjectile = {}; - class CPartObject* m_pProjectile_Side = {}; - + class CPartObject* m_pProjectile = { nullptr }; + class CPartObject* m_pProjectile_Side = { nullptr }; + class CPartObject* m_pJapFire = { nullptr }; + _float3 m_vRotateUp = {}; _float m_fAccMoveTime = {}; _float m_fAccRotateTime = {}; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Ray_G.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Ray_G.bin index e01291a4d..0ba78626b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Ray_G.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Ray_G.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e8d7c407ee23c30331c42ff10fad8a38741b282f4ef0880d7acac8734cab8ab7 +oid sha256:ba19724cd428b4806e260d20154e6c2d72ae57c848160cc73c501562ed762902 size 1300 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Wand_Light.bin index e25478faa..bd5eba508 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:793ff7c5fde69a91b01b1d77ea428b1e17bd522313898a0599cdf54812ec2274 +oid sha256:fa010a163e72a609b740f3897b945d0558594f6d97a65d720c46312ac3e4f0f3 size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin deleted file mode 100644 index 6945b7aae..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5a33a2544d9b6676a1e8b60773dc9fa771b492a1400f056a66d2fdabf28ca30 -size 1163 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapFire.bin new file mode 100644 index 000000000..ae86555be --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapFire.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4efecd1551fc1c3694a535e3ce1623c66a8542f89d153c6df6c5679d51606b3f +size 1194 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin index 5dc4f5018..b52e4abc7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d09fa6144794fe138c85badb897593a89a0b5f53729b06a407f70eb7f3efebb6 -size 1213 +oid sha256:4bf8fd3dd16d4a8e021afef9d78a7e019008e86be6e953cb4a34842ded5f4468 +size 1188 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin index c5073c0a6..595b3045d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c8e58f580b2b2477c99438d13a986354dd663194ac0b801d00cd508de5cdc22 +oid sha256:d653bb77fbf77aced1de7c36ea726c3978c9f86599da9fe03eed55ad98afdc4f size 1163 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin index 5dee67523..6c67757e0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a13405461fa08241f95dfe78084be873e0e56b85c10393804054c5f572b1bf0e -size 1248 +oid sha256:468db2885ece2f11f06e935d188c478bc18cadc622e31f4e640f259270ada3a3 +size 1195 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin index 4dfd594a1..d7d484120 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9168b3d57908e617f91a43bd24293883def9677008d6b9e3ad5c63bdef31b930 -size 1166 +oid sha256:039070156dfe15aa4886ff09d242d8d3b3de7be4075a787e0d3b246643450bcc +size 1158 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail deleted file mode 100644 index 2699b3bafd23675cfb1b413b4b20bffd8d639b88..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 444 zcmY#qfPjFa{F3~V%7WDRkkpEj(jp)o?-mj7mI-9J7bT`-rskCx#k(*V;8Y(5R2~9X z>y(<9>yclSS(Tqxl9)q@MpXhfdgf)vhi4WS#2bLz2Lfl$_}D@}Q^mKFEGXll?4}G<5eJ$z8$iN6u0~8Am4MkB4(E%Yttc>hA6M5}G7-U|x zNT0oC48L7k+A*LW28NjaLw1Zn3xP~9ALszExlBNT X-Sx!<4nTEaH6XFhjt;wtU*-S+mir#S delta 86 zcmbQhJb`(_3ZJuQd~6w@0Lb18Vlsk=vuDpTFf`bMaC=*u9SDE?P+-Rh6z96GY("JapProjSide"); m_pProjectile = Get_PartObject("JapProjCircle"); + m_pJapFire = Get_PartObject("JapFire"); SAFE_ADDREF(m_pProjectile); SAFE_ADDREF(m_pProjectile_Side); + SAFE_ADDREF(m_pJapFire); m_fDuration = 1.7f; assert(m_fDuration > 0.f); @@ -85,6 +87,7 @@ void CNomalJap::Update(_float fTimeDelta) // 선속도 m_pProjectile_Side->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); m_pProjectile->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); + m_pJapFire->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); //Up벡터 방향으로 파이만큼 이동 @@ -95,6 +98,7 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); + m_pJapFire->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fAccRotateTime) * m_fRotateAmount); // 내 라이트 방향으로 좌우무빙 하도록 해보자 @@ -106,6 +110,7 @@ void CNomalJap::Update(_float fTimeDelta) m_pProjectile_Side->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); + m_pJapFire->Get_Component()->Translation(XMLoadFloat3(&m_vRotateRight) * sinf(m_fAccZigZagTime) * m_fZigZagAmount); XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion()); @@ -130,8 +135,6 @@ void CNomalJap::Late_Update(_float fTimeDelta) _vector vEndPos = m_pProjectile->Get_WorldPostion(); SweepTarget(vStartPos, vEndPos, 0.002f); } - Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); - __super::Late_Update(fTimeDelta); } @@ -150,14 +153,13 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 위치 초기화 */ m_pProjectile->Get_Component()->Set_State(STATE::POSITION, vStartPos); m_pProjectile_Side->Get_Component()->Set_State(STATE::POSITION, vStartPos); + m_pJapFire->Get_Component()->Set_State(STATE::POSITION, vStartPos); /* 초기 객체 비지블 */ m_pProjectile->Set_Visible(true); m_pProjectile_Side->Set_Visible(true); + m_pJapFire->Set_Visible(true); - /*트레일 초기화 */ - Get_PartObject()->Set_Visible(true); - Get_PartObject()->Get_Component()->Reset_Trail(); _uint iIndex = *static_cast<_uint*>(pArg); @@ -297,10 +299,9 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc) m_pProjectile_Side->Set_Visible(false); m_pProjectile->Set_Visible(false); - Get_PartObject("Circle_Particle_Red")->Set_Visible(false); + m_pJapFire->Set_Visible(false); + - Get_PartObject()->Set_Visible(false); - Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); dynamic_cast(m_pOwner->Get_Owner())->Start_CameraShake(0.2f, 1.f); } @@ -310,6 +311,7 @@ void CNomalJap::Free() Safe_Release(m_pProjectile); Safe_Release(m_pProjectile_Side); + SAFE_RELEASE(m_pJapFire); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Editor/Public/NomalJap.h b/Jusin154_Team3D/Editor/Public/NomalJap.h index 9500cb71f..b759ac736 100644 --- a/Jusin154_Team3D/Editor/Public/NomalJap.h +++ b/Jusin154_Team3D/Editor/Public/NomalJap.h @@ -40,8 +40,9 @@ class CNomalJap final : public CEffect_Container , _float4(35.f , 0.f , 0.f , 0.f) , _float4(45.f , 250.f , 35.f , 60.f) }; - class CPartObject* m_pProjectile = {}; - class CPartObject* m_pProjectile_Side = {}; + class CPartObject* m_pProjectile = { nullptr }; + class CPartObject* m_pProjectile_Side = { nullptr }; + class CEditEffect* m_pJapFire = { nullptr }; _float3 m_vRotateUp = {}; _float m_fAccMoveTime = {};