diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 54a164fcd..75797926c 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -163,7 +163,12 @@ call Update_Resources.bat
+
+
+
+
+
@@ -476,7 +481,12 @@ call Update_Resources.bat
+
+
+
+
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index f8ef4e342..9829b8e17 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -922,7 +922,6 @@
02.GameObjects\Effect\Effects\Accio\AccioSide
-
02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D
@@ -959,9 +958,25 @@
02.GameObjects\Environment\Prop\SkyBox\TriggerBox
+
+ 02.GameObjects\Effect\Effects\Potion\PotionScreen
+
+
+ 02.GameObjects\Effect\Effects\Potion\PotionBroken
+
+
+ 02.GameObjects\Effect\Effects\HitScreen
+
+
+ 02.GameObjects\Effect\BroomRace\Bubble
+
02.GameObjects\Cameras\CameraPosition\CamPosition_WorldLook
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Prop\Ranrok_PropHit
+
+
@@ -1020,18 +1035,6 @@
{8d89a59c-fbd2-4a4a-ab01-a70abb80cc49}
-
- {603938cc-e4fe-44d8-890b-784174a86161}
-
-
- {2814c935-13d9-4b9a-94ba-c9e470219a18}
-
-
- {19ee2ea4-2d79-46bd-b857-c759e3ec6cf4}
-
-
- {2561df42-3dfa-4045-a30c-85f44cd65e09}
-
{25ad4a41-5b06-4659-bd29-c0c4265a3277}
@@ -1980,9 +1983,33 @@
{26d7f6f4-0b5f-4b9a-9cef-df91b8a485bf}
+
+ {1f2c5d56-c8a8-458e-a48c-444d7c885cf3}
+
+
+ {3f02d29d-759e-4572-9439-ec79909273e5}
+
+
+ {6fa4085d-e9eb-47c3-b384-2aa92baf1d55}
+
+
+ {8c62c8f3-d8ba-4a6d-99bd-6270333ea0bb}
+
+
+ {67efb2e4-26f6-41b5-a754-eddf91f1d528}
+
+
+ {ce57978a-c208-4fe6-bbfd-8f582c20ff07}
+
{b3924c52-0c0d-4cd1-94f4-1eb61d2c6c99}
+
+ {06672a35-4ed9-4c17-aa7f-bb249190a1ee}
+
+
+ {2561df42-3dfa-4045-a30c-85f44cd65e09}
+
@@ -2862,9 +2889,22 @@
02.GameObjects\Cameras\CameraPosition\CamPosition_WorldLook
-
- 02.GameObjects\Environment\Prop\SkyBox\TriggerBox
+
+ 02.GameObjects\Effect\Effects\Potion\PotionScreen
+
+ 02.GameObjects\Effect\Effects\Potion\PotionBroken
+
+
+ 02.GameObjects\Effect\Effects\HitScreen
+
+
+ 02.GameObjects\Effect\BroomRace\Bubble
+
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Prop\Ranrok_PropHit
+
+
diff --git a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
index 0077f3d07..8450f9a04 100644
--- a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
+++ b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
@@ -189,8 +189,6 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
static_cast(m_pOwner)->Start_CameraShake(0.5f, 1.2f);
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_AVADAKEDAVRA, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Blink.cpp b/Jusin154_Team3D/Client/Private/Blink.cpp
index 9b1057ba3..f8bdcea5e 100644
--- a/Jusin154_Team3D/Client/Private/Blink.cpp
+++ b/Jusin154_Team3D/Client/Private/Blink.cpp
@@ -206,8 +206,6 @@ HRESULT CBlink::Pre_Setting(CGameObject* pObject, void* pArg)
m_fSizeAccTime = 0.f;
m_fMoveAccTime = 0.f;
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BLINK_2, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Bombard.cpp b/Jusin154_Team3D/Client/Private/Bombard.cpp
index df07edd69..1d946ff58 100644
--- a/Jusin154_Team3D/Client/Private/Bombard.cpp
+++ b/Jusin154_Team3D/Client/Private/Bombard.cpp
@@ -160,8 +160,6 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject, void* pArg)
}
}
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_BOMBARDA, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
-
return S_OK;
}
@@ -211,6 +209,21 @@ void CBombard::OnCollision(CGameObject* pOther, void* pDesc)
if (m_bHit == false)
return;
+ _int iRand = m_pGameInstance->Random_Int(0, 2);
+ switch (iRand)
+ {
+ case 0:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_23, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 1:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_32, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 2:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_39, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ }
+
+
ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp
index 134511e16..09b6f7330 100644
--- a/Jusin154_Team3D/Client/Private/Broom.cpp
+++ b/Jusin154_Team3D/Client/Private/Broom.cpp
@@ -45,17 +45,6 @@ HRESULT CBroom::Initialize(void* pArg)
Load_AnimXML("../Bin/Resources/Data/AnimList/Broom.xml");
- {
- CFSM::FSM_DESC FSMDesc{};
- FSMDesc.pStates = &m_States;
- FSMDesc.pStateMask = &m_iStateMask;
-
- m_pFSM->Bind_States(FSMDesc);
- m_pFSM->Change_State(FSMSTATE::IDLE);
- }
-
- m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -100.f, 0.f, 1.f));
-
m_pParentUnit = dynamic_cast(m_pOwner);
if (m_pParentUnit->IsAI() == false)
@@ -72,6 +61,17 @@ HRESULT CBroom::Initialize(void* pArg)
}
+ {
+ CFSM::FSM_DESC FSMDesc{};
+ FSMDesc.pStates = &m_States;
+ FSMDesc.pStateMask = &m_iStateMask;
+
+ m_pFSM->Bind_States(FSMDesc);
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ }
+
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -100.f, 0.f, 1.f));
+
return S_OK;
}
@@ -103,7 +103,8 @@ void CBroom::Update(_float fTimeDelta)
{
m_bHoverToggle = true;
m_fSpeed = 0.f;
-
+ m_fVerticalSpeed = 0.f;
+ m_pBroomTrail->Get_Component()->Reset_Trail();
m_pFSM->Change_State(FSMSTATE::IDLE);
}
@@ -221,6 +222,12 @@ HRESULT CBroom::Render()
return S_OK;
}
+void CBroom::Add_TurboBoost(_float fAmount)
+{
+ m_fTurboBoost += fAmount;
+ m_fTurboBoost = clamp(m_fTurboBoost, 0.f, 5.f);
+}
+
HRESULT CBroom::Ready_Child()
{
diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
index a26ca106a..f0d558da7 100644
--- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
+++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
@@ -10,6 +10,7 @@
#include "Broom.h"
#include "InfoInstance.h"
#include "InstancedProp.h"
+#include "EffectPool.h"
CBroomRaceManager::CBroomRaceManager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
@@ -39,6 +40,8 @@ HRESULT CBroomRaceManager::Initialize(void* pArg)
m_pInfoInstance->Add_Event(TEXT("BROOMRACENPCINTERACT"), [this](void* p) {this->RaceReady(); });
+
+
return S_OK;
}
@@ -65,21 +68,16 @@ void CBroomRaceManager::Priority_Update(_float fTimeDelta)
m_bRaceEnd = true;
_float Alpha = 2.f;
m_pInfoInstance->Event_CallBack(TEXT("UIFadeIn"), &Alpha);
- }
- for (auto& racer : m_Racers)
- {
- if (racer.pAI)
+ for (auto& racer : m_Racers)
{
- racer.pAI->Get_Broom()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
- }
- if (racer.pRacer)
- {
-
+ if (racer.pAI)
+ {
+ racer.pAI->Get_Broom()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
+ }
}
}
}
-
}
break;
}
@@ -357,6 +355,11 @@ void CBroomRaceManager::RaceReady()
MSG_BOX("Failed Load Balloons");
}
+ if (FAILED(Load_Broomrace_Effect()))
+ {
+ MSG_BOX("Failed Load Broomrace_Effect");
+ }
+
CInstancedProp::INSTANCE_PROP_DESC Instance_Desc = {};
/* InstanceProp RouteMarker*/
@@ -423,7 +426,7 @@ void CBroomRaceManager::RaceReady()
CTransform* pTransform =
racer.pRacer->Get_Component();
CCharacter_Controller* pCharacter = racer.pRacer->Get_Component();
- XMStoreFloat4(&m_OriginPos, racer.pRacer->Get_WorldPostion());
+ XMStoreFloat4(&m_OriginPos, XMVectorSet(-552.794f, -27.676f, -396.840f, 1.f));
pCharacter->Set_Position(spawnPos);
pTransform->Set_State(STATE::POSITION, spawnPos);
pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
@@ -577,6 +580,48 @@ HRESULT CBroomRaceManager::Load_Balloons()
return E_FAIL;
}
+ return S_OK;
+}
+
+HRESULT CBroomRaceManager::Load_Broomrace_Effect()
+{
+ CEffectPool* pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
+
+ if (nullptr == pEffectPool)
+ return E_FAIL;
+
+ tinyxml2::XMLDocument xmlDoc;
+
+ string strPath = "../Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml";
+
+ if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str())))
+ return E_FAIL;
+
+ tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("EffectParts");
+
+ if (nullptr == root)
+ {
+ MSG_BOX("Failed to Find root");
+ return S_OK;
+ }
+
+ for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object"))
+ {
+ _float4 vPosition = {};
+
+ /* Transform */
+ auto* Position = Object->FirstChildElement("Position");
+ Position->QueryFloatAttribute("x", &vPosition.x);
+ Position->QueryFloatAttribute("y", &vPosition.y);
+ Position->QueryFloatAttribute("z", &vPosition.z);
+ vPosition.w = 1.f;
+
+ pEffectPool->Use_Skill(SKILL_TYPE::BROOM_RACE_BUBBLE, this, &vPosition);
+ }
+
+
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp
new file mode 100644
index 000000000..dfc8b202d
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/BroomRace_Bubble.cpp
@@ -0,0 +1,252 @@
+#include "pch.h"
+#include "BroomRace_Bubble.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CBroomRace_Bubble::CBroomRace_Bubble(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CBroomRace_Bubble::CBroomRace_Bubble(const CBroomRace_Bubble& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CBroomRace_Bubble::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/BroomBubble")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CBroomRace_Bubble::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_fDuration = 99999.f;
+
+
+
+ return S_OK;
+}
+
+void CBroomRace_Bubble::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CBroomRace_Bubble::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CBroomRace_Bubble::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+
+ if (false == m_bHit) {
+ _vector vTop = XMLoadFloat4(&m_vStartPos) + XMVectorSet(0.f, 5.f, 0.f, 0.f);
+
+ _vector vBottom = pBubble->Get_WorldPostion() - XMVectorSet(0.f, 5.f, 0.f, 0.f);
+
+ CollisionCheck(vTop, vBottom, 5.f);
+
+ OnCollision(this);
+ }
+}
+
+void CBroomRace_Bubble::CollisionCheck(_fvector vStartPos, _fvector vEndPos, _float fRadius)
+{
+
+ _vector vDir = { vEndPos - vStartPos };
+
+ _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos));
+
+ PSX::PxSweepBuffer pxBuffer = {};
+
+ _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
+
+ const PSX::PxSweepHit& hit = pxBuffer.block;
+ PSX::PxRigidActor* pActor = hit.actor;
+ PSX::PxShape* pShape = hit.shape;
+ ON_COLLISION_INFO tagCollInfo = {};
+
+ tagCollInfo.vWorldPos.w = 1.f;
+
+ if (bHit) {
+
+ memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position));
+
+ memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal));
+ XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
+ tagCollInfo.fLength = fDistance;
+
+
+ if (nullptr != pActor && nullptr != pActor->userData)
+ {
+ PHYSX_USERDATA* pUserData = static_cast(pActor->userData);
+ tagCollInfo.pObject = pUserData->pOwner;
+
+ switch (pUserData->eKind)
+ {
+ case PHYSX_KIND::CCTActor:
+ {
+ switch (PXOBJECT(pUserData->iSubKind))
+ {
+
+ case PXOBJECT::PLAYER:
+ {
+ dynamic_cast(pUserData->pOwner)->Add_TurboBoost(1.f);
+ m_bHit = true;
+ }
+ break;
+
+ }
+ }
+ }
+ }
+
+
+ }
+}
+
+HRESULT CBroomRace_Bubble::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ _float4* pPos = static_cast<_float4*>(pArg);
+
+ m_vStartPos = *pPos;
+
+ _vector vPosVector = XMLoadFloat4(pPos);
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+ CEffectParts* pBubble_Distortion = Get_PartObject("Bubble_Distortion");
+ CEffectParts* pHit_Bubble = Get_PartObject("Hit_Bubble");
+
+ pBubble->Set_Visible(true);
+ pBubble_Distortion->Set_Visible(true);
+
+ pBubble->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pBubble_Distortion->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pHit_Bubble->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+
+
+ return S_OK;
+}
+
+HRESULT CBroomRace_Bubble::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CBroomRace_Bubble::Ready_Child()
+{
+ return S_OK;
+}
+
+CBroomRace_Bubble* CBroomRace_Bubble::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CBroomRace_Bubble* pInstance = new CBroomRace_Bubble(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CBroomRace_Bubble");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CBroomRace_Bubble::Clone(void* pArg, CGameObject* pOwner)
+{
+ CBroomRace_Bubble* pInstance = new CBroomRace_Bubble(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CBroomRace_Bubble");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CBroomRace_Bubble::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_GET_ITEM, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+
+
+ CEffectParts* pBubble = Get_PartObject("Bubble");
+ CEffectParts* pBubble_Distortion = Get_PartObject("Bubble_Distortion");
+
+ pBubble->Set_Visible(false);
+ pBubble_Distortion->Set_Visible(false);
+
+ m_fDuration = 3.f;
+ m_fAccTime = 0.f;
+
+ CEffectParts* pHit_Bubble = Get_PartObject("Hit_Bubble");
+
+ pHit_Bubble->Set_Visible(true);
+
+}
+
+void CBroomRace_Bubble::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CBroomRace_Bubble::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CBroomRace_Bubble::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp
index 8d950a3ed..75a74ac27 100644
--- a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp
+++ b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp
@@ -39,6 +39,8 @@ HRESULT CBroomRacerAI::Initialize(void* pArg)
}
m_iIndex = static_cast(pArg)->iIndex;
+ m_bAI = true;
+
if (FAILED(Ready_Components())) {
return E_FAIL;
}
@@ -73,7 +75,6 @@ HRESULT CBroomRacerAI::Initialize(void* pArg)
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
- m_bAI = true;
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp
index da7bb338c..e7a33225a 100644
--- a/Jusin154_Team3D/Client/Private/Broom_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp
@@ -75,6 +75,9 @@ void CBroom::Behavior_IdleEnter()
{
m_pFSM->Enable_State(FSMSTATE::IDLE);
pair<_uint, _bool> pairAnimInfo;
+ if (m_pParentUnit->IsAI() == false) {
+ m_pBroomTrail->Get_Component()->Reset_Trail();
+ }
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_IDLE_B];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
@@ -121,9 +124,10 @@ void CBroom::Behavior_MoveEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::MOVE);
-
- m_pBroomTrail->SetDissolve(false);
- m_pBroomTrail->Get_Component()->Reset_Trail();
+ if (m_pParentUnit->IsAI() == false) {
+ m_pBroomTrail->SetDissolve(false);
+ m_pBroomTrail->Get_Component()->Reset_Trail();
+ }
}
HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta)
@@ -365,9 +369,10 @@ void CBroom::Behavior_Broom_FlyEnter()
{
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::FLY);
+ m_pModelCom->Set_BlendDuration(0.5f);
m_bHoverToggle = false;
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true);
}
HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
@@ -384,11 +389,19 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
_bool bShift = m_Input.bHoverToggle;
_bool bTurbo = m_Input.bTurbo;
+ _bool bHasInput = (bLeft || bRight || bUp || bDown);
+
+ if (bHasInput)
+ m_fInputHoldTime += fTimeDelta;
+ else
+ m_fInputHoldTime = 0.f;
+
+ _bool bAllowAnimChange = (m_fInputHoldTime >= m_fHoldThreshold);
+
if (!m_bHoverToggle) {
if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove()))
{
-
if (bFwd) {
m_fTargetSpeed = m_fFlyMaxSpeed;
}
@@ -448,23 +461,11 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
if (vInput.x < 0.f)
{
- /*if (vInput.z <= 0.f)
- {
- m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
- }
- else {*/
m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f);
- //}
}
else if (vInput.x > 0.f)
{
- /*if (vInput.z <= 0.f)
- {
- m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
- }
- else {*/
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f);
- //}
}
@@ -504,9 +505,12 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
}
}
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ if (bAllowAnimChange || pairAnimInfo.first == m_Animation[STATEANIM::BROOM_FLY_B].first) {
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true);
+ }
}
else {
+ m_fInputHoldTime = 0.f;
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
}
@@ -523,10 +527,6 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
- /*if (bShift && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first)
- {
- m_bHoverToggle = false;
- }*/
if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove()))
{
if (fRatio >= 0.5f && iCurrentAnimIndex == m_Animation[STATEANIM::BROOM_HOVER_STOP_B].first)
@@ -555,6 +555,7 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
void CBroom::Behavior_Broom_FlyExit()
{
m_pFSM->Disable_State(FSMSTATE::FLY);
+ m_pModelCom->Set_BlendDuration(0.3f);
}
void CBroom::Behavior_Broom_TurboFlyEnter()
@@ -562,9 +563,10 @@ void CBroom::Behavior_Broom_TurboFlyEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::TURBOFLY);
m_bTurbo = true;
+ m_pModelCom->Set_BlendDuration(0.5f);
m_bHoverToggle = false;
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true);
Boost_Effect_Visible(true);
}
@@ -583,6 +585,15 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
_bool bShift = m_Input.bHoverToggle;
_bool bTurbo = m_Input.bTurbo;
+ _bool bHasInput = (bLeft || bRight || bUp || bDown);
+
+ if (bHasInput)
+ m_fInputHoldTime += fTimeDelta;
+ else
+ m_fInputHoldTime = 0.f;
+
+ _bool bAllowAnimChange = (m_fInputHoldTime >= m_fHoldThreshold);
+
if (!m_bHoverToggle)
{
if (SUCCEEDED(InputMove()))
@@ -670,7 +681,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_UP_B];
else
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_DOWN_B];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+
}
else if (ax >= az)
{
@@ -690,7 +701,6 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
}
}
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
}
else
{
@@ -701,10 +711,13 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
else {
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
}
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ }
+ if (bAllowAnimChange || pairAnimInfo.first == m_Animation[STATEANIM::BROOM_FLY_B].first) {
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false, true);
}
}
else {
+ m_fInputHoldTime = 0.f;
pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
}
@@ -752,7 +765,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
void CBroom::Behavior_Broom_TurboFlyExit()
{
m_pFSM->Disable_State(FSMSTATE::TURBOFLY);
-
+ m_pModelCom->Set_BlendDuration(0.3f);
Boost_Effect_Visible(false);
}
diff --git a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
index 94175f264..c42135acc 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp
@@ -150,6 +150,7 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket)
m_pTransformCom->Set_WorldMatrix(pContents->pxTransform);
m_pFollowTargetPart->Set_WorldPostion(m_pTransformCom->Get_State(STATE::POSITION));
m_pLookTargetPart->Set_WorldPostion(m_pTransformCom->Get_State(STATE::POSITION) + m_pTransformCom->Get_State(STATE::LOOK));
+ Clear_Lerp_Rotation();
Clear_Lerp_Translation();
} break;
case TIMESOCKET_FUNC::TRANSLATION:
diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
index e5404bec9..d4929b680 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
@@ -24,7 +24,8 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta)
if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_DEBUG))) {
return;
}
- Transition(fTimeDelta);
+ const _float fFixedDebugTimeDelta = 1.f / 60.f;
+ Transition(fFixedDebugTimeDelta);
_float3 vCamPos = {};
_float3 vSetPos = {};
XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION));
@@ -39,22 +40,22 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta)
#pragma region Position
_float fSpeed = 5.f;
if (m_pGameInstance->Key_Pressing(DIK_W)) {
- m_pTransformCom->Go_Straight(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Straight(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_A)) {
- m_pTransformCom->Go_Left(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Left(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_S)) {
- m_pTransformCom->Go_Backward(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Backward(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_D)) {
- m_pTransformCom->Go_Right(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Right(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_SPACE)) {
- m_pTransformCom->Go_Up(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Up(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_C)) {
- m_pTransformCom->Go_Down(fTimeDelta * fSpeed);
+ m_pTransformCom->Go_Down(fFixedDebugTimeDelta * fSpeed);
}
if (m_pGameInstance->Key_Pressing(DIK_TAB)) {
Set_InitialPos();
@@ -81,8 +82,8 @@ void CCamera_Debug::Priority_Update(_float fTimeDelta)
#pragma region Angle
_float3 fMove = m_pGameInstance->Get_MouseMove();
- m_pTransformCom->Turn(XMVectorSet(0.f, 1.f, 0.f, 0.f), fTimeDelta * fMove.x * m_fMouseSensor);
- m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::RIGHT), fTimeDelta * fMove.y * m_fMouseSensor);
+ m_pTransformCom->Turn(XMVectorSet(0.f, 1.f, 0.f, 0.f), fFixedDebugTimeDelta * fMove.x * m_fMouseSensor);
+ m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::RIGHT), fFixedDebugTimeDelta * fMove.y * m_fMouseSensor);
#pragma endregion
diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
index ef6fed292..1fecb9d22 100644
--- a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
@@ -17,6 +17,9 @@ CCutSceneInfo::CCutSceneInfo()
}
void CCutSceneInfo::Update(_float fTimeDelta)
{
+ if (m_pGameInstance->Key_Pressing(DIK_LCONTROL) && m_pGameInstance->Key_Pressing(DIK_RCONTROL) && m_pGameInstance->Key_Pressing(DIK_LSHIFT)&& m_pGameInstance->Key_Pressing(DIK_RSHIFT) && m_pGameInstance->Key_Pressing(DIK_LALT) && m_pGameInstance->Key_Pressing(DIK_RALT)) {
+ Set_AllActiveEventsExit();
+ }
#ifdef _DEBUG
Describe_Entity();
#endif // _DEBUG
@@ -572,3 +575,15 @@ void CCutSceneInfo::Load_CutSceneXML(const string& path)
pair<_string, TimeLine*> pairResult = { _string(pContentsNode->Name()), pTimeLine };
m_pInfoInstance->Load_Events(pairResult);
}
+
+void CCutSceneInfo::Set_AllActiveEventsExit()
+{
+ map<_string, TimeLine*>::iterator iter = m_funcActiveEvents.begin();
+ for (; iter != m_funcActiveEvents.end();++iter) {
+ iter->second->m_vTimer.x = 1.f - FLT_EPSILON;
+ for (list::iterator socketIter = (*iter).second->m_Sockets.begin();
+ socketIter != (*iter).second->m_Sockets.end(); ++socketIter) {
+ (*socketIter)->Trigger(1.f - FLT_EPSILON);
+ }
+ }
+}
diff --git a/Jusin154_Team3D/Client/Private/Decendo.cpp b/Jusin154_Team3D/Client/Private/Decendo.cpp
index b9c227aa3..0247ff623 100644
--- a/Jusin154_Team3D/Client/Private/Decendo.cpp
+++ b/Jusin154_Team3D/Client/Private/Decendo.cpp
@@ -211,8 +211,6 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg)
m_fAngularSpeed = XM_2PI / m_fTimeRate; // 프레임마다 누적할 시간
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_DECENDO, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
index bc7c74009..fa8f6dd63 100644
--- a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
@@ -202,16 +202,37 @@ void CDuelist_Protego::OnCollision(CGameObject* pOther, void* pDesc)
switch (iSkillType)
{
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
break;
case ENUM_CLASS(SKILL_TYPE::STUPEFY):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
+ break;
+ default:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
break;
}
}
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 22a9df155..dc6df249b 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -54,6 +54,11 @@
#include "Transformation.h"
#include "Avadakedavra.h"
#include "Reparo.h"
+#include "PotionBroken.h"
+#include "PotionScreen.h"
+#include "HitScreen.h"
+#include "BroomRace_Bubble.h"
+#include "Ranrok_PropHit.h"
#include "Goblin_ProtegoHit.h"
#include "Duelist_ProtegoHit.h"
@@ -115,7 +120,7 @@ HRESULT CEffectPool::Initialize(void* pArg)
m_isActiveMonsterEffectCreate = true;
#endif //
#ifdef 기무리
- m_isActiveEffectCreate = false;
+ m_isActiveEffectCreate = true;
m_isActiveMonsterEffectCreate = false;
#endif //
#ifdef 나
@@ -522,6 +527,42 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::POTION_BROKEN, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CPotionBroken* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::SCREEN_POTION, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CPotionScreen* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::SCREEN_HIT, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CHitScreen* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::BROOM_RACE_BUBBLE, 20, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CBroomRace_Bubble* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
return S_OK;
}
@@ -813,6 +854,17 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_PROP_HIT, 10, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_PropHit* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
index b7705d753..9c6cf2014 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp
@@ -84,6 +84,10 @@ HRESULT CGoblin_Assassin::Initialize(void* pArg)
m_pModelCom->Set_DisableRootMotionScale(true);
+ m_fRimStrength = 2.3f;
+ m_fRimPower = 2.3f;
+ m_vRimColor = _float4(0.f , 0.f , 0.f , 0.5f);
+
return S_OK;
}
@@ -97,8 +101,6 @@ void CGoblin_Assassin::Update(_float fTimeDelta)
if (m_bVisible == false)
return;
- m_pFSM->Update_State(fTimeDelta);
-
m_vCaptureTimer.x += fTimeDelta;
if (m_vCaptureTimer.y < m_vCaptureTimer.x) {
m_vCaptureTimer.x = 0.f;
@@ -107,6 +109,8 @@ void CGoblin_Assassin::Update(_float fTimeDelta)
}
}
+ m_pFSM->Update_State(fTimeDelta);
+
m_pModelCom->Play_Animation(fTimeDelta * m_fEasing, m_pTransformCom);
__super::Update(fTimeDelta);
@@ -144,6 +148,8 @@ void CGoblin_Assassin::Update(_float fTimeDelta)
//m_pDetection->Set_Active(m_bDetection);
Update_Disolve(fTimeDelta, 0.8f);
+
+ m_pMotionTrailCom->Update_Capture(fTimeDelta);
}
void CGoblin_Assassin::Late_Update(_float fTimeDelta)
@@ -163,12 +169,35 @@ void CGoblin_Assassin::Late_Update(_float fTimeDelta)
}
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
}
HRESULT CGoblin_Assassin::Render()
{
+ RENDER ePass = m_pGameInstance->Get_CurrentRenderPass();
+
+
+ if (m_bMotionTrail)
+ {
+ if (ePass == RENDER::BLEND)
+ {
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+
+
+ if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+ }
+ }
+
+
+
if (m_bVisible == false)
return S_OK;
@@ -237,12 +266,6 @@ HRESULT CGoblin_Assassin::Render()
m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
}
- if (m_bMotionTrail) {
- if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
- return E_FAIL;
- }
- }
-
return S_OK;
}
@@ -352,6 +375,17 @@ HRESULT CGoblin_Assassin::Render_Shadow(SHADOW eType)
HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
{
+ if(FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength" , &m_fRimLightStrength , sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimPower, sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimColor, sizeof(_float4))))
+ return E_FAIL;
+
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
for (_uint i = 0; i < iNumMeshes; i++)
{
@@ -364,7 +398,7 @@ HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom)))
return E_FAIL;
- if (FAILED(m_pModelCom->Begin(i, m_pShaderCom)))
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::RIMLIGHT))))
return E_FAIL;
m_pContext->VSSetShaderResources(26, 1, &pSRV);
@@ -720,7 +754,7 @@ void CGoblin_Assassin::Describe_Entity()
{
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
- if (GUI::CollapsingHeader("Goblin")) {
+ if (GUI::CollapsingHeader("Goblin_Assassin")) {
GUI::Checkbox("LookAt", &m_bLookAt);
string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
@@ -744,6 +778,15 @@ void CGoblin_Assassin::Describe_Entity()
GUI::Text("Length %.2f", m_fLength);
GUI::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Distance %.2f", m_fTargetDistance);
+
+
+ GUI::DragFloat("RimStrength", &m_fRimStrength , 0.01f);
+ GUI::DragFloat("RimPower", &m_fRimPower, 0.01f);
+ GUI::ColorEdit4("RimColor", (_float*)(&m_vRimColor));
+ GUI::DragFloat("MotionTrailTime", &m_vCaptureTimer.y);
+
+ m_pMotionTrailCom->Describe_Entity();
+
}
GUI::End();
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
index b9b43e30b..fbdc51268 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
@@ -302,8 +302,12 @@ void CGoblin_Assassin::Behavior_SlashEnter()
HRESULT CGoblin_Assassin::Behavior_SlashExitCheck(_float fTimeDelta)
{
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+
+
+
if (fRatio >= 0.8f)
{
+ m_pGoblinSpector->Spector_Trail_Visible(false);
Get_PartObject("Goblin_Sword_L")->Set_CanTakeDamage(false);
Get_PartObject("Goblin_Sword_R")->Set_CanTakeDamage(false);
m_pFSM->Change_State(FSMSTATE::COMBAT);
@@ -630,6 +634,7 @@ void CGoblin_Assassin::Behavior_DeadEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DEAD);
m_pCharacter_Controller->SetGravity(true);
+ m_pInfoInstance->Deregist_ActiveMonster(this);
_bool bStrongerKnockDown = { false };
@@ -789,7 +794,7 @@ void CGoblin_Assassin::Descendo_Event()
m_fAirTime = 0.f;
pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f);
Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first,
[this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp b/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
index 6d621219e..019d51417 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Attack.cpp
@@ -50,7 +50,7 @@ HRESULT CGoblin_Attack::Initialize(void* pArg)
SAFE_ADDREF(m_pPT1);
SAFE_ADDREF(m_pPT2);
SAFE_ADDREF(m_pAttack_Trail);
- m_fDuration = 2.f;
+ m_fDuration = 4.f;
m_Events.emplace(1.2f, [&]() {
@@ -87,6 +87,7 @@ void CGoblin_Attack::Update(_float fTimeDelta)
m_pAttack_Trail->Trail_Update(BoneMat, fTimeDelta);
+
}
void CGoblin_Attack::Late_Update(_float fTimeDelta)
@@ -122,6 +123,8 @@ HRESULT CGoblin_Attack::Pre_Setting(CGameObject* pObject, void* pArg)
m_pPT2->Set_Visible(true);
m_pAttack_Trail->Set_Visible(true);
m_pAttack_Trail->SetDissolve(false);
+ m_pAttack_Trail->Get_Component()->Reset_Trail();
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
index 8661b4d49..dfbb8f51c 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
@@ -5,6 +5,7 @@
#include "EffectPool.h"
#include "Player.h"
#include "EffectParts.h"
+#include "InfoInstance.h"
#pragma region STATE
#include "State_Idle.h"
@@ -510,6 +511,7 @@ void CGoblin_Mage::Behavior_DeadEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DEAD);
m_pCharacter_Controller->SetGravity(true);
+ m_pInfoInstance->Deregist_ActiveMonster(this);
_bool bStrongerKnockDown = { false };
@@ -665,7 +667,7 @@ void CGoblin_Mage::Descendo_Event()
m_fAirTime = 0.f;
pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f);
Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first,
[this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
index 4564ab36d..52a3393a8 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
@@ -202,28 +202,68 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc)
switch (iSkillType)
{
case ENUM_CLASS(SKILL_TYPE::BOMBARDA):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
break;
case ENUM_CLASS(SKILL_TYPE::AVADAKEDAVRA):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
break;
case ENUM_CLASS(SKILL_TYPE::ANCIENT_MAGIC):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
break;
case ENUM_CLASS(SKILL_TYPE::STUPEFY):
+ {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
+ break;
+ default:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
break;
}
}
@@ -232,6 +272,13 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc)
CMapElement_Interactable* pProps = dynamic_cast(pOther);
if (pProps != nullptr)
{
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 1);
+ if (iRand == 0) {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_17, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
+ else {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_3, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ }
m_pOwner->OnCollision(pOther, CollisionDesc);
m_pRigidBody->Detach_Actor(CURRENT_LEVEL);
m_bVisible = false;
diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
index c892c5f35..870f452ec 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
@@ -600,6 +600,7 @@ void CGoblin::Behavior_DeadEnter()
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::DEAD);
m_pCharacter_Controller->SetGravity(true);
+ m_pInfoInstance->Deregist_ActiveMonster(this);
_bool bStrongerKnockDown = { false };
@@ -756,7 +757,7 @@ void CGoblin::Descendo_Event()
m_fAirTime = 0.f;
pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 5.f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 3.f);
Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first,
[this]() { pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
diff --git a/Jusin154_Team3D/Client/Private/HitScreen.cpp b/Jusin154_Team3D/Client/Private/HitScreen.cpp
new file mode 100644
index 000000000..d8afd9739
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/HitScreen.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "HitScreen.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CHitScreen::CHitScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CHitScreen::CHitScreen(const CHitScreen& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CHitScreen::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/HitScreen")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CHitScreen::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_fDuration = 4.f;
+
+
+
+ return S_OK;
+}
+
+void CHitScreen::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CHitScreen::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CHitScreen::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CHitScreen::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ CEffectParts* pHit_Screen_FX = Get_PartObject("Hit_Screen_FX");
+
+ pHit_Screen_FX->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CHitScreen::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CHitScreen::Ready_Child()
+{
+ return S_OK;
+}
+
+CHitScreen* CHitScreen::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CHitScreen* pInstance = new CHitScreen(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CHitScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CHitScreen::Clone(void* pArg, CGameObject* pOwner)
+{
+ CHitScreen* pInstance = new CHitScreen(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CHitScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CHitScreen::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+
+}
+
+void CHitScreen::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CHitScreen::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CHitScreen::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/InstancedProp.cpp b/Jusin154_Team3D/Client/Private/InstancedProp.cpp
index f180069b0..1d7d39eb3 100644
--- a/Jusin154_Team3D/Client/Private/InstancedProp.cpp
+++ b/Jusin154_Team3D/Client/Private/InstancedProp.cpp
@@ -27,8 +27,10 @@ void CInstancedProp::Late_Update(_float fTimeDelta)
}
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+#ifdef Bin
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this);
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this);
+#endif // Bin
}
HRESULT CInstancedProp::Render()
@@ -102,6 +104,9 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
INSTANCE_PROP_DESC* pDesc = static_cast(pArg);
+ m_isShake = pDesc->isShake;
+ m_isTree = pDesc->isTree;
+
/* Com_VIBuffer_Instance_Model */
if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag,
reinterpret_cast(&m_pVIBufferInstanceCom))))
@@ -119,7 +124,6 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
if(FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc)))
return E_FAIL;
- m_isShake = pDesc->isShake;
if (m_isShake)
m_pVIBufferInstanceCom->Set_Shake_Value(pDesc->vRadius, pDesc->vSpeed);
@@ -204,6 +208,8 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP
{
for (_uint i = 0; i < m_iNumMesh; ++i)
{
+ if (true == m_isTree && 0 == i)
+ continue;
CRigidBody_Static* pRigidBody = { nullptr };
CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {};
Desc.pMeshName = RigidBodyTags[i].c_str();
diff --git a/Jusin154_Team3D/Client/Private/Item_Potion.cpp b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
index cfcbd8f72..523d17cdf 100644
--- a/Jusin154_Team3D/Client/Private/Item_Potion.cpp
+++ b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
@@ -61,15 +61,22 @@ void CItem_Potion::Late_Update(_float fTimeDelta)
if (m_bVisible)
{
m_fTimer += fTimeDelta;
+ if (m_fTimer >= 1.f && m_bOnce == false) {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::SCREEN_POTION , this);
+ m_bOnce = true;
+ }
if (m_fTimer >= 1.6f) {
m_bAttach = false;
}
+
if (m_fTimer >= 3.f) {
m_fTimer = 0.f;
m_bVisible = false;
m_bAttach = true;
+ m_bOnce = false;
}
}
+
if (m_bAttach)
{
m_bHit = false;
@@ -189,12 +196,21 @@ void CItem_Potion::Check_GroundCollision()
void CItem_Potion::OnCollision(CGameObject* pOther, void* pDesc)
{
+ if (m_bVisible == false)
+ return;
+
m_bHit = false;
+ m_pEffectPool->Use_Skill(SKILL_TYPE::POTION_BROKEN, this);
+ m_fTimer = 0.f;
+ m_bVisible = false;
+ m_bAttach = true;
+ m_bOnce = false;
}
void CItem_Potion::Set_Attach(_bool Attach)
{
m_bAttach = Attach;
+
}
diff --git a/Jusin154_Team3D/Client/Private/Land.cpp b/Jusin154_Team3D/Client/Private/Land.cpp
index e52bf5d0e..7bbf48841 100644
--- a/Jusin154_Team3D/Client/Private/Land.cpp
+++ b/Jusin154_Team3D/Client/Private/Land.cpp
@@ -32,8 +32,13 @@ void CLand::Late_Update(_float fTimeDelta)
if (m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRaduis))
{
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
- for (auto& pInstanceProp : m_InstanceProps)
+#ifdef Bin
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this);
+#endif // Bin
+ for (auto& pInstanceProp : m_InstanceProps){
pInstanceProp->Late_Update(fTimeDelta);
+ }
}
}
@@ -68,11 +73,14 @@ HRESULT CLand::Render_Shadow(SHADOW eType)
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::SHADOW)))) {
return E_FAIL;
}
-
if (FAILED(m_pModelCom->Render(0))) {
return E_FAIL;
}
-
+ if (SHADOW::SHADOW_PRE == eType) {
+ for (auto& pInstanceProp : m_InstanceProps) {
+ pInstanceProp->Render_Shadow(eType);
+ }
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp
index 8b7df7a50..1e73556f1 100644
--- a/Jusin154_Team3D/Client/Private/Level_Field.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp
@@ -185,13 +185,6 @@ HRESULT CLevel_Field::Ready_Lights()
_float4 vDiffuse = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1E1C1B3C);
_float4 vAmbient = CMyTools::ColorRGBA_HEXtoFLOAT4(0x1A191900);
_float4 vSpecular = CMyTools::ColorRGBA_HEXtoFLOAT4(0x12121200);
-
-#if gimch || 진우
- vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
- vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
- vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
-#endif // gimch
-
m_pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
m_pLight->Get_Component()->RotationQ(XMVectorSet(-0.574f, -0.409f, 0.584f, -0.402f));
@@ -202,8 +195,6 @@ HRESULT CLevel_Field::Ready_Lights()
HRESULT CLevel_Field::Ready_Volumetric()
{
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
-
-
return S_OK;
}
@@ -273,8 +264,6 @@ HRESULT CLevel_Field::Ready_Layer_SkyBox()
HRESULT CLevel_Field::Ready_Background()
{
- m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
-
CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND);
CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND);
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 8de642e74..595793bab 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -126,7 +126,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
_bool bLoadNPC = { true };
#ifdef _DEBUG
#ifdef 기무리
- bLoadNPC = false;
+ bLoadNPC = true;
#endif
#endif // _DEBUG
if (true == bLoadNPC) {
@@ -149,12 +149,12 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
if (FAILED(m_pInfoInstance->Late_Initialize()))
return E_FAIL;
-
+ ResetLevel_Environment();
m_bLevel = true;
m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_0, SD_CHANNEL_GROUP::BGM, true, 0.6f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_HOGWART_0, SD_CHANNEL_GROUP::BGM, true, 0.6f);
return S_OK;
}
@@ -170,12 +170,12 @@ void CLevel_GamePlay::Update(_float fTimeDelta)
_bool bStartCinematic = { true };
#ifdef _DEBUG
#ifdef 기무리
- bStartCinematic = true;
+ bStartCinematic = false;
#elif 진우
bStartCinematic = true;
#elif Bin
bStartCinematic = false;
-#elif gimchi
+#elif gimch
bStartCinematic = false;
#elif 나
bStartCinematic = false;
@@ -367,7 +367,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
#ifdef 기무리
isReady_Background = true;
isReady_Hogsmeade = true;
- isReady_Hogwart = false;
+ isReady_Hogwart = true;
#endif //
#ifdef 나
isReady_Background = false;
@@ -613,6 +613,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* InstanceProp Oak_Tree*/
Desc.isShake = true;
+ Desc.isTree = true;
Desc.eShaderPass = SHADER_PASS_WORLDMODLE_INSTANCE::DEFAULT;
Desc.bEnableRigidbody = true;
Desc.vRadius = _float2(0.015f, 0.02f);
@@ -631,6 +632,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* BearBerry */
Desc.isShake = true;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.015f, 0.02f);
Desc.vSpeed = _float2(0.6f, 1.f);
@@ -642,6 +644,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* SM_HM_OwlPost_Window_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin";
@@ -650,6 +653,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
///* WA_Rectangle_Double_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin";
@@ -658,6 +662,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
///* WC_Retangle_Double_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin";
@@ -666,6 +671,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
///* WA_Square_Double_C */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin";
@@ -674,6 +680,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* Quid_Window_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin";
@@ -682,6 +689,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* Ollivanders_Box_Window */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin";
@@ -690,6 +698,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* WC_L_DoubleS_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin";
@@ -698,6 +707,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* WC_Round_Double_A */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin";
@@ -706,6 +716,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* SM_HM_Door1a */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = true;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin";
@@ -714,6 +725,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* SM_HM_Door2b */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = true;
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b";
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin";
@@ -730,6 +742,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* OakTree_TallA */
Desc.isShake = false;
+ Desc.isTree = true;
Desc.bEnableRigidbody = true;
Desc.vRadius = _float2(0.015f, 0.016f);
Desc.vSpeed = _float2(0.01f, 0.1f);
@@ -740,6 +753,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* Shrub_B */
Desc.isShake = true;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.015f, 0.04f);
Desc.vSpeed = _float2(0.3f, 1.f);
@@ -750,6 +764,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* BogMyrtle_A */
Desc.isShake = true;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.015f, 0.04f);
Desc.vSpeed = _float2(0.3f, 1.f);
@@ -764,6 +779,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* Dogwood_B */
Desc.isShake = true;
+ Desc.isTree = true;
Desc.bEnableRigidbody = true;
Desc.vRadius = _float2(0.015f, 0.02f);
Desc.vSpeed = _float2(0.3f, 1.f);
@@ -774,6 +790,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* ScotsPine_LargeA */
Desc.isShake = false;
+ Desc.isTree = true;
Desc.bEnableRigidbody = true;
Desc.vRadius = _float2(0.015f, 0.02f);
Desc.vSpeed = _float2(0.3f, 1.f);
@@ -797,6 +814,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
/* StratifiedCliff_A1 */
Desc.isShake = false;
+ Desc.isTree = false;
Desc.bEnableRigidbody = false;
Desc.vRadius = _float2(0.f, 0.f);
Desc.vSpeed = _float2(0.f, 0.f);
@@ -1142,8 +1160,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
isLoad_NPC = false;
#endif //
#ifdef 기무리
- isLoad_NPC = false;
- isLoad_RandomNPC = false;
+ isLoad_NPC = true;
+ isLoad_RandomNPC = true;
#endif //
#ifdef 나
isLoad_RandomNPC = true;
@@ -1166,8 +1184,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
}
{
CNPC_EleazarFig::NPCDESC NPCDesc{};
- NPCDesc.vPos = _float4(101.f, 14.f, 100.f, 1.f);
- NPCDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
+ NPCDesc.vPos = _float4(96.311f, 4.676f, 77.116f, 1.f);
+ NPCDesc.vRotQ = _float4(0.f, 0.691f, 0.f, 0.723f);
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_NPC, &NPCDesc))) {
return E_FAIL;
}
@@ -1225,6 +1243,13 @@ void CLevel_GamePlay::ResetLevel_Environment()
vSpecular = _float4(0.0f, 0.0f, 0.0f, 0.0f);
}
m_pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
+
+ m_pLight->Get_Component()->RotationQ(XMVectorSet(0.581f, 0.239f, -0.183f, 0.757f));
+ m_pLight->Get_Component()->Translation(XMVectorSet(0.f, 0.f, 0.f, 1.f));
+ m_pGameInstance->Set_Environment(_float3(0.54300f, 0.40100f, 4.00000f), _float(0.700), _float2(0.075f, 0.150f),
+ _float2(2.300f, 10.000f), _float4(0.0047f, 0.0018f, 0.0018f, 0.0018f),
+ _float4(2.f, 1.f, 1.f, 1.f), _float3(-55.9f, -10.f, -50.f), _float3(50.f, 100.f, 100.f));
+ m_pLight->Capture_PreShadow();
}
pair> CLevel_GamePlay::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID, void* pArg)
diff --git a/Jusin154_Team3D/Client/Private/Level_Loading.cpp b/Jusin154_Team3D/Client/Private/Level_Loading.cpp
index 8a9049abe..b177ce3f2 100644
--- a/Jusin154_Team3D/Client/Private/Level_Loading.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Loading.cpp
@@ -87,6 +87,7 @@ void CLevel_Loading::Update(_float fTimeDelta)
case LEVEL::FIELD:
{
pairLevel = CLevel_Field::Create(m_pDevice, m_pContext, m_eNextLevelID, nullptr);
+ Capture_TerrainPreShadow();
} break;
case LEVEL::RESTART:
{
diff --git a/Jusin154_Team3D/Client/Private/Light_Main.cpp b/Jusin154_Team3D/Client/Private/Light_Main.cpp
index 86b3fa2c6..fa319d2fd 100644
--- a/Jusin154_Team3D/Client/Private/Light_Main.cpp
+++ b/Jusin154_Team3D/Client/Private/Light_Main.cpp
@@ -56,15 +56,12 @@ HRESULT CLight_Main::Render()
HRESULT CLight_Main::Capture_PreShadow()
{
- CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND);
- assert(nullptr != pLayer);
+ Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND));
+ Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_UNIFIED));
+ Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGSMEADE));
+ Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGWART));
+ Add_PreShadowRenderGroup(m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_HOGWART));
- const list* pObjects = pLayer->Get_Objects();
- for (auto& pObject : *pObjects) {
- if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) {
- assert(false);
- }
- }
vector<_float3> vNeededPos = {};
vNeededPos.reserve(12);
{
@@ -172,6 +169,19 @@ _matrix CLight_Main::Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3
return XMMatrixOrthographicOffCenterLH(fMinX, fMaxX, fMinY, fMaxY, fMinZ, fMaxZ);
}
+void CLight_Main::Add_PreShadowRenderGroup(CLayer* pLayer)
+{
+ if (nullptr == pLayer) {
+ return;
+ }
+ const list* pObjects = pLayer->Get_Objects();
+ for (auto& pObject : *pObjects) {
+ if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) {
+ assert(false);
+ }
+ }
+}
+
CLight_Main* CLight_Main::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 092dad3b3..59e8c346e 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -211,6 +211,10 @@
#include "Avadakedavra.h"
#include "Goblin_Teleport.h"
+#include "PotionBroken.h"
+#include "PotionScreen.h"
+#include "HitScreen.h"
+#include "BroomRace_Bubble.h"
#include "TrollSwing.h"
#include "Troll_Nomal_Smoke.h"
@@ -240,6 +244,7 @@
#include "Ranrok_DeadSplash.h"
#include "Ranrok_DeadImpact.h"
#include "Ranrok_Prop.h"
+#include "Ranrok_PropHit.h"
#include "StunEffect.h"
#include "Box_Splesh.h"
@@ -559,9 +564,9 @@ HRESULT CLoader::Loading_For_GamePlay()
#endif //
#ifdef 기무리
isLoad_Background = true;
- isLoad_Hogwart = false;
- isLoad_UI_SEQUANTIAL = false;
- isLoad_NPC = false;
+ isLoad_Hogwart = true;
+ isLoad_UI_SEQUANTIAL = true;
+ isLoad_NPC = true;
isLoad_Monster = true;
#endif //
#ifdef 나
@@ -2534,10 +2539,10 @@ HRESULT CLoader::Loading_For_GamePlay()
}
}
{ // LIGHT PHYSX DYNAMIC
- CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{};
{
+ CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{};
Desc.eType = ACTOR::BOX;
- Desc.ePxRigidBodyFlags = { /*PSX::PxRigidBodyFlag::eKINEMATIC*/ };
+ Desc.ePxRigidBodyFlags = { };
Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
Desc.ePxMaterialTypes = { PXMATERIAL::DEFAULT };
Desc.vMatInfo = { 0.5f, 0.5f, 0.6f };
@@ -2549,6 +2554,15 @@ HRESULT CLoader::Loading_For_GamePlay()
Desc.vAutoDamping = { 1.f, 1.f };
Desc.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
Desc.vLocalTranslation = { 0.f, 0.f, 0.f };
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
+ return E_FAIL;
+ }
}
CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC ShieldDesc{};
@@ -2637,12 +2651,6 @@ HRESULT CLoader::Loading_For_GamePlay()
RanrokDesc.vLocalTranslation = { 0.f, 5.f, 0.f };
}
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
- return E_FAIL;
- }
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
- return E_FAIL;
- }
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, ShieldDesc)))) {
return E_FAIL;
}
@@ -2660,10 +2668,6 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_RANROK"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, RanrokDesc)))) {
return E_FAIL;
}
- Desc.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC };
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
- return E_FAIL;
- }
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
@@ -2947,11 +2951,35 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CScreen_Wind::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPotionBroken::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPotionScreen::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CHitScreen::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBroomRace_Bubble::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_PropHit::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+
+
+
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CEffectPool::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_WorldLook::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
@@ -4117,8 +4145,8 @@ HRESULT CLoader::Loading_For_GamePlay()
{
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"));
CMotion_Trail::MODELCAPTURE_DESC Desc{};
- Desc.fMaxCaptureLifeTime = 2.f;
- Desc.iMaximumCapture = 4;
+ Desc.fMaxCaptureLifeTime = 0.3f;
+ Desc.iMaximumCapture = 16;
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
return E_FAIL;
@@ -4128,8 +4156,8 @@ HRESULT CLoader::Loading_For_GamePlay()
{
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model"));
CMotion_Trail::MODELCAPTURE_DESC Desc{};
- Desc.fMaxCaptureLifeTime = 2.f;
- Desc.iMaximumCapture = 4;
+ Desc.fMaxCaptureLifeTime = 0.7f;
+ Desc.iMaximumCapture = 16;
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp
index cbfda2425..3be107150 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp
@@ -72,6 +72,10 @@ void CMapElement_Cave::Late_Update(_float fTimeDelta)
if (m_bVisible)
{
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+#ifdef Bin
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this);
+#endif // Bin
#ifdef _DEBUG
m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, m_pTriggerBox);
#endif // _DEBUG
@@ -162,7 +166,7 @@ HRESULT CMapElement_Cave::Ready_TriggerBox()
CTriggerBox::TRIGGERBOX_DESC Desc = {};
XMStoreFloat4(&Desc.vPosition_Radius, m_pTransformCom->Get_State(STATE::POSITION));
- Desc.vPosition_Radius.w = 10.f;
+ Desc.vPosition_Radius.w = 3.f;
m_pTriggerBox = CTriggerBox::Create(m_pDevice, m_pContext, &Desc);
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
index 3d3ab9df3..7cb92d7cb 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Chest.cpp
@@ -59,6 +59,7 @@ HRESULT CMapElement_Chest::Initialize(void* pArg)
static_cast(m_pRigidBody)->Set_HalfGeometryInfo(pDesc->vBoxSize);
static_cast(m_pRigidBody)->Move_LocalPos(XMVectorSet(0.f, 0.f, 0.f, 1.f), XMLoadFloat3(&pDesc->vBoxLocalPosition));
+ m_pRigidBody->Set_Kinematic(true);
m_bChest = true;
return S_OK;
}
@@ -235,7 +236,8 @@ HRESULT CMapElement_Chest::Ready_Components(void* pArg)
// RIGID_BODY
CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX);
- if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), (CComponent**)&m_pRigidBody, &Desc))) {
+ Desc.bAutoOwnerTranslation = false;
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), (CComponent**)&m_pRigidBody, &Desc))) {
return E_FAIL;
}
@@ -307,10 +309,12 @@ void CMapElement_Chest::Chage_State()
case CMapElement_Chest::CHEST_STATE::FOUND:
m_iShaderPass_Index = 21; //ENUM_CLASS(SHADER_PASS_MESH::DEFAULT);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_FOUND, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
break;
case CMapElement_Chest::CHEST_STATE::OPENED:
m_iShaderPass_Index = ENUM_CLASS(SHADER_PASS_MESH::DEFAULT);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
m_pLid->Open();
break;
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
index 1c8c4e357..53be26e21 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
@@ -65,6 +65,9 @@ void CMapElement_Door::ActingIdle()
m_bDrive = true;
m_pJoint->setRevoluteJointFlag(PSX::PxRevoluteJointFlag::eDRIVE_ENABLED, true);
m_pJoint->setDriveForceLimit(120.f);
+
+ // close
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_CLOSE, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
}
if (true == m_bDrive) { // 드라이브 중이면
if (fCurrentDegree > 0.f) {
@@ -138,7 +141,8 @@ void CMapElement_Door::OnCollision(CGameObject* pOther, void* pDesc)
m_vKinematicTimer.x = FLT_EPSILON3;
return;
}
-
+ // open
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
m_vKinematicTimer.x = FLT_EPSILON3;
}
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp
index 96e04adb8..f7395f9f4 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp
@@ -50,8 +50,8 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg)
// RIGID_BODY
CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
- Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX);//pPhysXDummyDesc->iSubKind;
- if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), (CComponent**)&m_pRigidBody, &Desc))) {
+ Desc.iSubKind = ENUM_CLASS(PXOBJECT::BOX);
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_THROWABLE_BOX"), (CComponent**)&m_pRigidBody, &Desc))) {
return E_FAIL;
}
@@ -61,16 +61,16 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg)
static_cast(m_pRigidBody)->Move_LocalPos(XMVectorSet(0.f, 0.f, 0.f, 1.f), XMLoadFloat3(&pDesc->vBoxLocalPosition));
//static_cast(m_pRigidBody)->Set_Kinematic(false);
- if (false == m_isPooled)
- {
- m_bVisible = true;
- m_pInfoInstance->Regist_ActiveInteractive(this);
- }
- else
+ if (true == m_isPooled)
{
m_bVisible = false;
static_cast(m_pRigidBody)->Set_Kinematic(true);
}
+ else
+ {
+ m_bVisible = true;
+ m_pInfoInstance->Regist_ActiveInteractive(this);
+ }
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
@@ -99,7 +99,7 @@ void CMapElement_Interactable::Late_Update(_float fTimeDelta)
{
if (m_bVisible)
{
- if (m_isGraped == true)
+ if (m_bThrow == true)
{
_float fRadius = m_pModelComs[0]->Get_Radius();
@@ -344,123 +344,77 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f
_float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos));
- PSX::PxSweepBuffer pxBuffer = {};
+ PSX::PxSweepBufferN<12> pxBuffer = {};
- _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer);
-
- const PSX::PxSweepHit& hit = pxBuffer.block;
- PSX::PxRigidActor* pActor = hit.actor;
- PSX::PxShape* pShape = hit.shape;
+ _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eSTATIC | PSX::PxQueryFlag::eNO_BLOCK, pxBuffer);
ON_COLLISION_INFO tagCollInfo = {};
-
+ XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
tagCollInfo.vWorldPos.w = 1.f;
-
if (bHit) {
-
- memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position));
-
- memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal));
- XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
- tagCollInfo.fLength = fDistance;
-
-
- if (nullptr != pActor && nullptr != pActor->userData)
- {
- PHYSX_USERDATA* pUserData = static_cast(pActor->userData);
- tagCollInfo.pObject = pUserData->pOwner;
-
- switch (pUserData->eKind)
- {
- case PHYSX_KIND::CCTActor:
- {
- switch (PXOBJECT(pUserData->iSubKind))
- {
- case PXOBJECT::MONSTER:
+ HRESULT hr = CheckHit(&pxBuffer.block, tagCollInfo);
+ if (FAILED(hr)) {
+ PSX::PxSweepHit* hits = pxBuffer.touches;
+ _uint iHitCount = pxBuffer.getNbTouches();
+ for (_uint i = 0; i < iHitCount; ++i) {
+ PSX::PxSweepHit* pHit = &pxBuffer.touches[i];
+ hr = CheckHit(pHit, tagCollInfo);
+ if (SUCCEEDED(hr)) {
break;
- case PXOBJECT::GOBLIN_WARRIOR:
- {
- pUserData->pOwner->OnCollision(this, &tagCollInfo);
- m_bHit = true;
}
- break;
- case PXOBJECT::GOBLIN_MAGICIAN:
- {
- pUserData->pOwner->OnCollision(this, &tagCollInfo);
- m_bHit = true;
- }
- break;
- case PXOBJECT::GOBLIN_ASSASSIN:
- {
- pUserData->pOwner->OnCollision(this, &tagCollInfo);
- m_bHit = true;
- }
- break;
- case PXOBJECT::TROLL:
- {
- pUserData->pOwner->OnCollision(this, &tagCollInfo);
- m_bHit = true;
- }
- break;
- case PXOBJECT::RANROK_BODY:
- case PXOBJECT::RANROK:
- {
- pUserData->pOwner->OnCollision(this, &tagCollInfo);
- m_bHit = true;
- }
- break;
- }
- }
}
}
}
-
- if (bHit == false)
- {
- memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position));
- memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal));
- XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
- tagCollInfo.fLength = fDistance;
- tagCollInfo.pObject = this;
-
- bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eSTATIC, pxBuffer);
-
- const PSX::PxSweepHit& hit = pxBuffer.block;
- PSX::PxRigidActor* pActor = hit.actor;
- PSX::PxShape* pShape = hit.shape;
-
- tagCollInfo.vWorldPos.w = 1.f;
-
- if (bHit)
- {
- memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position));
- memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal));
- XMStoreFloat4(&tagCollInfo.vHitDir, vDir);
- tagCollInfo.fLength = fDistance;
-
- if (nullptr != pActor && nullptr != pActor->userData)
- {
- PHYSX_USERDATA* pUserData = static_cast(pActor->userData);
- tagCollInfo.pObject = pUserData->pOwner;
-
- switch (PXOBJECT(pUserData->iSubKind))
- {
- case PXOBJECT::TERRAIN:
- {
- /* TODO, 터레인 안됨 */
- m_bHit = true;
- break;
- }
- }
-
- }
- }
-
-
- }
-
return tagCollInfo;
}
+HRESULT CMapElement_Interactable::CheckHit(PSX::PxSweepHit* pHit, ON_COLLISION_INFO& Info)
+{
+ HRESULT hr = E_FAIL;
+ PSX::PxActor* pActor = pHit->actor;
+ PSX::PxShape* pShape = pHit->shape;
+ PHYSX_USERDATA* pUserData = { nullptr };
+ CGameObject* pTarget = { nullptr };
+ if (nullptr != pActor && nullptr != pActor->userData || nullptr != pShape && nullptr != pShape->userData) {
+ pUserData = static_cast(pActor->userData);
+ if (nullptr == pUserData) {
+ pUserData = static_cast(pShape->userData);
+ }
+ switch (pUserData->eKind)
+ {
+ case PHYSX_KIND::BODY_STATIC:
+ case PHYSX_KIND::CCTActor:
+ {
+ switch (PXOBJECT(pUserData->iSubKind))
+ {
+ case PXOBJECT::TERRAIN:
+ case PXOBJECT::GOBLIN_WARRIOR:
+ case PXOBJECT::GOBLIN_MAGICIAN:
+ case PXOBJECT::GOBLIN_ASSASSIN:
+ case PXOBJECT::TROLL:
+ case PXOBJECT::RANROK_BODY:
+ case PXOBJECT::RANROK:
+ {
+ hr = S_OK;
+ m_bHit = true;
+ } break;
+ default:
+ break;
+ }
+ } break;
+ default:
+ break;
+ }
+ }
+ if (SUCCEEDED(hr)) {
+ memcpy_s(&Info.vWorldPos, sizeof(Info.vWorldPos), &pHit->position, sizeof(pHit->position));
+ memcpy_s(&Info.vWorldNomal, sizeof(Info.vWorldNomal), &pHit->normal, sizeof(pHit->normal));
+ Info.fLength = pHit->distance;
+ Info.pObject = pUserData->pOwner;
+ Info.pObject->OnCollision(this, &Info);
+ }
+ return hr;
+}
+
CMapElement_Interactable* CMapElement_Interactable::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CMapElement_Interactable* pInstance = new CMapElement_Interactable(pDevice, pContext);
diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp
index 074e2c48a..c2d973f48 100644
--- a/Jusin154_Team3D/Client/Private/MapInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp
@@ -92,6 +92,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa
/* Container */
for (auto* Container = root->FirstChildElement("Container"); Container; Container = Container->NextSiblingElement("Container"))
{
+ _bool hasCollisionMesh = false;
const _char* pName = {};
_uint iMapContainerType = {};
Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType);
@@ -108,11 +109,16 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa
{
Load_StreetContainer(Container, &pContainerObject, pLayerTag);
}
+ else if (2 == iMapContainerType)
+ {
+ hasCollisionMesh = true;
+ Load_BuildingContainer(Container, &pContainerObject, pLayerTag);
+ }
else {
return E_FAIL;
}
- if (FAILED(Load_MapRenderObjects(Container, pContainerObject, pLayerTag))){
+ if (FAILED(Load_MapRenderObjects(Container, pContainerObject, pLayerTag, hasCollisionMesh))){
return E_FAIL;
}
@@ -172,7 +178,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa
return S_OK;
}
-HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapContainer* pContainerObject, const _wchar* pLayerTag)
+HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapContainer* pContainerObject, const _wchar* pLayerTag, _bool hasCollisionMesh)
{
#pragma region ADD_PARTOBJECT
for (auto* PartObject = Container->FirstChildElement("PartObject"); PartObject; PartObject = PartObject->NextSiblingElement("PartObject"))
@@ -192,7 +198,7 @@ HRESULT CMapInfo::Load_MapRenderObjects(tinyxml2::XMLElement* Container, CMapCon
Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag));
}
-
+ Desc.hasCollisionMesh = hasCollisionMesh;
Desc.iMaxLodLevel = iLodLevel;
Desc.pParentTransform = pContainerObject->Get_Component();
const string strKey = CMyTools::ToString(Desc.ModelPrototypeTags.front()) + to_string(iKeyIndex);
diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
index 985e44d08..8e9c8d0f3 100644
--- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
+++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp
@@ -30,7 +30,7 @@ HRESULT CMapObject_Render::Initialize(void* pArg)
//m_Type = static_cast(pDesc->iRenderType);
m_iMaxLodLevel = pDesc->iMaxLodLevel;
-
+ m_hasCollisionMesh = pDesc->hasCollisionMesh;
for (_uint i = 0; i < m_iMaxLodLevel + 1; i++)
{
m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]);
@@ -60,8 +60,11 @@ HRESULT CMapObject_Render::Initialize(void* pArg)
_matrix ColliderMatrix = XMMatrixTranslation(vOffset.x, vOffset.y, vOffset.z) * XMLoadFloat4x4(&m_CombinedWorldMatrix);
XMStoreFloat4(&m_vExtentPosition, ColliderMatrix.r[3]);
- ReadyForPhysX();
- ConvertToPhysX();
+ if(false == m_hasCollisionMesh)
+ {
+ ReadyForPhysX();
+ ConvertToPhysX();
+ }
return S_OK;
}
@@ -86,6 +89,10 @@ void CMapObject_Render::Late_Update(_float fTimeDelta)
m_iNumMeshe = m_pModelComs[m_iLodIndex]->Get_NumMeshes();
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+#ifdef Bin
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this);
+#endif // Bin
}
}
diff --git a/Jusin154_Team3D/Client/Private/NPCInteraction.cpp b/Jusin154_Team3D/Client/Private/NPCInteraction.cpp
index 835ea50ff..e3f09a8b8 100644
--- a/Jusin154_Team3D/Client/Private/NPCInteraction.cpp
+++ b/Jusin154_Team3D/Client/Private/NPCInteraction.cpp
@@ -196,7 +196,6 @@ void CNPCInteraction::Priority_Update(_float fTimeDelta)
m_fFontSize = 0;
m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&m_pBoxInfo.fPosition));
}
-
}
void CNPCInteraction::Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
index 826dd40ea..f3c8c8549 100644
--- a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
+++ b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp
@@ -38,7 +38,9 @@ HRESULT CNPC_EleazarFig::Initialize(void* pArg)
m_pCharacter_Controller->Set_Position(vPos);
m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ));
- m_pModelCom->Set_AnimationIndex(0, true);
+ _int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
+ m_pModelCom->Set_AnimationIndex(iRandom, false, 1.f, false, 1.f, false);
+
m_pCallBack_Behavior->Initialize(m_pCharacter_Controller);
m_pCallBack_HitReport->Initialize(m_pCharacter_Controller);
m_bNpc = true;
@@ -58,8 +60,6 @@ void CNPC_EleazarFig::Priority_Update(_float fTimeDelta)
void CNPC_EleazarFig::Update(_float fTimeDelta)
{
- m_pFSM->Update_State(fTimeDelta);
-
if (m_pModelCom->IsFinishedAnim())
{
_int iRandom = m_pGameInstance->Real_Random_Int(0, 12);
@@ -356,6 +356,7 @@ void CNPC_EleazarFig::Free()
void CNPC_EleazarFig::Describe_Entity()
{
+ m_pTransformCom->Describe_Entity();
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 2e065dc41..11b9d3c00 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -56,7 +56,7 @@ HRESULT CPlayer::Initialize(void* pArg)
Load_KeyFrame();
#if 진우
- m_isDebugMode = true; // 디버그 무적 모드
+ m_isDebugMode = false; // 디버그 무적 모드
#endif
#if 나
m_isDebugMode = true; // 디버그 무적 모드
@@ -127,6 +127,8 @@ HRESULT CPlayer::Initialize(void* pArg)
m_fRayDistance = 5.f;
m_pModelCom->Set_DisableRootMotionScale(true);
+ Ready_Sound_Events("../Bin/Resources/Models/Human/PlayableCharacter/KeyFrame.xml");
+
return S_OK;
}
@@ -145,7 +147,6 @@ void CPlayer::Update(_float fTimeDelta)
Update_CameraCoordinateSystem(fTimeDelta);
UpdateGrapInteractive(fTimeDelta);
Update_RaycastElements();
-
m_pFSM->Update_State(fTimeDelta);
Play_SpellHitAnim();
@@ -442,6 +443,11 @@ void CPlayer::ExitBattle()
m_pCharacter_Controller->Set_Position(XMLoadFloat4(&m_OriginPos));
}
+void CPlayer::Add_TurboBoost(_float fAmount)
+{
+ m_pBroom->Add_TurboBoost(fAmount);
+}
+
HRESULT CPlayer::Render_Shadow(SHADOW eType)
{
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
@@ -579,6 +585,9 @@ void CPlayer::Trigger(CTimeSocket& Socket)
m_pModelCom->Set_AnimationIndex(m_Animation[STATEANIM::SPAWN].first, m_Animation[STATEANIM::SPAWN].second);
}
}
+ else if (pContents->vFlags.b[2]) {
+ m_pFSM->Change_State(FSMSTATE::DODGE);
+ }
} break;
case TIMESOCKET_FUNC::BIND_SOCKET_MATRIX:
{
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index bf448e6b9..ff87b6fcf 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -67,10 +67,7 @@ void CPlayer::Get_UIState(_int UIState)
HRESULT CPlayer::InputAction()
{
- if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
- m_eUIState !=ENUM_CLASS(UI_STATE::QUEST) &&
- m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
- m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT))
+ if (IsInputLocked())
{
if (
m_pGameInstance->Key_Down(DIK_SPACE)
@@ -116,11 +113,7 @@ HRESULT CPlayer::InputAction()
HRESULT CPlayer::InputMove()
{
- if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
- m_eUIState != ENUM_CLASS(UI_STATE::QUEST) &&
- m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
- !m_bDuel_ZOnlyMove &&
- m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT))
+ if (IsInputLocked() && !m_bDuel_ZOnlyMove)
{
if (m_pGameInstance->Key_Pressing(DIK_W)
|| m_pGameInstance->Key_Pressing(DIK_A)
@@ -136,11 +129,7 @@ HRESULT CPlayer::InputMove()
HRESULT CPlayer::InputKeyUpMove()
{
- if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
- m_eUIState != ENUM_CLASS(UI_STATE::QUEST) &&
- m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
- !m_bDuel_ZOnlyMove &&
- m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT))
+ if (IsInputLocked() && !m_bDuel_ZOnlyMove)
{
if (m_pGameInstance->Key_Up(DIK_W)
|| m_pGameInstance->Key_Up(DIK_A)
@@ -155,10 +144,7 @@ HRESULT CPlayer::InputKeyUpMove()
HRESULT CPlayer::InputSpell()
{
- if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
- m_eUIState != ENUM_CLASS(UI_STATE::QUEST) &&
- m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
- m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) {
+ if (IsInputLocked()) {
if (
m_pGameInstance->Key_Down(DIK_1)
|| m_pGameInstance->Key_Down(DIK_2)
@@ -180,10 +166,7 @@ HRESULT CPlayer::InputSpell()
HRESULT CPlayer::InputAim()
{
- if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
- m_eUIState != ENUM_CLASS(UI_STATE::QUEST) &&
- m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
- m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT)) {
+ if (IsInputLocked()) {
if (m_pGameInstance->Mouse_Pressing(DIM_RBUTTON) ||
m_pGameInstance->Mouse_Pressing(DIM_LBUTTON))
{
@@ -253,6 +236,9 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
else if (m_pGameInstance->Key_Down(DIK_G)) {
Get_PartObject()->Set_Visible(true);
m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L), m_Animation[STATEANIM::POTION].first, m_Animation[STATEANIM::POTION].second);
+
+
+
}
else if (m_pGameInstance->Key_Down(DIK_B)) {
m_pFSM->Change_State(FSMSTATE::BROOM_RIDE);
@@ -941,6 +927,14 @@ void CPlayer::Behavior_BlinkEnter()
m_pEffectPool->Use_Skill(SKILL_TYPE::BLINK, this);
},
0.1f);
+
+ Add_Sound_Event(m_Animation[STATEANIM::DODGE].first,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BLINK_2, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ },
+ 0.01f);
+
+
}
HRESULT CPlayer::Behavior_BlinkExitCheck(_float fTimeDelta)
@@ -1300,6 +1294,13 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck(_float fTimeDelta)
pair<_uint, _bool> pairAnimInfo;
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+
+ if (m_pBroom->Get_Ride())
+ {
+ m_pFSM->Change_State(FSMSTATE::BROOM_RIDE);
+ return E_FAIL;
+ }
+
if (m_pGameInstance->Mouse_Down(DIM_LBUTTON))
{
_uint iCurr = m_pModelCom->Get_AnimIndex();
@@ -1356,16 +1357,15 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck(_float fTimeDelta)
m_pFSM->Change_State(FSMSTATE::COMBAT);
return E_FAIL;
}
-
- if (SUCCEEDED(InputSpell()))
+ if (fRatio >= 0.1f)
{
- if (fRatio >= 0.1f)
+ if (SUCCEEDED(InputSpell()))
{
m_pFSM->Change_State(FSMSTATE::COMBAT);
return E_FAIL;
+
}
}
-
if (iCurrAnimIndex == m_Animation[STATEANIM::LIGHT_ATTACK].first+3)
{
if (SUCCEEDED(InputAction()))
@@ -1641,6 +1641,7 @@ void CPlayer::Behavior_SpellExit()
m_pInfoInstance->Set_SearchLockOnFlag(true);
m_pModelCom->Set_BlendDuration(0.3f);
Reset_Event();
+ m_pGameInstance->Sound_Stop(SOUND::SD_KIND::SP_BOMBARD_36, SD_CHANNEL_GROUP::EFFECT);
m_bLookAt = false;
m_bSpellHit = false;
m_bStartSpellAnim = false;
@@ -1715,6 +1716,34 @@ void CPlayer::Behavior_ShieldEnter()
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); },
0.1f);
+
+ Add_Sound_Event(pairAnimInfo.first,
+ [this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_PROTEGO, SD_CHANNEL_GROUP::VOICE, false, 0.7f); },
+ 0.01f);
+
+ Add_Sound_Event(pairAnimInfo.first,
+ [this]() {
+ _int iRand = m_pGameInstance->Real_Random_Int(0, 4);
+ switch (iRand)
+ {
+ case 0:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_4, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 1:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_8, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 2:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_13, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 3:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_22, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ case 4:
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_30, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ break;
+ }
+ },
+ 0.1f);
}
HRESULT CPlayer::Behavior_ShieldExitCheck(_float fTimeDelta)
@@ -1945,10 +1974,13 @@ void CPlayer::Behavior_ParryEnter()
}
Add_Event(pairAnimInfo.first,
- [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject());
- m_pGameInstance->SlowMotion(0.4f, 0.2f); },
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY_SIDE, Get_PartObject());
+ m_pGameInstance->SlowMotion(0.4f, 0.2f); },
0.01f);
+ Add_Sound_Event(pairAnimInfo.first,
+ [this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);},
+ 0.01f);
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY, this); },
@@ -2018,6 +2050,8 @@ void CPlayer::Behavior_HitEnter()
}
+ m_pEffectPool->Use_Skill(SKILL_TYPE::SCREEN_HIT, this);
+
ProcessHitBehavior();
}
@@ -2092,10 +2126,9 @@ void CPlayer::Behavior_Spell_LearningEnter()
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false);
Add_Event(pairAnimInfo.first,
[this]() {pair<_uint, _bool> pairAnimInfo;
- pairAnimInfo = m_Animation[STATEANIM::SPELL_LEARNING_WANDWAVE]; },
+ pairAnimInfo = m_Animation[STATEANIM::SPELL_LEARNING_WANDWAVE];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false); },
0.95f);
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, false);
}
HRESULT CPlayer::Behavior_Spell_LearningExitCheck(_float fTimeDelta)
@@ -2127,6 +2160,7 @@ void CPlayer::Behavior_Broom_RideEnter()
{
m_pFSM->Enable_State(FSMSTATE::BROOM_RIDE);
m_pBroom->Set_Ride(true);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_RIDE, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
pair<_uint, _bool> pairAnimInfo;
pairAnimInfo = m_Animation[STATEANIM::BROOM_MOUNT];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
@@ -2350,6 +2384,7 @@ void CPlayer::Behavior_Broom_HoverExit()
void CPlayer::Behavior_Broom_FlyEnter()
{
m_pFSM->Enable_State(FSMSTATE::FLY);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_NORMAL, SD_CHANNEL_GROUP::EFFECT, true, 0.7f);
Reset_Event();
}
@@ -2523,6 +2558,8 @@ void CPlayer::Behavior_Broom_FlyExit()
void CPlayer::Behavior_Broom_TurboFlyEnter()
{
m_pFSM->Enable_State(FSMSTATE::TURBOFLY);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_BOOST, SD_CHANNEL_GROUP::EFFECT, true, 0.7f);
+
}
HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
@@ -2656,6 +2693,7 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
void CPlayer::Behavior_Broom_TurboFlyExit()
{
m_pFSM->Disable_State(FSMSTATE::TURBOFLY);
+ m_pGameInstance->Sound_Stop(SOUND::SD_KIND::BROOM_BOOST, SD_CHANNEL_GROUP::EFFECT);
Reset_Event();
}
@@ -2663,6 +2701,7 @@ void CPlayer::Behavior_Broom_DismountEnter()
{
pair<_uint, _bool> pairAnimInfo;
m_bOnce = false;
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::BROOM_DOWN, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
m_pInfoInstance->Event_CallBack(TEXT("BroomRide"), &m_bOnce);
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_DISMOUNT);
m_pFSM->Enable_State(FSMSTATE::BROOM_DISMOUNT);
@@ -2958,6 +2997,19 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Add_Event(AnimIndex,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); },
0.f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_BOMBARDA, SD_CHANNEL_GROUP::VOICE, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_36, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);},
+ 0.01f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_9, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
+ 0.3f);
+
+
Info.pText = TEXT("봄바르다!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
break;
@@ -2970,6 +3022,16 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Add_Event(AnimIndex,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DESCENDO_SIDE, Get_PartObject()); },
0.f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_DECENDO, SD_CHANNEL_GROUP::VOICE, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_0, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_5, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_6, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
+ 0.01f);
+
+
Info.pText = TEXT("디센도!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
break;
@@ -2982,6 +3044,13 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Add_Event(AnimIndex,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); },
0.f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_LEVIOSO, SD_CHANNEL_GROUP::VOICE, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LEVIOSA_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
+ 0.01f);
+
Info.pText = TEXT("레비오소!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
break;
@@ -2995,6 +3064,17 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Add_Event(AnimIndex,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::ACCIO_SIDE, Get_PartObject()); },
0.f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_ACCIO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
+ 0.01f);
+
+ Add_Sound_Event(AnimIndex,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_ACCIO_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
+ 0.26f);
+
Info.pText = TEXT("아씨오!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
break;
@@ -3078,6 +3158,13 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LUMOS, Get_PartObject()); },
0.f);
+
+ Add_Sound_Event(pairAnimInfo.first,
+ [this]() {
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_LUMOS, SD_CHANNEL_GROUP::VOICE, false, 0.7f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LUMOS_0, SD_CHANNEL_GROUP::EFFECT, false, 0.1f); },
+ 0.01f);
+
Info.pText = TEXT("루모스!");
m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info);
m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_R), m_Animation[STATEANIM::LUMOS].first, m_Animation[STATEANIM::LUMOS].second);
@@ -3130,6 +3217,7 @@ void CPlayer::Play_SpellHitAnim()
case ENUM_CLASS(SKILL_TYPE::DESCENDO):
pairAnimInfo = m_Animation[STATEANIM::DESCENDO];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_DECENDO_7, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
break;
}
m_pFSM->Change_State(FSMSTATE::SPELL);
@@ -3180,6 +3268,19 @@ void CPlayer::Hit_Levioso(_float fTimeDelta)
}
}
+_bool CPlayer::IsInputLocked()
+{
+ if (m_eUIState != ENUM_CLASS(UI_STATE::SPELL) &&
+ m_eUIState != ENUM_CLASS(UI_STATE::QUEST) &&
+ m_eUIState != ENUM_CLASS(UI_STATE::SPELLLNEARN) &&
+ m_eUIState != ENUM_CLASS(UI_STATE::NPC_INTERACT))
+ {
+ return true;
+ }
+
+ return false;
+}
+
void CPlayer::Add_FSM()
{
#pragma region Behavior_Movement_NotFocus
diff --git a/Jusin154_Team3D/Client/Private/PotionBroken.cpp b/Jusin154_Team3D/Client/Private/PotionBroken.cpp
new file mode 100644
index 000000000..48e9f5aaa
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/PotionBroken.cpp
@@ -0,0 +1,162 @@
+#include "pch.h"
+#include "PotionBroken.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CPotionBroken::CPotionBroken(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CPotionBroken::CPotionBroken(const CPotionBroken& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CPotionBroken::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/PotionEffect")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CPotionBroken::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_fDuration = 5.f;
+
+ return S_OK;
+}
+
+void CPotionBroken::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CPotionBroken::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CPotionBroken::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CPotionBroken::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ CEffectParts* pPotionEffect = Get_PartObject("PotionEffect");
+ CEffectParts* pPotionSmoke = Get_PartObject("PotionSmoke");
+
+ _vector vPosVector = m_pOwner->Get_Component()->Get_State(STATE::POSITION);
+
+ pPotionEffect->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+ pPotionSmoke->Get_Component()->Set_State(STATE::POSITION, vPosVector);
+
+ pPotionEffect->Set_Visible(true);
+ pPotionSmoke->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CPotionBroken::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CPotionBroken::Ready_Child()
+{
+ return S_OK;
+}
+
+CPotionBroken* CPotionBroken::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CPotionBroken* pInstance = new CPotionBroken(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CPotionBroken");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CPotionBroken::Clone(void* pArg, CGameObject* pOwner)
+{
+ CPotionBroken* pInstance = new CPotionBroken(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CPotionBroken");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CPotionBroken::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+}
+
+void CPotionBroken::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CPotionBroken::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CPotionBroken::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/PotionScreen.cpp b/Jusin154_Team3D/Client/Private/PotionScreen.cpp
new file mode 100644
index 000000000..01e0b20d4
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/PotionScreen.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "PotionScreen.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "Goblin_BattleAxe.h"
+#include "TrailObject.h"
+
+CPotionScreen::CPotionScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CPotionScreen::CPotionScreen(const CPotionScreen& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CPotionScreen::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/PotionScreen")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CPotionScreen::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_fDuration = 4.f;
+
+
+
+ return S_OK;
+}
+
+void CPotionScreen::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CPotionScreen::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+}
+
+void CPotionScreen::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CPotionScreen::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ CEffectParts* pPotion_ScreenFX = Get_PartObject("Potion_ScreenFX");
+
+ pPotion_ScreenFX->Set_Visible(true);
+
+
+ return S_OK;
+}
+
+HRESULT CPotionScreen::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CPotionScreen::Ready_Child()
+{
+ return S_OK;
+}
+
+CPotionScreen* CPotionScreen::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CPotionScreen* pInstance = new CPotionScreen(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CPotionScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CPotionScreen::Clone(void* pArg, CGameObject* pOwner)
+{
+ CPotionScreen* pInstance = new CPotionScreen(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CPotionScreen");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CPotionScreen::OnCollision(CGameObject* pOther, void* pDesc)
+{
+
+
+}
+
+void CPotionScreen::Free()
+{
+ __super::Free();
+
+
+}
+#ifdef _DEBUG
+void CPotionScreen::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CPotionScreen::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Protego.cpp b/Jusin154_Team3D/Client/Private/Protego.cpp
index bce139a3f..6c2dcab10 100644
--- a/Jusin154_Team3D/Client/Private/Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Protego.cpp
@@ -198,6 +198,8 @@ void CProtego::OnCollision(CGameObject* pOther, void* pDesc)
dynamic_cast(m_pOwner)->Set_Shield(true);
+ m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_PROTEGO_12, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
+
m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object()
->Use_Skill(SKILL_TYPE::PROTEGO_HIT, m_pOwner, &CollisionDesc->vWorldPos);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp
index 37f3eb6a8..646ba28a8 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp
@@ -84,6 +84,11 @@ HRESULT CRanrok::Initialize(void* pArg)
m_pTransformCom->Compress_WorldMatrix(m_vInitialTrans, m_vInitialRotQ);
#endif // _DEBUG
+ m_fRimStrength = 2.3f;
+ m_fRimPower = 2.3f;
+ m_vRimColor = _float4(0.333f, 0.235f, 0.184f, 0.059f);
+
+
return S_OK;
}
@@ -117,6 +122,7 @@ void CRanrok::Update(_float fTimeDelta)
m_pFSM->Update_State(fTimeDelta);
Update_CollidersPosition();
+
if (m_bMotionTrail) {
m_vCaptureTimer.x += fTimeDelta;
if (m_vCaptureTimer.y < m_vCaptureTimer.x) {
@@ -172,7 +178,7 @@ void CRanrok::Update(_float fTimeDelta)
Update_Disolve(fTimeDelta, 0.8f);
-
+ m_pMotionTrailCom->Update_Capture(fTimeDelta);
#pragma region TRAIL_UPDATE
@@ -213,12 +219,12 @@ void CRanrok::Update(_float fTimeDelta)
m_iRanRok_PropIndex++;
static_cast(pEffect)->Set_Index(m_iRanRok_PropIndex);
m_pRanrok_Props.push_back(pEffect);
- }
- PROPUI Prop{};
- XMStoreFloat4(&Prop.vPosition, pEffect->Get_WorldPostion());
- Prop.iIndex = m_iRanRok_PropIndex;
- m_pInfoInstance->Event_CallBack(TEXT("RANROKPROP"), &Prop);
+ PROPUI Prop{};
+ XMStoreFloat4(&Prop.vPosition, pEffect->Get_WorldPostion());
+ Prop.iIndex = m_iRanRok_PropIndex;
+ m_pInfoInstance->Event_CallBack(TEXT("RANROKPROP"), &Prop);
+ }
}
@@ -293,7 +299,7 @@ HRESULT CRanrok::Render()
hr = Render_Nonblend();
}
else if (RENDER::BLEND == eCurrentPass) {
- //hr = Render_Blend();
+ hr = Render_Blend();
hr = S_OK;
}
#ifdef _DEBUG
@@ -375,6 +381,19 @@ void CRanrok::Trigger(CTimeSocket& Socket)
HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
{
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength", &m_fRimStrength, sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimPower, sizeof(_float))))
+ return E_FAIL;
+
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimColor, sizeof(_float4))))
+ return E_FAIL;
+
+
for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::WINGS); i < ENUM_CLASS(RANROK_MESH_ORDER::END); ++i)
{
if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix", m_pModelCom->Get_OffsetMatrix(i).data(),
@@ -384,9 +403,10 @@ HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV)
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
return E_FAIL;
}
- if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) {
+
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::RIMLIGHT))))
return E_FAIL;
- }
+
m_pContext->VSSetShaderResources(26, 1, &pSRV);
@@ -809,13 +829,6 @@ HRESULT CRanrok::Render_Nonblend()
m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
}
-#ifndef 진우
- if (m_bMotionTrail) {
- if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
- return E_FAIL;
- }
- }
-#endif
return S_OK;
}
@@ -856,6 +869,18 @@ HRESULT CRanrok::Render_Blend()
return E_FAIL;
}
}
+
+ if (m_bMotionTrail) {
+
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) {
+ return E_FAIL;
+ }
+ }
+
return S_OK;
}
HRESULT CRanrok::Render_OutLine()
@@ -1118,6 +1143,14 @@ void CRanrok::Describe_Entity()
GUI::Text("Degree %.2f", m_fDegree);
GUI::Text("CurrFlow %d", m_iCurrentFlow);
+
+ GUI::DragFloat("RimStrength", &m_fRimStrength, 0.01f);
+ GUI::DragFloat("RimPower", &m_fRimPower, 0.01f);
+ GUI::ColorEdit4("RimColor", (_float*)(&m_vRimColor));
+ GUI::DragFloat("MotionTrailTime", &m_vCaptureTimer.y);
+
+ m_pMotionTrailCom->Describe_Entity();
+
_float3 Pos;
XMStoreFloat3(&Pos, Get_WorldPostion());
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp
index eae3e2e01..cc969ef6e 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Charge.cpp
@@ -100,7 +100,7 @@ HRESULT CRanrok_Charge::Pre_Setting(CGameObject* pObject, void* pArg)
/* 초기 객체 위치 초기화*/
- _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position();
+ _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition();
pCharge_Goo->Get_Component()->Set_State(STATE::POSITION, vOwnerPos);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp
index 9fb2039a4..d78e14719 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_GroundPulse.cpp
@@ -106,7 +106,7 @@ HRESULT CRanrok_GroundPulse::Pre_Setting(CGameObject* pObject, void* pArg)
/* 초기 객체 위치 초기화*/
- _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position();
+ _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition();
pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix());
pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
index 85c96f06d..db61fec5d 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
@@ -5,6 +5,8 @@
#include "EffectParts.h"
#include "InfoInstance.h"
#include "Player.h"
+#include "EffectPool.h"
+#include "Layer.h"
CRanrok_Prop::CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CEffect_Container{ pDevice, pContext }
@@ -44,7 +46,6 @@ HRESULT CRanrok_Prop::Initialize(void* pArg)
m_pSphere = Get_PartObject("Sphere");
m_pSphereLay = Get_PartObject("Sphere_Noise");
m_pSphereHitLay = Get_PartObject("HitLay");
-
m_pRing = Get_PartObject("Ring");
SAFE_ADDREF(m_pSphere);
@@ -182,6 +183,7 @@ HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg)
m_pSphere->Set_Visible(true);
m_pSphereLay->Set_Visible(true);
m_pRing->Set_Visible(true);
+
pAppear_PT->Set_Visible(true);
pSpline->Set_Visible(true);
@@ -269,23 +271,16 @@ void CRanrok_Prop::OnCollision(CGameObject* pOther, void* pDesc)
if (m_fHp > 0)
{
- CEffectParts* pHitLay = Get_PartObject("HitLay");
- CEffectParts* pHit_PT = Get_PartObject("Hit_PT");
- CEffectParts* pPulse_Purple = Get_PartObject("Pulse_Purple");
-
- pHitLay->Set_Visible(true);
- pHit_PT->Set_Visible(true);
- pPulse_Purple->Set_Visible(true);
-
- pHitLay->Get_Component()->Instane_Buffer_ReStruct();
- pHit_PT->Get_Component()->Instane_Buffer_ReStruct();
- pPulse_Purple->Get_Component()->Instane_Buffer_ReStruct();
+ m_pSphereHitLay->Set_Visible(true);
+ m_pSphereHitLay->Get_Component()->Instane_Buffer_ReStruct();
if (CollisionDesc != nullptr)
{
_vector vHitPos = XMLoadFloat4(&CollisionDesc->vWorldPos);
- pHit_PT->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+
+ CEffectPool* pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
+ pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PROP_HIT, this, &CollisionDesc->vWorldPos);
}
}
@@ -326,6 +321,8 @@ void CRanrok_Prop::Free()
SAFE_RELEASE(m_pSphere);
SAFE_RELEASE(m_pSphereLay);
+
+
if (nullptr != m_pInfoInstance) {
CInfoInstance* pInfo = m_pInfoInstance;
pInfo->Deregist_ActiveEffect(this);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp b/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp
new file mode 100644
index 000000000..ddd543f4f
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Ranrok_PropHit.cpp
@@ -0,0 +1,186 @@
+#include "pch.h"
+#include "Ranrok_PropHit.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_PropHit::CRanrok_PropHit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_PropHit::CRanrok_PropHit(const CRanrok_PropHit& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_PropHit::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_PropHit::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"RanrokPropHit";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_PropHit::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_PropHit::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_PropHit::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_PropHit::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ _float4 vHitPos = *static_cast<_float4*>(pArg);
+
+ /* 초기 객체 비지블*/
+
+ CEffectParts* Hit_PT = Get_PartObject("Hit_PT");
+ CEffectParts* pPulse_Purple = Get_PartObject("Pulse_Purple");
+
+
+ Hit_PT->Set_Visible(true);
+ pPulse_Purple->Set_Visible(true);
+
+
+ /* 초기 객체 위치 초기화*/
+
+ _vector vHittingPos = XMLoadFloat4(&vHitPos);
+ _vector vOwnerPos = m_pOwner->Get_Component()->Get_State(STATE::POSITION);
+
+ Hit_PT->Get_Component()->Set_State(STATE::POSITION, vHittingPos);
+ pPulse_Purple->Get_Component()->Set_State(STATE::POSITION, vOwnerPos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_PropHit::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_PropHit::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_PropHit* CRanrok_PropHit::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_PropHit* pInstance = new CRanrok_PropHit(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_PropHit");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_PropHit::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_PropHit* pInstance = new CRanrok_PropHit(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_PropHit");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_PropHit::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_PropHit::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_PropHit::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_PropHit::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
index fb461f08f..bfd0e04df 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
@@ -106,7 +106,7 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg)
/* 초기 객체 위치 초기화*/
- _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position();
+ _vector vOwnerPos = m_pOwner->Get_Component()->Get_HeadPosition();
pRed_Sphere->Get_Component()->Set_WorldMatrix(m_pOwner->Get_Component()->Get_XMWorldMatrix());
pRed_Sphere->Get_Component()->Set_State(STATE::POSITION, vOwnerPos);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
index fcf859a54..1e87b6306 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
@@ -662,7 +662,7 @@ void CRanrok::Behavior_SwipeEnter()
[this]() {
m_bMotionTrail = false;
},
- 0.6f);
+ 0.5f);
m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
diff --git a/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp b/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp
index 84dcb971e..ee8334f5e 100644
--- a/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Spell_Overlay.cpp
@@ -139,6 +139,11 @@ void CSpell_Overlay::Use_Spell()
m_pInfoInstance->Event_CallBack(TEXT("UseSpell"), &Spell);
}
}
+ else
+ {
+ _int Spell = 0;
+ m_pInfoInstance->Event_CallBack(TEXT("UseSpell"), &Spell);
+ }
}
diff --git a/Jusin154_Team3D/Client/Private/Stupefy.cpp b/Jusin154_Team3D/Client/Private/Stupefy.cpp
index a07cfb09e..75a9bf618 100644
--- a/Jusin154_Team3D/Client/Private/Stupefy.cpp
+++ b/Jusin154_Team3D/Client/Private/Stupefy.cpp
@@ -193,8 +193,6 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
m_pProjectile2->Get_Component()->Set_WorldMatrix(PJ_WorldMat);
- m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/StupefySide.cpp b/Jusin154_Team3D/Client/Private/StupefySide.cpp
index 550b84866..0ae0c99de 100644
--- a/Jusin154_Team3D/Client/Private/StupefySide.cpp
+++ b/Jusin154_Team3D/Client/Private/StupefySide.cpp
@@ -131,10 +131,13 @@ HRESULT CStupefySide::Pre_Setting(CGameObject* pObject, void* pArg)
if (pWand == nullptr)
return E_FAIL;
+ class CEffectParts* pBlurMesh = Get_PartObject("BlurMesh");
+
m_pWandParticle->Set_Visible(true);
m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고
m_pWandLight->Set_Visible(true);
+ pBlurMesh->Set_Visible(true);
/*트레일 초기화 */
m_pWandTrail->Set_Visible(true);
@@ -144,6 +147,7 @@ HRESULT CStupefySide::Pre_Setting(CGameObject* pObject, void* pArg)
/*_vector pPos = pPlayer->Get_WandPos().r[3];*/
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ pBlurMesh->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_Owner()->Get_Component()->Get_State(STATE::POSITION));
m_pWandTrail->SetDissolve(false);
diff --git a/Jusin154_Team3D/Client/Private/Terrain.cpp b/Jusin154_Team3D/Client/Private/Terrain.cpp
index 551c6334e..cb0a8599d 100644
--- a/Jusin154_Team3D/Client/Private/Terrain.cpp
+++ b/Jusin154_Team3D/Client/Private/Terrain.cpp
@@ -57,23 +57,21 @@ void CTerrain::Priority_Update(_float fTimeDelta)
void CTerrain::Update(_float fTimeDelta)
{
-#ifdef _DEBUG
- Describe_Entity();
-#endif // _DEBUG
-
}
void CTerrain::Late_Update(_float fTimeDelta)
{
//if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+#ifdef Bin
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this);
+#endif // Bin
//}
}
HRESULT CTerrain::Render()
{
- if (false == m_bVisible)
- return S_OK;
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
@@ -101,8 +99,6 @@ HRESULT CTerrain::Render()
HRESULT CTerrain::Render_Shadow(SHADOW eType)
{
- if (false == m_bVisible)
- return S_OK;
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
return E_FAIL;
}
@@ -252,24 +248,24 @@ void CTerrain::Free()
#ifdef _DEBUG
void CTerrain::Describe_Entity()
{
- GUI::Begin("Renderer", 0, IMGUI_GLOBAL_BEGIN_FLAG);
- GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
- size_t iIndex = (size_t)this;
+ //GUI::Begin("Renderer", 0, IMGUI_GLOBAL_BEGIN_FLAG);
+ //GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
+ //size_t iIndex = (size_t)this;
-
- _string strTag = "Terrain_" + to_string((size_t)iIndex);
- if (GUI::CollapsingHeader(strTag.c_str()))
- {
- static _int iTuningValue = 16;
- GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024);
- GUI::DragInt("DSN2", (_int*)&iTuningValue, 1, 1024);
- GUI::DragInt("DSN3", (_int*)&iTuningValue, 1, 1024);
- m_vDRN.x = 1.f / (_float)iTuningValue;
- m_vDRN.y = 1.f / (_float)iTuningValue;
- m_vDRN.z = 1.f / (_float)iTuningValue;
- GUI::PopItemWidth();
- GUI::Checkbox("Visible", &m_bVisible);
- }
- GUI::End();
+ //
+ //_string strTag = "Terrain_" + to_string((size_t)iIndex);
+ //if (GUI::CollapsingHeader(strTag.c_str()))
+ //{
+ // static _int iTuningValue = 16;
+ // GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024);
+ // GUI::DragInt("DSN2", (_int*)&iTuningValue, 1, 1024);
+ // GUI::DragInt("DSN3", (_int*)&iTuningValue, 1, 1024);
+ // m_vDRN.x = 1.f / (_float)iTuningValue;
+ // m_vDRN.y = 1.f / (_float)iTuningValue;
+ // m_vDRN.z = 1.f / (_float)iTuningValue;
+ // GUI::PopItemWidth();
+ // GUI::Checkbox("Visible", &m_bVisible);
+ //}
+ //GUI::End();
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Transformation.cpp b/Jusin154_Team3D/Client/Private/Transformation.cpp
index 38e694493..a3887601e 100644
--- a/Jusin154_Team3D/Client/Private/Transformation.cpp
+++ b/Jusin154_Team3D/Client/Private/Transformation.cpp
@@ -253,13 +253,29 @@ void CTransformation::OnCollision(CGameObject* pOther, void* pDesc)
{
return;
}
+ default:
+ break;
}
}
+ default:
+ break;
}
+ {
+ _vector vHeadPosition = pCCT->Get_HeadPosition();
+ m_pInfoInstance->ActiveAt_Interactive(XMVectorSetY(vHeadPosition, vCCTPos.y += pCCT->Get_Height()));
- m_pInfoInstance->ActiveAt_Interactive(XMLoadFloat4(&vCCTPos));
-
- CollisionDesc.pObject->Set_Visible(false);
+ _float fMinusPosition = m_pGameInstance->Real_Random_Float(100, 900);
+ _vector vTempPos = XMVectorSet(0.f, -fMinusPosition, 0.f, 1.f);
+ CollisionDesc.pObject->Get_Component()->Set_State(STATE::POSITION, vTempPos);
+ pCCT->Set_Position(vTempPos);
+ CFSM* pFSM = CollisionDesc.pObject->Get_Component();
+ if (nullptr != pFSM) {
+ CollisionDesc.pObject->Set_Dead();
+ }
+ else {
+ pFSM->Set_State(FSMSTATE::DEAD);
+ }
+ }
//m_pTransformCom->Set_WorldMatrix(CollisionDesc.pObject->Get_Component()->Get_Actor()->getGlobalPose());
diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp
index d45b069d0..6cdb56ab1 100644
--- a/Jusin154_Team3D/Client/Private/Troll.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll.cpp
@@ -454,6 +454,10 @@ void CTroll::Trigger(CTimeSocket& Socket)
{
if (pContents->vFlags.b[0]){
m_pFSM->Change_State(FSMSTATE::RUSH);
+ } else if (pContents->vFlags.b[1]) {
+ m_pFSM->Change_State(FSMSTATE::SLAM);
+ }else if (pContents->vFlags.b[2]) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
}
} break;
case TIMESOCKET_FUNC::SET_ANIMSTATE:
@@ -461,6 +465,21 @@ void CTroll::Trigger(CTimeSocket& Socket)
if (pContents->vFlags.b[0]){
auto& pairAnimation = m_Animation[STATEANIM::RUSH_LOOP];
m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second);
+ } else if (pContents->vFlags.b[1]) {
+ auto& pairAnimation = m_Animation[STATEANIM::SLAM];
+ m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second);
+ } else if (pContents->vFlags.b[2]) {
+ auto& pairAnimation = m_Animation[STATEANIM::IDLE];
+ m_pModelCom->Set_AnimationIndex(pairAnimation.first, pairAnimation.second);
+ }
+ } break;
+ case TIMESOCKET_FUNC::LOOK_AT:
+ {
+ if (pContents->vFlags.b[0]) {
+ m_pTransformCom->LookAt_Horizontal(XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f));
+ }
+ else {
+ m_pTransformCom->LookAt_Horizontal(pContents->pOtherTarget->Get_WorldPostion());
}
} break;
case TIMESOCKET_FUNC::END_CINEMATIC:
@@ -743,6 +762,11 @@ void CTroll::Describe_Entity()
if (GUI::CollapsingHeader("Troll")) {
__super::Describe_Entity();
+ if (GUI::Button("Dead"))
+ {
+ m_pFSM->Change_State(FSMSTATE::DEAD);
+ }
+
_float4x4 socketMat = *m_pModelCom->Get_BoneMatrixPtr("HeadEnd");
_string strSocket = "Socket " + to_string(socketMat._41) + to_string(socketMat._42) + to_string(socketMat._43);
diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp
index c0215355b..0d52d46f4 100644
--- a/Jusin154_Team3D/Client/Private/Troll_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp
@@ -797,9 +797,8 @@ void CTroll::Behavior_DeadEnter()
m_pRigidBody->SetActive(false);
m_pCharacter_Controller->SetActive(false);
- m_pTroll_Particle->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
- m_pTroll_Particle2->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
-
+ m_pTroll_Particle->Set_Visible(false);
+ m_pTroll_Particle2->Set_Visible(false);
m_pLeft_Smoke->Set_Visible(false);
m_pRight_Smoke->Set_Visible(false);
@@ -822,10 +821,6 @@ HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
m_fDeadRatio += fTimeDelta / 3.f;
m_fDeadRatio = min(1.f, m_fDeadRatio);
}
- else
- {
- m_fDeadRatio = 0.f;
- }
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
index 5d9875053..298f87747 100644
--- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp
@@ -125,6 +125,14 @@ HRESULT CTroll_Weapon::Render()
m_pGripShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Green, nullptr, true);
m_pSubShape->Draw(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
#endif // _DEBUG
+
+ {
+ _bool bDisolve = false;
+ _float zero = 0.f;
+ m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool));
+ m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
+ }
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h
index 12f7a934b..1e96134df 100644
--- a/Jusin154_Team3D/Client/Public/Broom.h
+++ b/Jusin154_Team3D/Client/Public/Broom.h
@@ -40,7 +40,7 @@ class CBroom final : public CUnit
void Set_AISpeed(_float speedMul, _float accelMul);
void Set_Move(_bool bMove) { m_bMove = bMove; }
_bool Get_Move() { return m_bMove; }
- void Add_TurboBoost(_float fAmount) { m_fTurboBoost += fAmount; }
+ void Add_TurboBoost(_float fAmount);
_float Get_TurboBoost() { return m_fTurboBoost; }
HRESULT Ready_Child();
@@ -69,6 +69,9 @@ class CBroom final : public CUnit
_float m_fVerticalSpeed = 0.f;
_float m_fTurboBoost = {5.f};
_float m_fTurboBoostChargeDelay = {};
+ _float m_fInputHoldTime = 0.f;
+ _float m_fHoldThreshold = 0.5f;
+
_float m_fFlyAccel = 1.f;
_float m_fFlyDecel = 1.f;
diff --git a/Jusin154_Team3D/Client/Public/BroomRaceManager.h b/Jusin154_Team3D/Client/Public/BroomRaceManager.h
index fbb2b7251..811c03d95 100644
--- a/Jusin154_Team3D/Client/Public/BroomRaceManager.h
+++ b/Jusin154_Team3D/Client/Public/BroomRaceManager.h
@@ -44,6 +44,7 @@ class CBroomRaceManager final : public CGameObject
HRESULT Load_RaceRing();
HRESULT Load_Balloons();
+ HRESULT Load_Broomrace_Effect();
private:
CInfoInstance* m_pInfoInstance = { nullptr };
diff --git a/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h
new file mode 100644
index 000000000..6102b3aa6
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/BroomRace_Bubble.h
@@ -0,0 +1,55 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CBroomRace_Bubble final : public CEffect_Container
+{
+private:
+ CBroomRace_Bubble(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CBroomRace_Bubble(const CBroomRace_Bubble& rhs);
+ virtual ~CBroomRace_Bubble() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+ void CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius);
+
+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 = {};
+ class CEffectParts* m_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CBroomRace_Bubble* 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 66ecd2cc0..a31d85afb 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -33,7 +33,7 @@ namespace Client
MI_Troll_Club_DAENMROSRXO_To
, OUTLINE_READ, MI_DANSROMRO_ToSRO, DragonAuraPass, DragonEtherealEyesPass,
DragonEtherealWingsPass, DragonWingsPass, DragonBodyPass, DragonRedHotPass, DragonPinkHotPass, DragonYellowHotPass,
- PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY
+ PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY, RIMLIGHT
, END
};
enum class UI_STATE {
@@ -60,16 +60,16 @@ namespace Client
ANCIENT_MAGIC_THROW, ANCIENT_MAGIC, ALOHOMORA, PETRIFICUS_TOTALUS, LIGHTNING,
/* PROPS */
- BOX_SPLESH, CHAIL_SPLESH, BARRAL_SPLASH,
+ BOX_SPLESH, CHAIL_SPLESH, BARRAL_SPLASH, POTION_BROKEN, BROOM_RACE_BUBBLE,
/*상태 이펙트*/
- STUN, BLINK,
+ STUN, BLINK,
/*스크린 이펙트*/
- SCREEN_WIND,
+ SCREEN_WIND, SCREEN_HIT , SCREEN_POTION,
/* 히트 이펙트 */
- PROTEGO_HIT, DUELIST_PROTEGO_HIT , GOBLIN_PROTEGO_HIT,
+ 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, ACCIO_SIDE,
@@ -86,7 +86,7 @@ namespace Client
/*란록*/
RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, RANROK_LAND, RANROK_RUSH_BOTTOM,
- RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT, RANROK_PROP,
+ RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT, RANROK_PROP, RANROK_PROP_HIT,
/*듀얼리스트*/
DUELIST_JAP, DUELIST_JAPSIDE , DUELIST_LEVIOSO, DUELIST_PROTEGO,
diff --git a/Jusin154_Team3D/Client/Public/CutSceneInfo.h b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
index c046f9424..24ba1473e 100644
--- a/Jusin154_Team3D/Client/Public/CutSceneInfo.h
+++ b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
@@ -25,7 +25,7 @@ class CCutSceneInfo final : public CBase
void Active_Event(_string& strKey);
HRESULT DeActive_ActiveEvent(_string& strKey);
void Load_Events(pair<_string, TimeLine*>& pairTimeLine);
- HRESULT Clear_AllEvents();
+ HRESULT Clear_AllEvents();
private:
CGameInstance* m_pGameInstance = { nullptr };
class CInfoInstance* m_pInfoInstance = { nullptr };
@@ -40,6 +40,7 @@ class CCutSceneInfo final : public CBase
void Update_WaitEvents(_float fTimeDelta);
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
void Load_CutSceneXML(const string& path);
+ void Set_AllActiveEventsExit();
#ifdef _DEBUG
public:
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
index ed93bbaa8..309746ee8 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
@@ -84,8 +84,8 @@ class CGoblin_Assassin final : public CMonster
_float m_fMoveTime = {};
_bool m_bFirstMove = {};
_bool m_bPos = {};
- _float m_fAccel = { 3.f};
- _float m_fTargetSpeed = {60.f};
+ _float m_fAccel = { 3.f };
+ _float m_fTargetSpeed = { 60.f };
_float m_fSpeed = {};
_bool m_bAir = {};
_float m_fGravityAmount = {};
@@ -98,7 +98,11 @@ class CGoblin_Assassin final : public CMonster
_float m_fMoveDecisionLimit = 1.2f;
_float4 m_vDashDir = {};
- _float2 m_vCaptureTimer = { 0.f, 0.1f };
+ _float2 m_vCaptureTimer = { 0.f, 0.01f };
+
+ _float m_fRimStrength = { 1.f};
+ _float m_fRimPower = { 0.f };
+ _float4 m_vRimColor = {};
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
diff --git a/Jusin154_Team3D/Client/Public/HitScreen.h b/Jusin154_Team3D/Client/Public/HitScreen.h
new file mode 100644
index 000000000..2a3777ae8
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/HitScreen.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CHitScreen final : public CEffect_Container
+{
+private:
+ CHitScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CHitScreen(const CHitScreen& rhs);
+ virtual ~CHitScreen() = 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 = {};
+ class CEffectParts* m_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CHitScreen* 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/InstancedProp.h b/Jusin154_Team3D/Client/Public/InstancedProp.h
index 460ed6b0e..f6d1a6d28 100644
--- a/Jusin154_Team3D/Client/Public/InstancedProp.h
+++ b/Jusin154_Team3D/Client/Public/InstancedProp.h
@@ -19,6 +19,7 @@ class CInstancedProp final : public CGameObject
SHADER_PASS_WORLDMODLE_INSTANCE eShaderPass;
_bool isShake;
_bool bEnableRigidbody;
+ _bool isTree;
_float2 vRadius;
_float2 vSpeed;
_wstring strPrototypeTag;
@@ -38,6 +39,7 @@ class CInstancedProp final : public CGameObject
private:
_bool m_isShake = {};
+ _bool m_isTree = {};
_uint m_iNumMesh = {};
_uint m_iNumInstacne = {};
SHADER_PASS_WORLDMODLE_INSTANCE m_eShaderPass = {};
diff --git a/Jusin154_Team3D/Client/Public/Item_Potion.h b/Jusin154_Team3D/Client/Public/Item_Potion.h
index 1f4333ee3..8dd9ecbf3 100644
--- a/Jusin154_Team3D/Client/Public/Item_Potion.h
+++ b/Jusin154_Team3D/Client/Public/Item_Potion.h
@@ -45,6 +45,7 @@ class CItem_Potion final : public CPartObject
_bool m_bAttach = { true };
_float m_fTimer = {};
_bool m_bHit = {};
+ _bool m_bOnce = {};
private:
HRESULT Ready_Components();
diff --git a/Jusin154_Team3D/Client/Public/Light_Main.h b/Jusin154_Team3D/Client/Public/Light_Main.h
index e030c53cd..cab84486f 100644
--- a/Jusin154_Team3D/Client/Public/Light_Main.h
+++ b/Jusin154_Team3D/Client/Public/Light_Main.h
@@ -29,6 +29,7 @@ class CLight_Main final : public CGameObject
HRESULT Ready_Components(void* pArg);
HRESULT Bind_ShaderResources();
_matrix Get_OffCenterProjMatrix(_fmatrix ViewMatrix, vector<_float3>& WorldPositions);
+ void Add_PreShadowRenderGroup(CLayer* pLayer);
public:
static CLight_Main* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/MapElement_Interactable.h b/Jusin154_Team3D/Client/Public/MapElement_Interactable.h
index 9a8b9982f..67c48aa7f 100644
--- a/Jusin154_Team3D/Client/Public/MapElement_Interactable.h
+++ b/Jusin154_Team3D/Client/Public/MapElement_Interactable.h
@@ -62,6 +62,7 @@ class CMapElement_Interactable final : public CMapElement
virtual HRESULT Initialize(void* pArg) override;
virtual HRESULT Ready_Components(void* pArg) override;
virtual HRESULT Bind_ShaderResources() override;
+ HRESULT CheckHit(PSX::PxSweepHit* pHit, ON_COLLISION_INFO& Info);
public:
static CMapElement_Interactable* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/MapInfo.h b/Jusin154_Team3D/Client/Public/MapInfo.h
index a349b95f9..42ffc523b 100644
--- a/Jusin154_Team3D/Client/Public/MapInfo.h
+++ b/Jusin154_Team3D/Client/Public/MapInfo.h
@@ -20,7 +20,7 @@ class CMapInfo final : public CBase
public:
HRESULT Load_MapObjects(const _char* pFilePath, const _wchar* pLayerTag);
- HRESULT Load_MapRenderObjects(tinyxml2::XMLElement* Container, class CMapContainer* pContainerObject, const _wchar* pLayerTag);
+ HRESULT Load_MapRenderObjects(tinyxml2::XMLElement* Container, class CMapContainer* pContainerObject, const _wchar* pLayerTag, _bool hasCollisionMesh);
HRESULT Load_LightElements(const _char* pFileName, const _wchar* pLayerTag);
HRESULT Load_InteractableElements(const _char* pFileName, const _wchar* pLayerTag);
diff --git a/Jusin154_Team3D/Client/Public/MapObject_Render.h b/Jusin154_Team3D/Client/Public/MapObject_Render.h
index 35f91ed18..b02e6687b 100644
--- a/Jusin154_Team3D/Client/Public/MapObject_Render.h
+++ b/Jusin154_Team3D/Client/Public/MapObject_Render.h
@@ -32,6 +32,7 @@ class CMapObject_Render final : public CMapPartObject // Render PartObject
HRESULT Add_LodModel(const _tchar* pModelPrototypeTag);
private:
+ _bool m_hasCollisionMesh = {};
_bool m_bReadyToCreatePhysX = { false };
_bool m_bConverted = { false };
diff --git a/Jusin154_Team3D/Client/Public/MapPartObject.h b/Jusin154_Team3D/Client/Public/MapPartObject.h
index 6cd557d1e..a0398fdd3 100644
--- a/Jusin154_Team3D/Client/Public/MapPartObject.h
+++ b/Jusin154_Team3D/Client/Public/MapPartObject.h
@@ -14,6 +14,7 @@ class CMapPartObject abstract : public CPartObject
{
public:
typedef struct tagMapObject_Desc {
+ _bool hasCollisionMesh{};
_uint iRenderType{};
CTransform* pParentTransform = { nullptr };
_float3 vScale;
diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h
index fff24a592..ee204f874 100644
--- a/Jusin154_Team3D/Client/Public/Player.h
+++ b/Jusin154_Team3D/Client/Public/Player.h
@@ -59,6 +59,7 @@ class CPlayer final : public CUnit
void Set_Interaction(_bool bInteraction);
void ExitBattle();
void Set_OriginPos(_vector vPos) { XMStoreFloat4(&m_OriginPos, vPos); }
+ void Add_TurboBoost(_float fAmount);
#ifdef _DEBUG
void Render_CameraCoordinateSystem();
#endif // _DEBUG
@@ -318,7 +319,7 @@ class CPlayer final : public CUnit
void Hit_Levioso(_float fTimeDelta);
#pragma endregion
-
+ _bool IsInputLocked();
private:
class CEffectPool* m_pEffectPool = nullptr;
diff --git a/Jusin154_Team3D/Client/Public/PotionBroken.h b/Jusin154_Team3D/Client/Public/PotionBroken.h
new file mode 100644
index 000000000..4d4a22a4a
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/PotionBroken.h
@@ -0,0 +1,46 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CPotionBroken final : public CEffect_Container
+{
+private:
+ CPotionBroken(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CPotionBroken(const CPotionBroken& rhs);
+ virtual ~CPotionBroken() = 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 = {};
+
+public:
+ static CPotionBroken* 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/PotionScreen.h b/Jusin154_Team3D/Client/Public/PotionScreen.h
new file mode 100644
index 000000000..9d955befb
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/PotionScreen.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CPotionScreen final : public CEffect_Container
+{
+private:
+ CPotionScreen(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CPotionScreen(const CPotionScreen& rhs);
+ virtual ~CPotionScreen() = 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 = {};
+ class CEffectParts* m_pPT1 = { nullptr };
+ class CEffectParts* m_pPT2 = { nullptr };
+ class CTrailObject* m_pAttack_Trail = { nullptr };
+ const _float4x4* m_vMat = { nullptr };
+
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+public:
+ static CPotionScreen* 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/Ranrok.h b/Jusin154_Team3D/Client/Public/Ranrok.h
index ec727583a..9ed016f3e 100644
--- a/Jusin154_Team3D/Client/Public/Ranrok.h
+++ b/Jusin154_Team3D/Client/Public/Ranrok.h
@@ -131,7 +131,11 @@ class CRanrok final : public CMonster
_int m_iHpPhase = { 0 };
- _float2 m_vCaptureTimer = { 0.f, 0.1f };
+ _float2 m_vCaptureTimer = { 0.f, 0.05f };
+
+ _float m_fRimStrength = { 1.f };
+ _float m_fRimPower = { 0.f };
+ _float4 m_vRimColor = {};
class CEffect_Container* m_pRanrok_Point = { nullptr };
vector m_pRanrok_Props;
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h b/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h
new file mode 100644
index 000000000..3ed7870e6
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Ranrok_PropHit.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CRanrok_PropHit final : public CEffect_Container
+{
+private:
+ CRanrok_PropHit(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_PropHit(const CRanrok_PropHit& rhs);
+ virtual ~CRanrok_PropHit() = 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 = {};
+
+ class CEffectParts* m_pGooRod_0 = { nullptr };
+ class CEffectParts* m_pSmoke = { nullptr };
+ class CEffectParts* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_PropHit* 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/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml
index acc7e4ff4..4b27f5fda 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml
@@ -298,6 +298,117 @@
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
@@ -935,7 +1046,7 @@
-
+
@@ -1053,7 +1164,7 @@
-
+
@@ -1159,10 +1270,8 @@
-
-
-
-
+
+
@@ -1199,13 +1308,13 @@
-
-
+
+
-
-
+
+
@@ -1236,7 +1345,417 @@
-
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ false
+ true
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
index ef6eadf86..6660da18c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomEffect/Booster_ScreenFX.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:48058f203cc122f819851508bceccc0d9f770dee93b0897c0682335d4aeb2e44
+oid sha256:87477de6575f074df236f26504bad51e532523e69e31b8f94d036c1869cf9581
size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble_Distortion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble_Distortion.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Bubble_Distortion.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Bubble_Distortion.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Hit_Bubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Hit_Bubble.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/Hit_Bubble.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BroomRace/BroomBubble/Hit_Bubble.bin
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 4213fca60..1b565e977 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:028981d804f9832afe880942dcf3d24bb069e8bd928c7e09265810c9adfef0ba
-size 1202
+oid sha256:23000966771a8512c0b32f1a666a6cba9518fa45992e8311ae24975b18b1b917
+size 1210
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 aee30218b..ba6d21857 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:31508b23f35c1ec71bcfbeb87ef87b8e067391ec24efd8a9495025ea55d14337
-size 1152
+oid sha256:7a8ef40eaecedcc5662898171237712720c4c869b1e21f8c6bec81091a8f1c08
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin
index cf29e542b..61f0d6326 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6a0100606913098e13d31222a6d6c1ebf2ef91e90cf3e79077c506fd51bb8b22
+oid sha256:5a8fe1b53adfaf9eace10bf996cc05b6616668a66773b2ced84cfc9dfa9b1dc1
size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin
index 84ce7d2ff..604b52e53 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b55773c87b4110617f7f9248d4918e33293de79decea75812dc919fa9d5d78b7
+oid sha256:77bb612cb740bd5b2031a09ff1bc6957a00e8dedcc2fc7b936264165fc8aa26c
size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin
index fc74bce6a..636416345 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:023dbaf090b11c1e1d477d565ba97b58131ed5c2c550314fd82d7943457de9bb
-size 1093
+oid sha256:0fa80fee4a857d55cacf6dc4f8039190e09cdd29f2d5fabd6f7e76c42228e147
+size 955
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin
new file mode 100644
index 000000000..7b3e12c64
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPropHit.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:236aaf5d29ef132749448425cf3cea9f4c21d72c2689b69c6beb91e8ede0c4ee
+size 148
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 b470b4188..2c86b86b1 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:f29e7cec579177962fda34974b3b56d4454be4de80e3979553fb81838af99585
-size 1202
+oid sha256:ca6bbc7bcc517227b7f36da399f2f664f16ddc5d624e20474e11aab45bbf942b
+size 1210
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 ee28b1d82..18ca3d03e 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:c23f4b98e7e0c473754733ec9f37f8d5d620e7c5ef5fdfaed19fa4c0f207efcc
-size 1152
+oid sha256:5cf3c91a4c3e0ce775a29ae3e1f231301fdb5ac65e645dc8cacaceeb732c8ad7
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin
new file mode 100644
index 000000000..b00142cc7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/BroomBubble.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff1ca8e75ebea41f867732fc47dc4bcde5925dc232e6cb92ae03d939c07100a9
+size 229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin
new file mode 100644
index 000000000..a9acd2044
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/HitScreen.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:88aaafd3c12dd5f1b150642385ec8be16aca8dd4e99e213c97756df90e2836fc
+size 78
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin
new file mode 100644
index 000000000..d7c8b86e1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionEffect.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5cc5c9a5b0657b136b9efe256a9fc8677bd106548fb887f391a9b6e59e53708a
+size 137
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin
new file mode 100644
index 000000000..f188243e2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/PotionScreen.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:792feb72878da417eca760a84249867351e6f721d79a93454d375991059e23b4
+size 83
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
index c5ffa3902..c48e62548 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bb0d150bb6e87ae13f391e22f1e29a1757113db0ae89ea77cd55e5a60b80ea31
-size 202
+oid sha256:3c4b927a7beeec432a1226a380f6bd4a3ce2e367d27a88f74fc7909db0c24b3f
+size 264
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
index e051c7b1a..2598a72f8 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Water_Splesh.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:02dcd1f6c60081714fc430dbb356a018d36b4c9b990782d444c3a3d49166533c
+oid sha256:6eeca8bc2b5de0f28d08c00dd15c8baf509c6c5dc6372c53e2961461412687c7
size 1215
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
index 0f9346928..e3eb25c5b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0c02298204e35c06a863c2d467d3130649f72f6c19ff54daaa8087751f984d95
-size 1162
+oid sha256:af5c86d34488b04462ed4592dc1af43627479fb798c9efa37db550d988ddc1e9
+size 1207
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
index b34dc65d2..ef83264fa 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7eed68d1905cb63a7f8f2750b8fe867cec4811050ac56d2438c4d878db0e91f1
-size 1162
+oid sha256:b27bf57f90e25f28a97485a625ae32ccaa57865f28fe8e22febd42c784b51102
+size 1201
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
index 69bb6a7cd..25fc3822e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Barral/Wood_PT2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e3c7d372b1c4d90abb5994103962a54052570e6e6cdf00ec1bc810c886d4c619
-size 1209
+oid sha256:b12bf1a031b88e47ff2ad63340bee69a81e0631e4df2c17506909e90810ac57c
+size 1248
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
index bfa38e23e..548110648 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Box/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9e336803e9730d9ea4932ae0a5b1770494336898a068931546e823ddd08d5e34
-size 1201
+oid sha256:da43fa49cd287e09edaaacecfb6c4f4603017ad5df6e01380ca0b534ca55c432
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
index d731c7dd8..548110648 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fb765eeb637b8d8424e335b8b0d26309400febb214e98a185aba3968326ccde6
-size 1205
+oid sha256:da43fa49cd287e09edaaacecfb6c4f4603017ad5df6e01380ca0b534ca55c432
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
index 0cb98198c..1a5fc7e49 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ac4c981ed5ae5555e5025eb958e4e4e7bdbb4774effe840c1e9321d65f31873a
-size 1169
+oid sha256:6924d381d2ab6abd95050e117f6631c5f4fa70439d37ac06f15915285cde5e15
+size 1216
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
index 094b9e683..f10033e9c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PorpBroken/Chair/Wood_PT1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6f1dd122ed7323a6fba3e4b05ce471a8f47f482cebc83f91cfe2a8c1059bf678
+oid sha256:82ded9ff50f425382f901aed614212217cca0d2882eee48e635c5aa148b2cdb2
size 1175
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin
new file mode 100644
index 000000000..9c3b99dae
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionEffect.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:efcda4d122efa9c35534cb5690377552fd6806926d21aa5694725f7c9403b9d7
+size 1193
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin
new file mode 100644
index 000000000..1be4d207e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/PotionEffect/PotionSmoke.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5f1eb97158a4849bb87d80eea5b52a3530c3da29699ec88a2c5595bbb6c2492
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
index f829c835c..61ea4da52 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a8c9bcf30d20800a50aec55d63608b8e78b920a28cb4d748c88d85d6c33b8d9c
-size 1169
+oid sha256:9396503b3166f158dc575960e68f6beca5b67411f9aab239940be06259fff598
+size 1219
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
index 21e2db0b7..05d3726c6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b25d71ce9c8b01d692a97fd1cafde0f3de39e8ec8a9c0564cbb322a7a4af94f8
+oid sha256:1d328cbbf43c89cd111f774ed4f5004c48bf84cefca40eabf53ac726b0dd52f6
size 1203
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin
index 8481dbf48..578c1abf6 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:83b9dddf7b517a96f1bcc91a796f9a4c93657e54cdaa65dc4de7e8a101d5634a
+oid sha256:81bec5a4f60073eb477951a6c86f9dcb7afb80f04a4fdd50bf4f4bbc841dc852
size 1207
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin
index d96a96002..733d9d356 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Breath_Black.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:08e11e23999b5dcc17919b73cc01b437a19dde917aec9c2a56c8efc3d14225ea
+oid sha256:9f3cbf2d0129ed1688cb86c260b43c62453da6424734c552f01d43ff4fc3f3a3
size 1200
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
index af007b08e..d2c4a8763 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:331e1f821f1a3e2e2946e4518fb522e1fbc458a63eae997aa3df038c7df2e068
+oid sha256:73ec2cfc0fd0f1cb9de0fa57a257ad2f74f7550754dcbcd123d561f3bfd80cf2
size 1186
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
index fda9da937..d29f71284 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d89f9e5f845f49272670495184b22728d7a66388037fc3af4dd4ba94fa067138
-size 1208
+oid sha256:18ce266881a642bcf12110d78fdf73f1168544a17779a3d1f5f89d013b223bd2
+size 1204
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
index f3cbf3e82..6d0dc8ea1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b50e115762bf8029f73629f47105b33262c410ae192c8e058611521a7d1f9fe7
-size 1240
+oid sha256:33f6322c2c66f4bd98650a8e38ff17cb337410e4abc54374d177898c9ffa6839
+size 1241
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
index e4307715d..7c7409fb1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c20dd7592855085c2cb9fc1c0833bdf01acee294f25c6af300709e050549d04b
-size 1252
+oid sha256:fd02c3a857e30bb2b861fcad88c7700c196159ef9c374c22c2f7d3fcc5b89829
+size 1263
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin
index 097f8eccc..20d1cd7a2 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/GooRod_0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e6db6cb06eda2623a0a189766e4fb384b05c21431ed63b046ef4edfb41e64a1c
+oid sha256:069730a7e324d6517b628ec307b429183a82bc8b3451f9dfceba39a877d27d2e
size 1228
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin
index fdbbf3ee3..d8b0af3a9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Spread_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d6fa2d60a0f35274d2564c245f8d366e6575bd1ea8c1c45c82195a3247d31c1f
+oid sha256:466b9d6c7eeee81bf4318c148c082f6ea6506489274a90b3be0dc22ce98aeda1
size 1294
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Hit_PT.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Hit_PT.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Pulse_Purple.bin
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin
rename to Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPropHit/Pulse_Purple.bin
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
index 2d4920510..14e5eac38 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fb0031bd2934a1da8ee57c3cbd92bf1b916a29884c9d2a8ac591ffadf8a801ad
-size 1240
+oid sha256:ee58782fc0f2135d430f7acb8f9a7ca168df7d26791489b064decb4130ff5001
+size 1241
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
index ac5cca1bd..db8e48248 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:031cfc57f78099e40ea49c57d976c547d79b3b33fcf4c2e3bd42496bfb5d9af3
-size 1252
+oid sha256:c7a7d6745ded6afde37363cbe9afe45cae756b9e3e1f3c35269ceca54703abdb
+size 1263
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
index 87782589c..1b8ea9810 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_ScreenFX.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3d0457c7ae01b3e01651da8a09c564e366ff6ba2ed20557fad0794f89617e7c6
+oid sha256:e7cd1673c8027f0b044e7bbbf98109498f4b591c4a46f19b21fa569d1f4ddf3f
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
index 436d643f8..7efd85f7d 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bc5728c2f4120da79b34554b4c08999485481dad9f67be2f2fb4cb072c1c8367
+oid sha256:73f6a96d45de45ac47140d490e0c85769717cd4254a5ebad8287afdaed2b28a2
size 1111
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin
new file mode 100644
index 000000000..5045f8867
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/HitScreen/Hit_Screen_FX.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9580ffc6821620c2051d76570d150286edde3657cf923557b75adacfecdc79e0
+size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin
new file mode 100644
index 000000000..38bd5bfe7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ScreenFX/PotionScreen/Potion_ScreenFX.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9ec2f3949f22a41dcdcfce5f469e646f9a7b0bf025fb262b859523f34dc91d7b
+size 1219
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin
new file mode 100644
index 000000000..a79a64f3d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/BlurMesh.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7b7f1b095678a75f52ce267c2a92e2498b66376a2205863d68a928dccf31961
+size 1160
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
index 583b930c2..f6f482bff 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/ElfPos/ElfPos.xml
@@ -27,55 +27,55 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml
new file mode 100644
index 000000000..beea5468d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/EffectPart/Bubble_Data.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml
index ab0062bf0..823eec3eb 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_MapContainer_Data.xml
@@ -2683,7 +2683,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
index 9c3b7df91..a0af520b9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml
@@ -1,12 +1,12 @@