diff --git a/GravityStomp/Content/Characters/BP_GSCharacter.uasset b/GravityStomp/Content/Characters/BP_GSCharacter.uasset index 24c6179..17d507b 100644 --- a/GravityStomp/Content/Characters/BP_GSCharacter.uasset +++ b/GravityStomp/Content/Characters/BP_GSCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d4b4e8c580ba862c24b93e82c08dabaf8531627c9a2a73d563c35e115692b0d4 -size 134809 +oid sha256:3ac93d44483e90705c8918a2fccdcfee87d2aa9e2eab6b590111a495f7415d46 +size 269438 diff --git a/GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset b/GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset index 73af27a..3825afa 100644 --- a/GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset +++ b/GravityStomp/Content/Characters/Mannequins/Animations/ABP_Manny.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4a8149b07dd15c7ca509a37b975212a0876c27ed702272e0923a7b341f613024 -size 370824 +oid sha256:6f63ccc27524cc44c4bd870f47bb4facee8a93c5e0d1e44e2c5e9b2963cdb799 +size 370888 diff --git a/GravityStomp/Content/Characters/Mannequins/Animations/Manny/MM_Jump_Montage.uasset b/GravityStomp/Content/Characters/Mannequins/Animations/Manny/MM_Jump_Montage.uasset new file mode 100644 index 0000000..e96c638 --- /dev/null +++ b/GravityStomp/Content/Characters/Mannequins/Animations/Manny/MM_Jump_Montage.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd260b232c8326e5a1e0f1d19d65a8b6e583ed0a8c3e2fe18dc1f34f942e8ba3 +size 9204 diff --git a/GravityStomp/Content/Input/Actions/IA_ToggleFastStomp.uasset b/GravityStomp/Content/Input/Actions/IA_ToggleFastStomp.uasset new file mode 100644 index 0000000..4103397 --- /dev/null +++ b/GravityStomp/Content/Input/Actions/IA_ToggleFastStomp.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67c992d6d6191511f608f0456bcb929fc556a2912d242329500bb77dbc09edbe +size 1381 diff --git a/GravityStomp/Content/Input/IMC_Default.uasset b/GravityStomp/Content/Input/IMC_Default.uasset index f584a2e..cf35db9 100644 --- a/GravityStomp/Content/Input/IMC_Default.uasset +++ b/GravityStomp/Content/Input/IMC_Default.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a602f88eb54fc90a890baf207162cfc93a4da8b0d52f5b96c3d0164f6d29eca -size 15278 +oid sha256:556c1f1e4c428a8eaf8bdd0173e1abcdaa21305a47ea1007d31a34bfbd5571ea +size 17174 diff --git a/GravityStomp/Content/VFX/Blueprints/BP_AfterImage.uasset b/GravityStomp/Content/VFX/Blueprints/BP_AfterImage.uasset new file mode 100644 index 0000000..b1cde0e --- /dev/null +++ b/GravityStomp/Content/VFX/Blueprints/BP_AfterImage.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e4aa3a21a055c9beafc00653d13fd5d01fa0c30bef3ea686b8e99bd5cdd949d +size 22931 diff --git a/GravityStomp/Content/VFX/Blueprints/BP_AfterImageComponent.uasset b/GravityStomp/Content/VFX/Blueprints/BP_AfterImageComponent.uasset new file mode 100644 index 0000000..c6a770e --- /dev/null +++ b/GravityStomp/Content/VFX/Blueprints/BP_AfterImageComponent.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e11dbb65cb1dc868658c596c22c28f64c5b9b857a7ab80d5252e3941948dcd8d +size 121521 diff --git a/GravityStomp/Content/VFX/Materials/MI_AfterImageNormal.uasset b/GravityStomp/Content/VFX/Materials/MI_AfterImageNormal.uasset new file mode 100644 index 0000000..651febe --- /dev/null +++ b/GravityStomp/Content/VFX/Materials/MI_AfterImageNormal.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa0a9ca439a5e455372ceb170703d27aca5aa3462398b00487cd77cb1c6a0c7a +size 7814 diff --git a/GravityStomp/Content/VFX/Materials/M_AfterImageBase.uasset b/GravityStomp/Content/VFX/Materials/M_AfterImageBase.uasset new file mode 100644 index 0000000..3fb8732 --- /dev/null +++ b/GravityStomp/Content/VFX/Materials/M_AfterImageBase.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35c6723a3312100092602f0d9e3e0fe55be3fb1e1e236f961c9a024d43f993df +size 16275 diff --git a/GravityStomp/Source/GravityStompGame/Character/GSCharacter.cpp b/GravityStomp/Source/GravityStompGame/Character/GSCharacter.cpp index d260c9d..d7ad05b 100644 --- a/GravityStomp/Source/GravityStompGame/Character/GSCharacter.cpp +++ b/GravityStomp/Source/GravityStompGame/Character/GSCharacter.cpp @@ -107,6 +107,11 @@ void AGSCharacter::Move(const FInputActionValue& Value) void AGSCharacter::ChangeGravityDirection(const FInputActionValue& Value) { + if(!bCanChangeGravity) + { + return; + } + FVector2D GravityDirection = Value.Get(); FVector NewCharacterUpDirection(0.0f, -GravityDirection.X, -GravityDirection.Y); diff --git a/GravityStomp/Source/GravityStompGame/Character/GSCharacter.h b/GravityStomp/Source/GravityStompGame/Character/GSCharacter.h index 6218e43..3844b84 100644 --- a/GravityStomp/Source/GravityStompGame/Character/GSCharacter.h +++ b/GravityStomp/Source/GravityStompGame/Character/GSCharacter.h @@ -48,6 +48,9 @@ protected: /** Called for movement input */ void Move(const FInputActionValue& Value); + UPROPERTY(BlueprintReadWrite, Category = "Player Actions Flags") + bool bCanChangeGravity = true; + /** Called when the player changes the gravity direction */ void ChangeGravityDirection(const FInputActionValue& Value);