From ddd8e7bc7aa511874eed2601817e8d266aca3064 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Mon, 12 Jan 2026 10:18:42 +0900 Subject: [PATCH 1/2] commit --- Jusin154_Team3D/Client/Default/Client.vcxproj | 2 + .../Client/Default/Client.vcxproj.filters | 15 +- Jusin154_Team3D/Client/Private/Accio.cpp | 17 +- Jusin154_Team3D/Client/Private/AccioSide.cpp | 206 ++++++++++++++++++ Jusin154_Team3D/Client/Private/Decendo.cpp | 86 ++++---- .../Client/Private/DecendoSide.cpp | 24 +- Jusin154_Team3D/Client/Private/EffectPool.cpp | 9 + Jusin154_Team3D/Client/Private/Lightning.cpp | 34 +-- Jusin154_Team3D/Client/Private/Loader.cpp | 5 + .../Client/Private/Player_States.cpp | 5 + Jusin154_Team3D/Client/Private/Revelio.cpp | 43 +++- .../Client/Private/Transformation.cpp | 10 +- .../Client/Private/TransformationSide.cpp | 16 +- Jusin154_Team3D/Client/Public/AccioSide.h | 53 +++++ Jusin154_Team3D/Client/Public/Client_Enum.h | 2 +- Jusin154_Team3D/Client/Public/DecendoSide.h | 3 +- Jusin154_Team3D/Client/Public/Revelio.h | 4 +- .../Client/Public/Transformation.h | 1 + .../Data/Effect/Accio/Accio_Circle.bin | 4 +- .../Data/Effect/Accio/Accio_Hit0.bin | 2 +- .../Resources/Data/Effect/Accio/Accio_PT.bin | 4 +- .../Data/Effect/Accio/Wand_Light.bin | 4 +- .../Data/Effect/AccioSide/Trail_Y.trail | Bin 0 -> 389 bytes .../Data/Effect/AccioSide/Wand_Light_B.bin | 3 + .../Data/Effect/Decendo/Decendo_Circle_S.bin | 4 +- .../Data/Effect/Decendo/Decendo_Down.bin | 4 +- .../Data/Effect/Decendo/Decendo_PT0.bin | 3 - .../Data/Effect/Decendo/Decendo_Red_Blur.bin | 3 + .../Data/Effect/Decendo/Decendo_Ring.bin | 4 +- .../Data/Effect/Decendo/Decendo_Rock_PT.bin | 3 + .../Data/Effect/Decendo/Decendo_Smoke.bin | 4 +- .../Effect/Decendo/Decendo_Wand_Light.bin | 4 +- .../Data/Effect/Decendo/Decendo_Wand_Line.bin | 3 + .../Data/Effect/Decendo/Proj_Trail.trail | Bin 397 -> 419 bytes .../Data/Effect/DecendoSide/Trail_R.trail | Bin 424 -> 424 bytes .../Data/Effect/DecendoSide/Wand_Fire.bin | 3 + .../Data/Effect/DecendoSide/Wand_Light_R.bin | 4 +- .../Goblin/GoblinProtego/ProtegoLay.bin | 4 +- .../Goblin/GoblinProtego/ProtegoSphere.bin | 4 +- .../Data/Effect/Lightning/BottomLightning.bin | 4 +- .../Data/Effect/Lightning/Lightning0.bin | 4 +- .../Data/Effect/Lightning/Lightning1.bin | 3 + .../Effect/Lightning/LightningTrail.trail | Bin 305 -> 0 bytes .../Effect/Lightning/Lightning_Rock_PT.bin | 4 +- .../Bin/Resources/Data/Effect/Lumos/Lumos.bin | 4 +- .../Data/Effect/NPCProtego/ProtegoLay.bin | 4 +- .../Data/Effect/NPCProtego/ProtegoSphere.bin | 4 +- .../Data/Effect/Package/AccioSide.bin | 3 + .../Resources/Data/Effect/Package/Decendo.bin | 4 +- .../Data/Effect/Package/DecendoSide.bin | 4 +- .../Data/Effect/Package/Lightning.bin | 4 +- .../Resources/Data/Effect/Package/Revelio.bin | 4 +- .../Data/Effect/Package/Transformation.bin | 4 +- .../Data/Effect/Revelio/Bottom_PT.bin | 3 + .../Effect/Revelio/Revelio_Distortion.bin | 3 + .../Data/Effect/Revelio/Revelio_Ring.bin | 3 - .../Data/Effect/Revelio/Revelio_ScreenFX.bin | 3 + .../Revelio/Revelio_ScreenFX_Reverse.bin | 3 + .../Data/Effect/Revelio/Revelio_Smoke.bin | 3 + .../Data/Effect/Revelio/WandPT_B.bin | 2 +- .../Data/Effect/Revelio/WandPT_R.bin | 2 +- .../Data/Effect/Revelio/WandPT_Y.bin | 2 +- .../Data/Effect/Revelio/Wand_Light.bin | 3 + .../Data/Effect/Stupefy/Stupefy_PJ.bin | 2 +- .../Data/Effect/Transformation/Hit_PT.bin | 2 +- .../Transformation/Transformation_PJ_PT.bin | 3 + .../Effect/TransformationSide/Trail_Y.trail | Bin 400 -> 389 bytes Jusin154_Team3D/Editor/Private/Decendo.cpp | 64 +++--- .../Editor/Private/DecendoSide.cpp | 18 +- Jusin154_Team3D/Editor/Private/Revelio.cpp | 38 +++- Jusin154_Team3D/Editor/Public/Decendo.h | 1 - Jusin154_Team3D/Editor/Public/DecendoSide.h | 1 + Jusin154_Team3D/Editor/Public/Revelio.h | 2 + 73 files changed, 612 insertions(+), 195 deletions(-) create mode 100644 Jusin154_Team3D/Client/Private/AccioSide.cpp create mode 100644 Jusin154_Team3D/Client/Public/AccioSide.h create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Trail_Y.trail create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Wand_Light_B.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Red_Blur.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Rock_PT.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Line.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Fire.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning1.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/LightningTrail.trail create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/AccioSide.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Bottom_PT.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Distortion.bin delete mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Smoke.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Wand_Light.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Transformation_PJ_PT.bin diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 7c7a70b67..427ce9798 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -237,6 +237,7 @@ call Update_Resources.bat + @@ -540,6 +541,7 @@ call Update_Resources.bat + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 3e0a81312..917e6661f 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -922,7 +922,7 @@ 02.GameObjects\Effect\Effects\Stupefy\StupefySide - + 02.GameObjects\NPC\Hostile\Monster\Ranrok @@ -930,6 +930,9 @@ 04.Mechanic\State\State_Combat\State_Parry + + 02.GameObjects\Effect\Effects\Accio\AccioSide + @@ -1917,10 +1920,13 @@ {b38bbd65-c266-4117-9a36-a0ec4a8377ca} - + {b57b393b-0e6f-47ad-9301-46b8f725a452} + + {0e6d6920-c33c-4202-a2a5-3c883e1d4597} + @@ -2793,11 +2799,14 @@ 02.GameObjects\Effect\Effects\Stupefy\StupefySide - + 04.Mechanic\State\State_Combat\State_Parry + + 02.GameObjects\Effect\Effects\Accio\AccioSide + diff --git a/Jusin154_Team3D/Client/Private/Accio.cpp b/Jusin154_Team3D/Client/Private/Accio.cpp index d3cca9579..399e0b884 100644 --- a/Jusin154_Team3D/Client/Private/Accio.cpp +++ b/Jusin154_Team3D/Client/Private/Accio.cpp @@ -66,7 +66,18 @@ HRESULT CAccio::Initialize(void* pArg) XMStoreFloat4x4(&m_TrailWorld, XMMatrixIdentity()); - m_fDuration = 6.f; + m_fDuration = 4.f; + + m_Events.emplace(2.f, [&]() { + + m_pRope_Trail->Get_Component()->Rope_Fix(true); + + if (m_isDissolve) + m_pRope_Trail->SetDissolve(true); + + m_pRope_Trail->Get_TrailInfo()->fMass = 0.1f; + + }); return S_OK; } @@ -180,8 +191,6 @@ HRESULT CAccio::Pre_Setting(CGameObject* pObject, void* pArg) pCircle->Set_Visible(true); m_pWandLight->Set_Visible(true); - m_pWandLight->Get_Effect_Info()->isDissolve = false; - m_pWandLight->Get_Effect_Info()->isLightDissolve = false; pSpread_Circle->Set_Visible(true); @@ -304,8 +313,6 @@ void CAccio::OnCollision(CGameObject* pOther, void* pDesc) pCircle->Set_Visible(false); pSpread_Circle->Set_Visible(false); - m_pWandLight->Get_Effect_Info()->isDissolve = true; - m_pWandLight->Get_Effect_Info()->isLightDissolve = true; m_pRotate0->Set_Visible(true); m_pRotate1->Set_Visible(true); diff --git a/Jusin154_Team3D/Client/Private/AccioSide.cpp b/Jusin154_Team3D/Client/Private/AccioSide.cpp new file mode 100644 index 000000000..41beb13af --- /dev/null +++ b/Jusin154_Team3D/Client/Private/AccioSide.cpp @@ -0,0 +1,206 @@ +#include "pch.h" +#include "AccioSide.h" + +#include "GameInstance.h" +#include "EffectParts.h" +#include "Player.h" +#include "Wand.h" +#include "TrailObject.h" + + +CAccioSide::CAccioSide(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CAccioSide::CAccioSide(const CAccioSide& rhs) + : CEffect_Container(rhs) +{ +} + +HRESULT CAccioSide::Initialize_Prototype() +{ + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/AccioSide"))) + return E_FAIL; + + return S_OK; + +} + +HRESULT CAccioSide::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + if (FAILED(Create_Effect())) + return E_FAIL; + + m_wstrEffectName = L"AccioSide"; + + + //m_pWandParticle = Get_PartObject("Wand_PT"); + + m_pWandLight = Get_PartObject("Wand_Light_B"); + m_pWandTrail = Get_PartObject(); + + SAFE_ADDREF(m_pWandLight); + SAFE_ADDREF(m_pWandTrail); + //SAFE_ADDREF(m_pWandParticle); + + m_fDuration = 2.f; + + m_Events.emplace(0.8f, [&]() { + m_isParticleEnd = true; + m_pWandTrail->SetDissolve(true); + }); + + return S_OK; +} + +void CAccioSide::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CAccioSide::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + CWand* pWand = static_cast(m_pOwner); + + if (pWand == nullptr) + return; + + + m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + + // 파티클생성이 막히면 실행되지 않음 + //if (m_isParticleEnd == false) + // m_pWandParticle->Get_Component()->Set_WorldMatrix(pWand->Get_WorldMatrix()); + + // 트레일이 종료되면 위치를 고정함 + _matrix TrailMat = m_isTrailEnd ? XMLoadFloat4x4(&m_TrailStopMat) : pWand->Get_WorldMatrix(); + m_pWandTrail->Oneside_Rope_Trail_Update(TrailMat, fTimeDelta); + +} + +void CAccioSide::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CAccioSide::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + CWand* pWand = static_cast(m_pOwner); + + if (pWand == nullptr) + return E_FAIL; + + //m_pWandParticle->Set_Visible(true); + m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고 + + m_pWandLight->Set_Visible(true); + + /*트레일 초기화 */ + m_pWandTrail->Set_Visible(true); + m_isTrailEnd = false; + m_pWandTrail->Get_Component()->Reset_Trail(); + + /*_vector pPos = pPlayer->Get_WandPos().r[3];*/ + + m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + + return S_OK; +} + +HRESULT CAccioSide::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CAccioSide::Ready_Child() +{ + return S_OK; +} + +CAccioSide* CAccioSide::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CAccioSide* pInstance = new CAccioSide(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CAccioSide"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CAccioSide::Clone(void* pArg, CGameObject* pOwner) +{ + CAccioSide* pInstance = new CAccioSide(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CAccioSide"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CAccioSide::OnCollision(CGameObject* pOther, void* pDesc) +{ + ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); + +} + +void CAccioSide::Free() +{ + __super::Free(); + + + Safe_Release(m_pWandLight); + Safe_Release(m_pWandTrail); + //Safe_Release(m_pWandParticle); +} +#ifdef _DEBUG + +void CAccioSide::Describe_Entity() +{ + +} + +#endif // _DEBUG + +HRESULT CAccioSide::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Client/Private/Decendo.cpp b/Jusin154_Team3D/Client/Private/Decendo.cpp index 4ea08497c..8c2793906 100644 --- a/Jusin154_Team3D/Client/Private/Decendo.cpp +++ b/Jusin154_Team3D/Client/Private/Decendo.cpp @@ -24,7 +24,6 @@ CDecendo::CDecendo(const CDecendo& rhs) HRESULT CDecendo::Initialize_Prototype() { - if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Decendo"))) return E_FAIL; @@ -40,11 +39,11 @@ HRESULT CDecendo::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; + if (FAILED(Create_Effect())) return E_FAIL; m_iSkillType = ENUM_CLASS(SKILL_TYPE::DESCENDO); - m_wstrEffectName = L"Decendo"; m_pProjectile_Blur = Get_PartObject("Decendo_Proj_Blur"); @@ -90,7 +89,6 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile_Blur->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fRotateAccTime) * 0.1f); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fRotateAccTime) * 0.1f); - } void CDecendo::Late_Update(_float fTimeDelta) @@ -98,13 +96,12 @@ void CDecendo::Late_Update(_float fTimeDelta) if (m_bVisible == false) return; - Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); + Get_PartObject()->Oneside_Rope_Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion()); _vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos); - if (false == m_bHit) { _vector vStartPos = XMLoadFloat4(&m_vStartPos); _vector vEndPos = XMLoadFloat4(&m_vEndPos); @@ -129,12 +126,15 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) CPartObject* pCircle0 = Get_PartObject(); CPartObject* pWandLight = Get_PartObject("Decendo_Wand_Light"); + CPartObject* pDecendo_Wand_Line = Get_PartObject("Decendo_Wand_Line"); pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + pDecendo_Wand_Line->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pCircle0->Set_Visible(true); pWandLight->Set_Visible(true); + pDecendo_Wand_Line->Set_Visible(true); /* 초기 위치 저장 */ _vector vStartPos = m_pOwner->Get_WorldPostion(); @@ -148,6 +148,7 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 비지블 */ m_pProjectile->Set_Visible(true); m_pProjectile_Blur->Set_Visible(true); + //m_pProjectile_Fire->Set_Visible(true); /*트레일 초기화 */ Get_PartObject()->Set_Visible(true); @@ -158,11 +159,9 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) XMStoreFloat3(&m_vCameraLook, vDirection); - - { /* 대상 위치 지정 */ - m_pInfoInstance->Get_LockOnInfo(m_Info); + if (nullptr != m_Info.pUnit || nullptr != m_Info.pEffect) { XMStoreFloat4(&m_vTargetPos, Get_LockOnPos(m_Info)); @@ -251,55 +250,59 @@ CGameObject* CDecendo::Clone(void* pArg, CGameObject* pOwner) void CDecendo::OnCollision(CGameObject* pOther, void* pDesc) { + + if (m_bHit == false) return; - dynamic_cast(m_pOwner->Get_Owner())->Set_SpellHit(true); - ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); - _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + _vector vHitPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + CCharacter_Controller* pCCT = CollisionDesc.pObject->Get_Component(); + _vector vFootPos = {}; + _vector vHeadPos = {}; + _vector vPos = {}; - for (auto& pPair : m_PartObjects) + if (pCCT != nullptr) { - pPair.second->Set_Visible(true); - pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos); - } + vFootPos = pCCT->Get_FootPosition(); + vPos = pCCT->Get_Position(); + vHeadPos = pCCT->Get_HeadPosition(); + CPartObject* pDecendo_Rock_PT = Get_PartObject("Decendo_Rock_PT"); + CPartObject* pDecendo_Red_Blur = Get_PartObject("Decendo_Red_Blur"); + CPartObject* pDecendo_Down = Get_PartObject("Decendo_Down"); + CPartObject* pDecendo_Ring = Get_PartObject("Decendo_Ring"); + CPartObject* pDecendo_Smoke = Get_PartObject("Decendo_Smoke"); + + pDecendo_Rock_PT->Set_Visible(true); + pDecendo_Rock_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + pDecendo_Red_Blur->Set_Visible(true); + pDecendo_Red_Blur->Get_Component()->Set_State(STATE::POSITION, vPos); + + pDecendo_Down->Set_Visible(true); + pDecendo_Down->Get_Component()->Set_State(STATE::POSITION, vHeadPos); + + pDecendo_Ring->Set_Visible(true); + pDecendo_Ring->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + pDecendo_Smoke->Set_Visible(true); + pDecendo_Smoke->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + + } + m_pProjectile_Blur->Set_Visible(false); m_pProjectile->Set_Visible(false); - - CWand* pWand = static_cast(m_pOwner); - - if (pWand == nullptr) - return; - - CPartObject* pCircle0 = Get_PartObject(); - CPartObject* pWandLight = Get_PartObject("Decendo_Wand_Light"); - - - pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - - pCircle0->Set_Visible(false); - pWandLight->Set_Visible(false); - - _vector vPlayerPos = m_pOwner->Get_Component()->Get_State(STATE::POSITION); - - - - Get_PartObject("Decendo_Down")->Get_Component()->LookAt(vPlayerPos); - Get_PartObject("Decendo_Smoke")->Get_Component()->LookAt(vPlayerPos); - - - Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); Get_PartObject()->Set_Visible(false); + } void CDecendo::Free() @@ -308,12 +311,11 @@ void CDecendo::Free() SAFE_RELEASE(m_pProjectile_Blur); SAFE_RELEASE(m_pProjectile); - } #ifdef _DEBUG void CDecendo::Describe_Entity() { - GUI::Begin("DECENDO", 0, IMGUI_GLOBAL_BEGIN_FLAG); + GUI::Begin("DECENDO"); GUI::InputFloat("Speed", &m_fLinearSpeed); diff --git a/Jusin154_Team3D/Client/Private/DecendoSide.cpp b/Jusin154_Team3D/Client/Private/DecendoSide.cpp index 481332cbf..eac181609 100644 --- a/Jusin154_Team3D/Client/Private/DecendoSide.cpp +++ b/Jusin154_Team3D/Client/Private/DecendoSide.cpp @@ -44,21 +44,19 @@ HRESULT CDecendoSide::Initialize(void* pArg) m_pWandLight = Get_PartObject("Wand_Light_R"); m_pWandTrail = Get_PartObject(); + m_pWand_Fire = Get_PartObject("Wand_Fire"); SAFE_ADDREF(m_pWandLight); SAFE_ADDREF(m_pWandTrail); + SAFE_ADDREF(m_pWand_Fire); m_fDuration = 2.f; - m_Events.emplace(0.6f, [&]() { - CWand* pWand = static_cast(m_pOwner); - if (pWand == nullptr) - return; - - m_isTrailEnd = true; - - XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix()); + m_Events.emplace(0.8f, [&]() { + m_isParticleEnd = true; + m_pWandTrail->SetDissolve(true); + m_pWand_Fire->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f)); }); return S_OK; @@ -87,6 +85,9 @@ void CDecendoSide::Update(_float fTimeDelta) m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + if(m_isParticleEnd == false) + m_pWand_Fire->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + _matrix TrailMat = m_isTrailEnd ? XMLoadFloat4x4(&m_TrailStopMat) : pWand->Get_WorldMatrix(); m_pWandTrail->Trail_Update(TrailMat, fTimeDelta); @@ -114,17 +115,20 @@ HRESULT CDecendoSide::Pre_Setting(CGameObject* pObject, void* pArg) return E_FAIL; m_isTrailEnd = false; + m_isParticleEnd = false; m_pWandLight->Set_Visible(true); + m_pWand_Fire->Set_Visible(true); /*트레일 초기화 */ m_pWandTrail->Set_Visible(true); + m_pWandTrail->Get_Component()->Reset_Trail(); /*_vector pPos = pPlayer->Get_WandPos().r[3];*/ m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - + m_pWand_Fire->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); return S_OK; } @@ -182,6 +186,8 @@ void CDecendoSide::Free() Safe_Release(m_pWandLight); Safe_Release(m_pWandTrail); + Safe_Release(m_pWand_Fire); + } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index 99c5308b9..2e9550d52 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -20,6 +20,7 @@ #include "AvadakedavraSide.h" #include "StupefySide.h" #include "TransformationSide.h" +#include "AccioSide.h" #include "NomalJapSide.h" #include "Lumos.h" @@ -521,6 +522,14 @@ HRESULT CEffectPool::Ready_Effect() return pEffect; } ))) return E_FAIL; + if (FAILED(Create_Effect(SKILL_TYPE::ACCIO_SIDE, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { + + CAccioSide* pEffect = nullptr; + + pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); + + return pEffect; } + ))) return E_FAIL; return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Lightning.cpp b/Jusin154_Team3D/Client/Private/Lightning.cpp index 00fde485b..3f41eee83 100644 --- a/Jusin154_Team3D/Client/Private/Lightning.cpp +++ b/Jusin154_Team3D/Client/Private/Lightning.cpp @@ -109,6 +109,7 @@ HRESULT CLightning::Pre_Setting(CGameObject* pObject, void* pArg) CPartObject* pHitPT0 = Get_PartObject("HitPT0"); CPartObject* pLightning_Tornado_PT = Get_PartObject("Lightning_Tornado_PT"); CPartObject* pLightning0 = Get_PartObject("Lightning0"); + CPartObject* pLightning1 = Get_PartObject("Lightning1"); CPartObject* pStart_Line = Get_PartObject("Start_Line"); CPartObject* pLightning_Smoke = Get_PartObject("Lightning_Smoke"); CPartObject* pLightning_Rock_PT = Get_PartObject("Lightning_Rock_PT"); @@ -124,13 +125,25 @@ HRESULT CLightning::Pre_Setting(CGameObject* pObject, void* pArg) m_pInfoInstance->Get_LockOnInfo(m_Info); if (nullptr != m_Info.pUnit || nullptr != m_Info.pEffect) { - XMStoreFloat4(&m_vTargetPos, Get_LockOnPos(m_Info)); + _vector vLockOnPos = Get_LockOnPos(m_Info); + + CCharacter_Controller* pCCT = m_Info.pUnit->Get_Component(); + + if (pCCT != nullptr) + { + _float fYHeight = XMVectorGetY(pCCT->Get_FootPosition()) - pCCT->Get_Volume().y * 2.f + pCCT->Get_Volume().x * 2.f; + //_float fYHeight = XMVectorGetY(m_Info.pUnit->Get_Component()->Get_State(STATE::POSITION)); + vLockOnPos = XMVectorSetY(vLockOnPos, fYHeight); + } + + XMStoreFloat4(&m_vTargetPos, vLockOnPos); + XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos))); } else { // 타겟이 없다면 현재위치 -> 카메라 룩벡터 * duration간 예상 이동거리 를 대상으로 지정 - XMStoreFloat4(&m_vTargetPos, vStartPos + vDirection * m_fLinearSpeed * 0.5f); + XMStoreFloat4(&m_vTargetPos, vStartPos + vDirection * m_fLinearSpeed * 10.f); } } @@ -139,18 +152,20 @@ HRESULT CLightning::Pre_Setting(CGameObject* pObject, void* pArg) pHitPT0->Set_Visible(true); pLightning_Tornado_PT->Set_Visible(true); pLightning0->Set_Visible(true); + pLightning1->Set_Visible(true); pStart_Line->Set_Visible(true); pLightning_Smoke->Set_Visible(true); - //pLightning_Rock_PT->Set_Visible(true); + pLightning_Rock_PT->Set_Visible(true); pBottomLightning->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pFlare->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pHitPT0->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pLightning_Tornado_PT->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pLightning0->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); + pLightning1->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pStart_Line->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); pLightning_Smoke->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); - //pLightning_Rock_PT->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); + pLightning_Rock_PT->Get_Component()->Set_State(STATE::POSITION, XMLoadFloat4(&m_vTargetPos)); m_fDistance = XMVectorGetX(XMVector3Length(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos))); @@ -210,17 +225,6 @@ void CLightning::OnCollision(CGameObject* pOther, void* pDesc) _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); - for (auto& pPair : m_PartObjects) - { - pPair.second->Set_Visible(true); - pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos); - } - - CWand* pWand = static_cast(m_pOwner); - - if (pWand == nullptr) - return; - } diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index ee31c1eb1..9fb6f1052 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -190,6 +190,7 @@ #include "DecendoSide.h" #include "BombardSide.h" #include "LeviosoSide.h" +#include "AccioSide.h" #include "TransformationSide.h" #include "AvadakedavraSide.h" @@ -2606,6 +2607,10 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CAccioSide::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CStupefySide::Create(m_pDevice, m_pContext)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index db4a012bb..3555fb810 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -2895,9 +2895,14 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) break; case ENUM_CLASS(SKILL_TYPE::ACCIO): + Add_Event(AnimIndex, [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::ACCIO, this); }, fRatio); + + Add_Event(AnimIndex, + [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::ACCIO_SIDE, Get_PartObject()); }, + 0.f); Info.pText = TEXT("아씨오!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); break; diff --git a/Jusin154_Team3D/Client/Private/Revelio.cpp b/Jusin154_Team3D/Client/Private/Revelio.cpp index 118d337b9..4863ab2c2 100644 --- a/Jusin154_Team3D/Client/Private/Revelio.cpp +++ b/Jusin154_Team3D/Client/Private/Revelio.cpp @@ -18,7 +18,6 @@ CRevelio::CRevelio(const CRevelio& rhs) HRESULT CRevelio::Initialize_Prototype() { - if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Revelio"))) return E_FAIL; @@ -41,10 +40,12 @@ HRESULT CRevelio::Initialize(void* pArg) m_pRevelioPT_Y = Get_PartObject("WandPT_Y"); m_pRevelioPT_B = Get_PartObject("WandPT_B"); m_pRevelioPT_R = Get_PartObject("WandPT_R"); + m_pWand_Light = Get_PartObject("Wand_Light"); SAFE_ADDREF(m_pRevelioPT_Y); SAFE_ADDREF(m_pRevelioPT_B); SAFE_ADDREF(m_pRevelioPT_R); + SAFE_ADDREF(m_pWand_Light); m_wstrEffectName = L"Revelio"; @@ -69,7 +70,7 @@ void CRevelio::Update(_float fTimeDelta) __super::Update(fTimeDelta); Update_Event(fTimeDelta); - + CPlayer* pPlayer = static_cast(m_pOwner); if (pPlayer == nullptr) @@ -82,6 +83,7 @@ void CRevelio::Update(_float fTimeDelta) m_pRevelioPT_Y->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_R->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_B->Get_Component()->Set_WorldMatrix(WandWorld); + m_pWand_Light->Get_Component()->Set_WorldMatrix(WandWorld); } @@ -97,10 +99,9 @@ void CRevelio::Late_Update(_float fTimeDelta) HRESULT CRevelio::Pre_Setting(CGameObject* pObject, void* pArg) { - if (FAILED(__super::Pre_Setting(pObject))) + if (FAILED(__super::Pre_Setting(pObject, nullptr))) return E_FAIL; - CPlayer* pPlayer = static_cast(m_pOwner); if (pPlayer == nullptr) @@ -113,15 +114,43 @@ HRESULT CRevelio::Pre_Setting(CGameObject* pObject, void* pArg) m_pRevelioPT_Y->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_R->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_B->Get_Component()->Set_WorldMatrix(WandWorld); + m_pWand_Light->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_Y->Set_Visible(true); m_pRevelioPT_R->Set_Visible(true); m_pRevelioPT_B->Set_Visible(true); + m_pWand_Light->Set_Visible(true); - Get_PartObject("Revelio_Ring")->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); - Get_PartObject("Revelio_Ring")->Set_Visible(true); + CEffectParts* pRevelio_ScreenFX = Get_PartObject("Revelio_ScreenFX"); + CEffectParts* pRevelio_ScreenFX_Reverse = Get_PartObject("Revelio_ScreenFX_Reverse"); + CEffectParts* pRevelio_Smoke = Get_PartObject("Revelio_Smoke"); + CEffectParts* pRevelio_Distortion = Get_PartObject("Revelio_Distortion"); + CEffectParts* pBottom_PT = Get_PartObject("Bottom_PT"); + pRevelio_ScreenFX->Set_Visible(true); + pRevelio_ScreenFX_Reverse->Set_Visible(true); + pRevelio_Smoke->Set_Visible(true); + pRevelio_Distortion->Set_Visible(true); + pBottom_PT->Set_Visible(true); + + + CCharacter_Controller* pCCT = m_pOwner->Get_Component(); + + _vector vFootPos = {}; + _vector vPos = {}; + + if (pCCT != nullptr) + { + vFootPos = pCCT->Get_FootPosition(); + vPos = pCCT->Get_Position(); + + pRevelio_Smoke->Get_Component()->Set_State(STATE::POSITION, vFootPos); + pBottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos); + pRevelio_Distortion->Get_Component()->Set_State(STATE::POSITION, vPos); + + + } return S_OK; } @@ -186,7 +215,7 @@ void CRevelio::Free() SAFE_RELEASE(m_pRevelioPT_Y); SAFE_RELEASE(m_pRevelioPT_B); SAFE_RELEASE(m_pRevelioPT_R); - + SAFE_RELEASE(m_pWand_Light); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Transformation.cpp b/Jusin154_Team3D/Client/Private/Transformation.cpp index 5f91c5a19..200b7c895 100644 --- a/Jusin154_Team3D/Client/Private/Transformation.cpp +++ b/Jusin154_Team3D/Client/Private/Transformation.cpp @@ -44,7 +44,10 @@ HRESULT CTransformation::Initialize(void* pArg) m_wstrEffectName = L"Transformation"; m_pTransformation_PJ = Get_PartObject("Transformation_PJ"); + m_pTransformation_PJ_PT = Get_PartObject("Transformation_PJ_PT"); + SAFE_ADDREF(m_pTransformation_PJ); + SAFE_ADDREF(m_pTransformation_PJ_PT); m_fDuration = 3.5f; @@ -70,7 +73,7 @@ void CTransformation::Update(_float fTimeDelta) CTransform* pPJTransform = m_pTransformation_PJ->Get_Component(); pPJTransform->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed); - + m_pTransformation_PJ_PT->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed); } @@ -108,6 +111,7 @@ HRESULT CTransformation::Pre_Setting(CGameObject* pObject, void* pArg) m_pTransformation_PJ->Get_Effect_Info()->isDissolve = false; m_pTransformation_PJ->Set_Visible(true); + m_pTransformation_PJ_PT->Set_Visible(true); CEffectParts* pWand_Distortion = Get_PartObject("Wand_Distortion"); CEffectParts* pWand_Light = Get_PartObject("Wand_Light"); @@ -120,6 +124,7 @@ HRESULT CTransformation::Pre_Setting(CGameObject* pObject, void* pArg) pWand_Distortion->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pWand_Light->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pWand_PT->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + m_pTransformation_PJ_PT->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); _vector vDirection = m_pOwner->Get_Component()->Get_State(STATE::LOOK); XMStoreFloat3(&m_vCameraLook, vDirection); @@ -257,6 +262,7 @@ void CTransformation::OnCollision(CGameObject* pOther, void* pDesc) pHit_Light->Get_Component()->Set_State(STATE::POSITION, vHitPos); pHit_PT->Get_Component()->Set_State(STATE::POSITION, vHitPos); + m_pGameInstance->BillBoard(pHit_PT->Get_Component()); pHit_Light->Set_Visible(true); pHit_PT->Set_Visible(true); @@ -282,7 +288,7 @@ void CTransformation::Free() __super::Free(); Safe_Release(m_pTransformation_PJ); - + Safe_Release(m_pTransformation_PJ_PT); } #ifdef _DEBUG void CTransformation::Describe_Entity() diff --git a/Jusin154_Team3D/Client/Private/TransformationSide.cpp b/Jusin154_Team3D/Client/Private/TransformationSide.cpp index abd658bd0..b4d6210ac 100644 --- a/Jusin154_Team3D/Client/Private/TransformationSide.cpp +++ b/Jusin154_Team3D/Client/Private/TransformationSide.cpp @@ -43,6 +43,7 @@ HRESULT CTransformationSide::Initialize(void* pArg) //m_pWandParticle = Get_PartObject("Wand_PT"); + m_pWandLight = Get_PartObject("Wand_Light_B"); m_pWandTrail = Get_PartObject(); @@ -52,18 +53,9 @@ HRESULT CTransformationSide::Initialize(void* pArg) m_fDuration = 2.f; - m_Events.emplace(0.6f, [&]() { + m_Events.emplace(0.8f, [&]() { m_isParticleEnd = true; - //m_pWandParticle->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f)); - - CWand* pWand = static_cast(m_pOwner); - - if (pWand == nullptr) - return; - - m_isTrailEnd = true; - - XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix()); + m_pWandTrail->SetDissolve(true); }); return S_OK; @@ -99,7 +91,7 @@ void CTransformationSide::Update(_float fTimeDelta) // 트레일이 종료되면 위치를 고정함 _matrix TrailMat = m_isTrailEnd ? XMLoadFloat4x4(&m_TrailStopMat) : pWand->Get_WorldMatrix(); - m_pWandTrail->Trail_Update(TrailMat, fTimeDelta); + m_pWandTrail->Oneside_Rope_Trail_Update(TrailMat, fTimeDelta); } diff --git a/Jusin154_Team3D/Client/Public/AccioSide.h b/Jusin154_Team3D/Client/Public/AccioSide.h new file mode 100644 index 000000000..72b5784c0 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/AccioSide.h @@ -0,0 +1,53 @@ +#pragma once + +#include "Client_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Client) + +class CAccioSide final : public CEffect_Container +{ +private: + CAccioSide(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CAccioSide(const CAccioSide& rhs); + virtual ~CAccioSide() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + + _bool m_isParticleEnd = {}; + _bool m_isTrailEnd = {}; + _float4x4 m_TrailStopMat = {}; + + class CEffectParts* m_pWandLight = { nullptr }; + class CTrailObject* m_pWandTrail = { nullptr }; + //class CEffectParts* m_pWandParticle = { nullptr }; + +public: + static CAccioSide* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG + void Describe_Entity() override; +#endif // _DEBUG +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 917b29b23..808ce6e23 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -72,7 +72,7 @@ namespace Client PROTEGO_HIT, DUELIST_PROTEGO_HIT , GOBLIN_PROTEGO_HIT, /*사이드*/ - JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE, STUPEFY_SIDE, + JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE, STUPEFY_SIDE, ACCIO_SIDE, /*트롤*/ TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, GOBLIN_PROTEGO, diff --git a/Jusin154_Team3D/Client/Public/DecendoSide.h b/Jusin154_Team3D/Client/Public/DecendoSide.h index 8901151b6..b1ddc9ce8 100644 --- a/Jusin154_Team3D/Client/Public/DecendoSide.h +++ b/Jusin154_Team3D/Client/Public/DecendoSide.h @@ -35,10 +35,11 @@ class CDecendoSide final : public CEffect_Container _bool m_isTrailEnd = {}; _float4x4 m_TrailStopMat = {}; + _bool m_isParticleEnd = {}; class CEffectParts* m_pWandLight = { nullptr }; class CTrailObject* m_pWandTrail = { nullptr }; - + class CEffectParts* m_pWand_Fire = { nullptr }; public: static CDecendoSide* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; diff --git a/Jusin154_Team3D/Client/Public/Revelio.h b/Jusin154_Team3D/Client/Public/Revelio.h index 32f224ab0..3e48f48d0 100644 --- a/Jusin154_Team3D/Client/Public/Revelio.h +++ b/Jusin154_Team3D/Client/Public/Revelio.h @@ -32,11 +32,11 @@ class CRevelio final : public CEffect_Container virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; private: _wstring m_wstrEffectName = {}; - class CPlayer* m_pPlayer = {}; + class CPlayer* m_pPlayer = {}; class CEffectParts* m_pRevelioPT_Y = { nullptr }; class CEffectParts* m_pRevelioPT_B = { nullptr }; class CEffectParts* m_pRevelioPT_R = { nullptr }; - + class CEffectParts* m_pWand_Light = { nullptr }; public: static CRevelio* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; diff --git a/Jusin154_Team3D/Client/Public/Transformation.h b/Jusin154_Team3D/Client/Public/Transformation.h index f543872be..1a018bcb8 100644 --- a/Jusin154_Team3D/Client/Public/Transformation.h +++ b/Jusin154_Team3D/Client/Public/Transformation.h @@ -36,6 +36,7 @@ class CTransformation final : public CEffect_Container private: _wstring m_wstrEffectName = {}; class CEffectParts* m_pTransformation_PJ = { nullptr }; + class CEffectParts* m_pTransformation_PJ_PT = { nullptr }; _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치 _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle.bin index 27eb22b7a..4e97dd107 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9794013a035a76fdf79fcd30a2613587e5070faa3f20b2d8ff1b4f47d424a4b -size 1213 +oid sha256:9b99b36de0de4eef400ed778a5b4e6200a1660097afded0b0ebe8999707b18b9 +size 1253 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Hit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Hit0.bin index dbdb78591..4b9130996 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Hit0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Hit0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:176329508cfbef669f65fae151f6392051a746667799ccd07faaedcb2f5e8f64 +oid sha256:f966b2d82171e30a472c8b8253c15930a0d0b5b194a2dee9ba9083e660affbb9 size 1186 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin index c27ee694a..151a49755 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c4a57f446eda69fbd34f391fa68a82a46ea5dd296e73fac4927387d19454cc91 -size 1149 +oid sha256:3fbf2e05a5edbe032062221c076dd6d9104e615acbf8e166755ecd6855ae11d2 +size 1207 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Wand_Light.bin index 9b67aa64f..7fa901f2a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d814ab9201bdef7ae4b9058e392da7bf389903f7f0eab11a16c78d11041415e3 -size 1187 +oid sha256:881daecc8e50c07fed54580556949fbb8f0dbc6927e902f792c93cb750d8cfc7 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Trail_Y.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Trail_Y.trail new file mode 100644 index 0000000000000000000000000000000000000000..43f85df9305956ecf22af37b8fa6e20ca3aaced6 GIT binary patch literal 389 zcmZQzfB;1(9Z-~Cl3!9;kQyJ7T2WG3lo}uA77-s3?_89aoL%f1@4}!;K&5A1c6@kd zaY4L+5m2=O0oCqBi7A<>c_m?~MJ1WZi8=AkIf=OiK#d@9_RJYusD2Q8FNn&Y z%fQfJzb7ijzVDsA{ewG?><%9~WXA{=2PtT<2dV?B0f`wK8{31#Kr#>jVIThb!VV%1 z;=?dZ4T5F_T8O0oZ1VvxJ0^rQg9DJw4#ccL40NX**L7tZ5C(EV0Lfm602+A~06qO$ A=l}o! literal 0 HcmV?d00001 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Wand_Light_B.bin new file mode 100644 index 000000000..f1532176e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/AccioSide/Wand_Light_B.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98e9c7f5ee1a647aad6e4c5ad77f78e9cb939c7a5dfa58771725b7da4933cc8b +size 1153 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin index c4cc976e1..0f9049321 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:13b514d4a7314f32775fbad8ac581294b69142834502a3c86b98b8fae7159ac5 -size 1209 +oid sha256:5187dcaa92ed304e2f1787ce23dbbad34d016fd0b239f357082dfe3016e66016 +size 1253 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin index e6d7a24b9..e0e908774 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:95bd3e54e07320b30e06faf79376c22599633019e5c6283abcac56623c483baa -size 1216 +oid sha256:174298b179b4a064bde526017f4df8d4bbc6af02b7d38c58e5a1cd43b075fb3d +size 1261 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin deleted file mode 100644 index 28a7edfb4..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42804e44173b841e0dac548498a6b766808931d5534583a8586c7726c3793e75 -size 1174 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Red_Blur.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Red_Blur.bin new file mode 100644 index 000000000..7865a99df --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Red_Blur.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:307f75f7972b3c8918f413a4523fad79c31a5b2f7838d4bb4cfc63449ff4c64b +size 1158 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin index 0af7227d1..c8bb68cf5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c51a3ba982b380a228c9117e0fb9cae1494d635d8745b3c95928785c8888279 -size 1156 +oid sha256:86063c7ad44d14b6bfe9040464f77bff0a26f1ec66bf36ac5e853cdbe33dbe0a +size 1153 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Rock_PT.bin new file mode 100644 index 000000000..476db78d9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Rock_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:840afb67b113e8c846db2146215e3489d5401a83bc59fab8ad0facc9a272ceb7 +size 1186 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin index 976f2a00d..f98ec0fb3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da2e17868dbe73e7e5af16e6582751ae3d44dcc97dd62c21a80e67656520d941 -size 1162 +oid sha256:2d86bd61de414c07e7aa60cb8219759a7da5598df66a8d7141a9540203251b3b +size 1196 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin index bf27051ca..71f07db0e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f0296fdc4aa15e1920d0e4e1150b596d3c59bf1e3a5ee12cf00b2a590734b47a -size 1299 +oid sha256:b3766c2e69ab5feae1eb65fbb95b3bcbfedaecea9d06b43e5ed53aaf1a05f3c2 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Line.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Line.bin new file mode 100644 index 000000000..c587bbf5f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Line.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d8bf87228d1c9977b2116ba884061c04973b5696f338210350e1c0300f9bc41 +size 1192 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Proj_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Proj_Trail.trail index 91ae919416d304a9ebe47419d7fc6db34e03754d..a40564b1847dfe1e67abdfdcc16000a99597c9f7 100644 GIT binary patch delta 131 zcmeBWUd+s>FwtI~D=$B@IMp=Xg+Uj{o2Vhir~;(35)-ea>M$}eoMk`*4M09S5VHdD*)wNsxvneQfbir* IMs>!s04BX5e*gdg delta 128 zcmZ3?+{?_#00p`e8RaK>iZL1hX({)j#FWg`yb`C>#9WX3qRguNypqJ6cozmmpe(yv zW>IQEV&23p>il5^74~UUf7^mE14F~aSE;f<^UlHyh0}}-4D3J->*Pj8#mN⋙+qU E0CUP83IG5A diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Trail_R.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Trail_R.trail index 91892cc7f23a69597968a80031a02d2b9e20c329..7416a36a907b71f40beea521b3d966240ff61bb1 100644 GIT binary patch delta 35 ocmZ3%yn=ZH2O~>*nwtG&9>xrwvuDoOa$Q%p0pZDojOvVM0mvB(b^rhX delta 26 icmZ3%yn=ZH2O~>V=vBMPJd7EWTNsrmPhb>aJPQDBTL>Ef diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Fire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Fire.bin new file mode 100644 index 000000000..ba4288955 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Fire.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcf53db5f6ae66aa1c1c53570c4c29b0461b5fc93ba88eb0682199128a6af789 +size 1202 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin index 9605e9512..8f6538dc5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a112ccc0f90259222c3723f490f47f7753afda0683ff68332a2ca2c020ec4adb -size 1200 +oid sha256:4861ad8ee602d6d85983874b99a14e2fbf534426fe5f8867fa1a35e52b064be7 +size 1198 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin index c93c69a1a..4213fca60 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoLay.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d35e96ef4cec61733caa7b90101eed6fa320f144d5b8f4141521658e6c401c9f -size 1238 +oid sha256:028981d804f9832afe880942dcf3d24bb069e8bd928c7e09265810c9adfef0ba +size 1202 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin index 3d55bfec7..aee30218b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinProtego/ProtegoSphere.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:51b9af9d2826a82ab2784cd6b72221ddc3f9a196fbc36962dc4729478c7557d5 -size 1160 +oid sha256:31508b23f35c1ec71bcfbeb87ef87b8e067391ec24efd8a9495025ea55d14337 +size 1152 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin index e1acabd7a..7f0d2568d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/BottomLightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:853b2d298e52877fe66c5ecfb54fedfafe29f2541ae623d2592ff20da6a34f60 -size 1185 +oid sha256:4e85d9b3ac4015fa2587ef626587c8b16d8f8a1c841dbf40cfbe01cb02767dfd +size 1211 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin index 181e7d79c..0ec0ec564 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ab6d0d2876e2822e49f66453ff497db192e3d18d233cb124301527d676884fe1 -size 1141 +oid sha256:6c53b1e675d7a063539db06dab42bb209c1d95cf30daf2e02dfd72e47642f0c9 +size 1154 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning1.bin new file mode 100644 index 000000000..e3a24e320 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f800b1b83b7b6d16682b41d6d2ee8392a250716766e641a5e59f59e5397ed6f5 +size 1154 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/LightningTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/LightningTrail.trail deleted file mode 100644 index 5e668484477cf7757601400142f17af97294a77c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 305 zcmZQzKm{sLZa`6fNq$LXL27(RYDGzDQEGgcTSRx|0jP2<&K45o26yYS#0szmVFiZdd diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning_Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning_Rock_PT.bin index 42b41e352..16f014796 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning_Rock_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lightning/Lightning_Rock_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23080611a023b28998cb400c8015bff849ab06bcee7f090f59fe1a10726ee2d5 -size 1151 +oid sha256:1d7bc94928e99caf2e9ca575b1f7eb1651eca26476b6104555ce3d492779d8cb +size 1188 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin index ffaab5e39..3732ffe7a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff1990b32cd770dac906aa742fb4dff9b510ec3eba0841d6e0d29b4ce0f28fbf -size 1200 +oid sha256:8100d7b5b4119c04eeecfd020d17a34135019b25fa2a5496189f61d039b8f380 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin index 869955ca3..b470b4188 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoLay.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:834f86a71e3e16529a70114b7fafd4b891502f550a091bfc230f72a47d4256f7 -size 1238 +oid sha256:f29e7cec579177962fda34974b3b56d4454be4de80e3979553fb81838af99585 +size 1202 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin index e0e81d640..ee28b1d82 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/NPCProtego/ProtegoSphere.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:473ce1eeaa239aef55be2dfb73aaaeff61c6c3b566c152bed0c3e2b0a6a8588c -size 1160 +oid sha256:c23f4b98e7e0c473754733ec9f37f8d5d620e7c5ef5fdfaed19fa4c0f207efcc +size 1152 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/AccioSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/AccioSide.bin new file mode 100644 index 000000000..af95a657e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/AccioSide.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a03213a7d590f0eed660ae00c4fe7cd5555235be68b4c34165c8f8cca1d35d1 +size 129 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Decendo.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Decendo.bin index b6ebfcd4a..2fbeeaa5f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Decendo.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Decendo.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8829fbed6a4a80327c0d69dc2f8e8b7ebdab3bd5160e5e99cbc4a6e5881b8958 -size 577 +oid sha256:dcad37c05da7c2bda722a74a9ec3ad4ab559861b556da4b181440fa3c165ef38 +size 714 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/DecendoSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/DecendoSide.bin index 4876af65f..fa8eee62b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/DecendoSide.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/DecendoSide.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:35e40c07675c79a0e8b21779d8401a335631589ebb4cc86ee04552bc2386e12b -size 133 +oid sha256:89f8674e0a15e6b7c7866f9666076f5349b15e202a79e0ae47ea7dc93872063f +size 196 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Lightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Lightning.bin index ba832cd89..01be9eb8d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Lightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Lightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:21bcfe9b297b0aa4f00976963839e2ad0ea29c4a16b0259720b988c7ac44c647 -size 586 +oid sha256:3085b9f245739d5fdc8caa1c20d89120addbb918fc3e946340c670cfe8e19de0 +size 580 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Revelio.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Revelio.bin index 4c8852970..9779d8a20 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Revelio.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Revelio.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:361c1b52fd37940363fcd6713e1d77401a655af5c27d3b9f4f47ea116cb5379d -size 240 +oid sha256:b43fff3a5f758adbb0fd8bb2f7ddeefe805cb5ddb1ed61e0def98e314e3664ef +size 568 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Transformation.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Transformation.bin index 3c4af65dd..d8bef51ff 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Transformation.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Transformation.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52536d034b3795f665a0ba839cc3b517ea1b15a41e740c0c3d22a0b410c7f62c -size 676 +oid sha256:1911312baa29ce9e67c94c3210f561dfbc870a39785b891693a420e49d2c36b3 +size 753 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Bottom_PT.bin new file mode 100644 index 000000000..f79b63444 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Bottom_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2332439c61a824dec1973def42ab2e99b49c2509251e6f7a8a0e65d54de772a4 +size 1209 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Distortion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Distortion.bin new file mode 100644 index 000000000..3bb16a0e6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Distortion.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a18e95f30ac96930888cd8c14cc2ca64519c66f8316bb6d382b640ce6932d0f +size 1244 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin deleted file mode 100644 index 6c51e6997..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2896c514480d951e5bc37b6344b283581d641850289dd797695b8d93676ecf15 -size 1233 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin new file mode 100644 index 000000000..87782589c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d0457c7ae01b3e01651da8a09c564e366ff6ba2ed20557fad0794f89617e7c6 +size 1111 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin new file mode 100644 index 000000000..436d643f8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX_Reverse.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc5728c2f4120da79b34554b4c08999485481dad9f67be2f2fb4cb072c1c8367 +size 1111 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Smoke.bin new file mode 100644 index 000000000..2a1f9d141 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1975b4673bdcd7d49336d478bbc2086346c938b4ad1f11790f73418f21ed88ba +size 1236 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin index 22f00a9e0..9c64d4de4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c45f0d5f0b8f60679739d2cecad037407c9d7b1f0cd29dc6daed268ba57cf09f +oid sha256:ca31efeaf41e65eed23af11852b4cbaf1d05785b69f38faa40fe3a07de0ba8d5 size 1179 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin index 4a0eefa7e..158b437a9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7084eb7f0ec12ce9f2729410bedb2731208aaf70decded64c26321e582a01782 +oid sha256:1b35aa4f62b27b2c8ecc56089616d80eb404f7ff27a1238a3df2badff40242a6 size 1179 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin index 6adfb0ecc..b1047309c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c9afef12d8f577cbb68fcc55b589193ff4eaaabc6fc62f1ece038c58531ef551 +oid sha256:f01cda8b225aaeb963742461b8020845b354cfa94f855726aee73581d64775f1 size 1179 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Wand_Light.bin new file mode 100644 index 000000000..f57040a53 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Wand_Light.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98b317b192cf09fbc75360aa394f9a99f865fceb1cc8f17c7b63c2411a057c48 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin index b66edb0ea..0693b7c22 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:264978b7dcde1ac9015818f70f0e500fc72df11a5837a6ee51b01b5df447d601 +oid sha256:eaa5ee083d0e81617f3f0b8e0866ea34c8eb45cdd3c6320204e7fe75bdd4ad10 size 1239 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Hit_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Hit_PT.bin index 87c925ef0..d86586d84 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Hit_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Hit_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:816b423153d5f8f7f920cc51d2d9ad207425ffe66b8318c81b552644d2477ba7 +oid sha256:b8744461c1310c73b8e1c7ef7007fd25bc23293e4a9372533834348cecf61e0e size 1214 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Transformation_PJ_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Transformation_PJ_PT.bin new file mode 100644 index 000000000..4b04ead8a --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Transformation/Transformation_PJ_PT.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5fbf0247cd5de10c64c7050172e285c48ec9f35f670157d83c3ad2f3a6b0932 +size 1244 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/TransformationSide/Trail_Y.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/TransformationSide/Trail_Y.trail index 17458e0ca601d9d5f4fc47599d54a84e5cd3f5ee..43f85df9305956ecf22af37b8fa6e20ca3aaced6 100644 GIT binary patch delta 112 zcmbQh+{!$`h*5Q7jy$(#UUqzVW^qBhfzd>L?TM4cdC%A~K*8BFXC`h}6^HN|>=_vt v&N46n>9c3g8XFr={2Z&`0F+|~VpbpqstP(Nn*~#SSMZ|TLvgNd&Xzt8dY(w>&kZ57Z*4% rGBBKFU}&&sJbU(Rc&O;a7qOfSKrwcpYSzhuj3Sd27+JC621Zr@f4m+3 diff --git a/Jusin154_Team3D/Editor/Private/Decendo.cpp b/Jusin154_Team3D/Editor/Private/Decendo.cpp index 910a278d6..cc40ef351 100644 --- a/Jusin154_Team3D/Editor/Private/Decendo.cpp +++ b/Jusin154_Team3D/Editor/Private/Decendo.cpp @@ -48,7 +48,7 @@ HRESULT CDecendo::Initialize(void* pArg) SAFE_ADDREF(m_pProjectile_Blur); SAFE_ADDREF(m_pProjectile); - + \ m_fDuration = 3.5f; return S_OK; @@ -75,7 +75,6 @@ void CDecendo::Update(_float fTimeDelta) // 선속도 m_pProjectile_Blur->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); m_pProjectile->Get_Component()->Translation(vDirection * m_fLinearSpeed * fTimeDelta); - //Up벡터 방향으로 파이만큼 이동 if (m_fRotateAccTime > XM_2PI) @@ -86,7 +85,6 @@ void CDecendo::Update(_float fTimeDelta) m_pProjectile_Blur->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fRotateAccTime) * 0.1f); m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vRotateUp) * sinf(m_fRotateAccTime) * 0.1f); - } void CDecendo::Late_Update(_float fTimeDelta) @@ -94,7 +92,7 @@ void CDecendo::Late_Update(_float fTimeDelta) if (m_bVisible == false) return; - Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); + Get_PartObject()->Oneside_Rope_Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion()); @@ -124,12 +122,15 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) CPartObject* pCircle0 = Get_PartObject(); CPartObject* pWandLight = Get_PartObject("Decendo_Wand_Light"); + CPartObject* pDecendo_Wand_Line = Get_PartObject("Decendo_Wand_Line"); pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + pDecendo_Wand_Line->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); pCircle0->Set_Visible(true); pWandLight->Set_Visible(true); + pDecendo_Wand_Line->Set_Visible(true); /* 초기 위치 저장 */ _vector vStartPos = m_pOwner->Get_WorldPostion(); @@ -143,6 +144,7 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg) /* 초기 객체 비지블 */ m_pProjectile->Set_Visible(true); m_pProjectile_Blur->Set_Visible(true); + //m_pProjectile_Fire->Set_Visible(true); /*트레일 초기화 */ Get_PartObject()->Set_Visible(true); @@ -250,39 +252,48 @@ void CDecendo::OnCollision(CGameObject* pOther, void* pDesc) ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc); - _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + _vector vHitPos = XMLoadFloat4(&CollisionDesc.vWorldPos); + CCharacter_Controller* pCCT = CollisionDesc.pObject->Get_Component(); + _vector vFootPos = {}; + _vector vPlayerPos = m_pOwner->Get_Component()->Get_State(STATE::POSITION); - for (auto& pPair : m_PartObjects) + if (pCCT != nullptr) { - pPair.second->Set_Visible(true); - pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos); + vFootPos = pCCT->Get_FootPosition(); } + + CPartObject* pDecendo_Rock_PT = Get_PartObject("Decendo_Rock_PT"); + CPartObject* pDecendo_Red_Blur = Get_PartObject("Decendo_Red_Blur"); + CPartObject* pDecendo_Down = Get_PartObject("Decendo_Down"); + CPartObject* pDecendo_Ring = Get_PartObject("Decendo_Ring"); + CPartObject* pDecendo_Smoke = Get_PartObject("Decendo_Smoke"); + + pDecendo_Rock_PT->Set_Visible(true); + pDecendo_Rock_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + pDecendo_Red_Blur->Set_Visible(true); + pDecendo_Red_Blur->Get_Component()->Set_State(STATE::POSITION, vPlayerPos); + + pDecendo_Down->Set_Visible(true); + pDecendo_Down->Get_Component()->Set_State(STATE::POSITION, vPlayerPos); + + pDecendo_Ring->Set_Visible(true); + pDecendo_Ring->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + pDecendo_Smoke->Set_Visible(true); + pDecendo_Smoke->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + + + m_pProjectile_Blur->Set_Visible(false); m_pProjectile->Set_Visible(false); - CWand* pWand = static_cast(m_pOwner); - - if (pWand == nullptr) - return; - - CPartObject* pCircle0 = Get_PartObject(); - CPartObject* pWandLight = Get_PartObject("Decendo_Wand_Light"); - - - pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - - _vector vPlayerPos = m_pOwner->Get_Component()->Get_State(STATE::POSITION); - - - Get_PartObject("Decendo_Down")->Get_Component()->LookAt(vPlayerPos); - Get_PartObject("Decendo_Smoke")->Get_Component()->LookAt(vPlayerPos); - Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f)); @@ -296,7 +307,6 @@ void CDecendo::Free() SAFE_RELEASE(m_pProjectile_Blur); SAFE_RELEASE(m_pProjectile); - } #ifdef _DEBUG void CDecendo::Describe_Entity() diff --git a/Jusin154_Team3D/Editor/Private/DecendoSide.cpp b/Jusin154_Team3D/Editor/Private/DecendoSide.cpp index 790d32939..f2f1f9c4b 100644 --- a/Jusin154_Team3D/Editor/Private/DecendoSide.cpp +++ b/Jusin154_Team3D/Editor/Private/DecendoSide.cpp @@ -40,22 +40,21 @@ HRESULT CDecendoSide::Initialize(void* pArg) m_wstrEffectName = L"DecendoSide"; m_pWandLight = Get_PartObject("Wand_Light_R"); + m_pWand_Fire = Get_PartObject("Wand_Fire"); + m_pWandTrail = Get_PartObject(); + SAFE_ADDREF(m_pWandLight); SAFE_ADDREF(m_pWandTrail); + SAFE_ADDREF(m_pWand_Fire); m_fDuration = 2.f; - m_Events.emplace(0.6f, [&]() { - CWand* pWand = static_cast(m_pOwner); + m_Events.emplace(0.8f, [&]() { - if (pWand == nullptr) - return; - - m_isTrailEnd = true; - - XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix()); + m_pWandTrail->SetDissolve(true); + m_pWand_Fire->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f)); }); return S_OK; @@ -85,7 +84,7 @@ void CDecendoSide::Update(_float fTimeDelta) m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); _matrix TrailMat = m_isTrailEnd ? XMLoadFloat4x4(&m_TrailStopMat) : pWand->Get_WorldMatrix(); - m_pWandTrail->Trail_Update(TrailMat, fTimeDelta); + m_pWandTrail->Oneside_Rope_Trail_Update(TrailMat, fTimeDelta); } @@ -179,6 +178,7 @@ void CDecendoSide::Free() Safe_Release(m_pWandLight); Safe_Release(m_pWandTrail); + Safe_Release(m_pWand_Fire); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Editor/Private/Revelio.cpp b/Jusin154_Team3D/Editor/Private/Revelio.cpp index fa6f534e9..b2fe9f624 100644 --- a/Jusin154_Team3D/Editor/Private/Revelio.cpp +++ b/Jusin154_Team3D/Editor/Private/Revelio.cpp @@ -38,10 +38,12 @@ HRESULT CRevelio::Initialize(void* pArg) m_pRevelioPT_Y = Get_PartObject("WandPT_Y"); m_pRevelioPT_B = Get_PartObject("WandPT_B"); m_pRevelioPT_R = Get_PartObject("WandPT_R"); + m_pWand_Light = Get_PartObject("Wand_Light"); SAFE_ADDREF(m_pRevelioPT_Y); SAFE_ADDREF(m_pRevelioPT_B); SAFE_ADDREF(m_pRevelioPT_R); + SAFE_ADDREF(m_pWand_Light); m_wstrEffectName = L"Revelio"; @@ -79,6 +81,7 @@ void CRevelio::Update(_float fTimeDelta) m_pRevelioPT_Y->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_R->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_B->Get_Component()->Set_WorldMatrix(WandWorld); + m_pWand_Light->Get_Component()->Set_WorldMatrix(WandWorld); } @@ -109,14 +112,43 @@ HRESULT CRevelio::Pre_Setting(CGameObject* pObject, void* pArg) m_pRevelioPT_Y->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_R->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_B->Get_Component()->Set_WorldMatrix(WandWorld); + m_pWand_Light->Get_Component()->Set_WorldMatrix(WandWorld); m_pRevelioPT_Y->Set_Visible(true); m_pRevelioPT_R->Set_Visible(true); m_pRevelioPT_B->Set_Visible(true); + m_pWand_Light->Set_Visible(true); - Get_PartObject("Revelio_Ring")->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion()); - Get_PartObject("Revelio_Ring")->Set_Visible(true); + CEditEffect* pRevelio_ScreenFX = Get_PartObject("Revelio_ScreenFX"); + CEditEffect* pRevelio_ScreenFX_Reverse = Get_PartObject("Revelio_ScreenFX_Reverse"); + CEditEffect* pRevelio_Smoke = Get_PartObject("Revelio_Smoke"); + CEditEffect* pRevelio_Distortion = Get_PartObject("Revelio_Distortion"); + CEditEffect* pBottom_PT = Get_PartObject("Bottom_PT"); + + pRevelio_ScreenFX->Set_Visible(true); + pRevelio_ScreenFX_Reverse->Set_Visible(true); + pRevelio_Smoke->Set_Visible(true); + pRevelio_Distortion->Set_Visible(true); + pBottom_PT->Set_Visible(true); + + + CCharacter_Controller* pCCT = m_pOwner->Get_Component(); + + _vector vFootPos = {}; + _vector vPos = {}; + + if (pCCT != nullptr) + { + vFootPos = pCCT->Get_FootPosition(); + vPos = pCCT->Get_Position(); + + pRevelio_Smoke->Get_Component()->Set_State(STATE::POSITION, vFootPos); + pBottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos); + pRevelio_Distortion->Get_Component()->Set_State(STATE::POSITION, vPos); + + + } return S_OK; } @@ -181,7 +213,7 @@ void CRevelio::Free() SAFE_RELEASE(m_pRevelioPT_Y); SAFE_RELEASE(m_pRevelioPT_B); SAFE_RELEASE(m_pRevelioPT_R); - + SAFE_RELEASE(m_pWand_Light); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Editor/Public/Decendo.h b/Jusin154_Team3D/Editor/Public/Decendo.h index f7873b3dd..914632809 100644 --- a/Jusin154_Team3D/Editor/Public/Decendo.h +++ b/Jusin154_Team3D/Editor/Public/Decendo.h @@ -37,7 +37,6 @@ class CDecendo final : public CEffect_Container class CPartObject* m_pProjectile = {}; class CPartObject* m_pProjectile_Blur = {}; - _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치 _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치 _float m_fLinearSpeed = 22.f; diff --git a/Jusin154_Team3D/Editor/Public/DecendoSide.h b/Jusin154_Team3D/Editor/Public/DecendoSide.h index a02c85be4..f89278016 100644 --- a/Jusin154_Team3D/Editor/Public/DecendoSide.h +++ b/Jusin154_Team3D/Editor/Public/DecendoSide.h @@ -37,6 +37,7 @@ class CDecendoSide final : public CEffect_Container _float4x4 m_TrailStopMat = {}; class CEditEffect* m_pWandLight = { nullptr }; + class CEditEffect* m_pWand_Fire = { nullptr }; class CTrailObject* m_pWandTrail = { nullptr }; public: diff --git a/Jusin154_Team3D/Editor/Public/Revelio.h b/Jusin154_Team3D/Editor/Public/Revelio.h index 1a9f47ee2..00739c6dd 100644 --- a/Jusin154_Team3D/Editor/Public/Revelio.h +++ b/Jusin154_Team3D/Editor/Public/Revelio.h @@ -33,9 +33,11 @@ class CRevelio final : public CEffect_Container private: _wstring m_wstrEffectName = {}; class CPlayer* m_pPlayer = {}; + class CEditEffect* m_pRevelioPT_Y = { nullptr }; class CEditEffect* m_pRevelioPT_B = { nullptr }; class CEditEffect* m_pRevelioPT_R = { nullptr }; + class CEditEffect* m_pWand_Light = { nullptr }; public: static CRevelio* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); From dcaaffb55328f396fe38d9abbd6bfee052ac6c25 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Mon, 12 Jan 2026 10:29:30 +0900 Subject: [PATCH 2/2] commit --- .../Client/Private/BroomRaceManager.cpp | 98 +++++++++---------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index 626879606..89c0a1342 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -524,70 +524,70 @@ HRESULT CBroomRaceManager::Load_RaceRing() HRESULT CBroomRaceManager::Load_Balloons() { - tinyxml2::XMLDocument xmlDoc; + //tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/Balloon/Ballon_Data.xml"; + //string strPath = "../Bin/Resources/Data/Map/Balloon/Ballon_Data.xml"; - if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) - return E_FAIL; + //if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) + // return E_FAIL; - Desc.pBroomRaceManager = this; + // Desc.pBroomRaceManager = this; - /* Transform */ - auto* Rotation = Object->FirstChildElement("Scale"); - Rotation->QueryFloatAttribute("x", &Desc.vScale.x); - Rotation->QueryFloatAttribute("y", &Desc.vScale.y); - Rotation->QueryFloatAttribute("z", &Desc.vScale.z); + // /* Transform */ + // auto* Rotation = Object->FirstChildElement("Scale"); + // Rotation->QueryFloatAttribute("x", &Desc.vScale.x); + // Rotation->QueryFloatAttribute("y", &Desc.vScale.y); + // Rotation->QueryFloatAttribute("z", &Desc.vScale.z); - auto* Scale = Object->FirstChildElement("Rotation"); - Scale->QueryFloatAttribute("x", &Desc.vRotation.x); - Scale->QueryFloatAttribute("y", &Desc.vRotation.y); - Scale->QueryFloatAttribute("z", &Desc.vRotation.z); + // auto* Scale = Object->FirstChildElement("Rotation"); + // Scale->QueryFloatAttribute("x", &Desc.vRotation.x); + // Scale->QueryFloatAttribute("y", &Desc.vRotation.y); + // Scale->QueryFloatAttribute("z", &Desc.vRotation.z); - auto* Position = Object->FirstChildElement("Position"); - Position->QueryFloatAttribute("x", &Desc.vPosition.x); - Position->QueryFloatAttribute("y", &Desc.vPosition.y); - Position->QueryFloatAttribute("z", &Desc.vPosition.z); + // auto* Position = Object->FirstChildElement("Position"); + // Position->QueryFloatAttribute("x", &Desc.vPosition.x); + // Position->QueryFloatAttribute("y", &Desc.vPosition.y); + // Position->QueryFloatAttribute("z", &Desc.vPosition.z); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RING, &Desc))) - return E_FAIL; - } + // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RING, &Desc))) + // return E_FAIL; + //} - tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("Balloon"); + //tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("Balloon"); - if (nullptr == root) - { - MSG_BOX("Failed to Find root"); - return S_OK; - } + //if (nullptr == root) + //{ + // MSG_BOX("Failed to Find root"); + // return S_OK; + //} - for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) - { - CMapElement_Balloon::BALLOON_DESC Desc = {}; + //for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) + //{ + // CMapElement_Balloon::BALLOON_DESC Desc = {}; - auto* Value = Object->FirstChildElement("Value"); - Value->QueryBoolAttribute("isFloating", &Desc.isFloating); - Value->QueryUnsignedAttribute("DiffuseIndex", &Desc.iDiffuseIndex); + // auto* Value = Object->FirstChildElement("Value"); + // Value->QueryBoolAttribute("isFloating", &Desc.isFloating); + // Value->QueryUnsignedAttribute("DiffuseIndex", &Desc.iDiffuseIndex); - /* Transform */ - auto* Rotation = Object->FirstChildElement("Scale"); - Rotation->QueryFloatAttribute("x", &Desc.vScale.x); - Rotation->QueryFloatAttribute("y", &Desc.vScale.y); - Rotation->QueryFloatAttribute("z", &Desc.vScale.z); + // /* Transform */ + // auto* Rotation = Object->FirstChildElement("Scale"); + // Rotation->QueryFloatAttribute("x", &Desc.vScale.x); + // Rotation->QueryFloatAttribute("y", &Desc.vScale.y); + // Rotation->QueryFloatAttribute("z", &Desc.vScale.z); - auto* Scale = Object->FirstChildElement("Rotation"); - Scale->QueryFloatAttribute("x", &Desc.vRotation.x); - Scale->QueryFloatAttribute("y", &Desc.vRotation.y); - Scale->QueryFloatAttribute("z", &Desc.vRotation.z); + // auto* Scale = Object->FirstChildElement("Rotation"); + // Scale->QueryFloatAttribute("x", &Desc.vRotation.x); + // Scale->QueryFloatAttribute("y", &Desc.vRotation.y); + // Scale->QueryFloatAttribute("z", &Desc.vRotation.z); - auto* Position = Object->FirstChildElement("Position"); - Position->QueryFloatAttribute("x", &Desc.vPosition.x); - Position->QueryFloatAttribute("y", &Desc.vPosition.y); - Position->QueryFloatAttribute("z", &Desc.vPosition.z); + // auto* Position = Object->FirstChildElement("Position"); + // Position->QueryFloatAttribute("x", &Desc.vPosition.x); + // Position->QueryFloatAttribute("y", &Desc.vPosition.y); + // Position->QueryFloatAttribute("z", &Desc.vPosition.z); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) - return E_FAIL; - } + // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) + // return E_FAIL; + //} return S_OK; }