From 911ffbaa8d61977f88b673b0e40f9f2731d9959d Mon Sep 17 00:00:00 2001 From: ga28299 <100487946+ga28299@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:32:38 -0500 Subject: [PATCH] Drop hold obstacle --- Content/Blueprints/BP_Ice_Slip.uasset | 3 +++ Content/Blueprints/BP_Water_drop.uasset | 3 +++ Content/Blueprints/Slippery.uasset | 3 +++ .../BP_ThirdPersonCharacterJoel.uasset | 4 +-- Source/jumpingship/jumpingshipObstacle.cpp | 27 +++++++++++++++++++ Source/jumpingship/jumpingshipObstacle.h | 26 ++++++++++++++++++ 6 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 Content/Blueprints/BP_Ice_Slip.uasset create mode 100644 Content/Blueprints/BP_Water_drop.uasset create mode 100644 Content/Blueprints/Slippery.uasset create mode 100644 Source/jumpingship/jumpingshipObstacle.cpp create mode 100644 Source/jumpingship/jumpingshipObstacle.h diff --git a/Content/Blueprints/BP_Ice_Slip.uasset b/Content/Blueprints/BP_Ice_Slip.uasset new file mode 100644 index 0000000..2c477af --- /dev/null +++ b/Content/Blueprints/BP_Ice_Slip.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:194ecd72ff0eb7098d82cbda0bb346cdbbbbe06ee04ffff1897efa3a6142ec02 +size 78739 diff --git a/Content/Blueprints/BP_Water_drop.uasset b/Content/Blueprints/BP_Water_drop.uasset new file mode 100644 index 0000000..ca35aa6 --- /dev/null +++ b/Content/Blueprints/BP_Water_drop.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70fda97826ec8bfc9288d997898f8802e881f99a6cd25477abeb161bba40f2ae +size 94108 diff --git a/Content/Blueprints/Slippery.uasset b/Content/Blueprints/Slippery.uasset new file mode 100644 index 0000000..1d6dc41 --- /dev/null +++ b/Content/Blueprints/Slippery.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1edccbf13ff19398adbe40ea04f180aa3e74f6bbd086b08407616e46fd9eb4b +size 2357 diff --git a/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacterJoel.uasset b/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacterJoel.uasset index 33b3a37..6cf5440 100644 --- a/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacterJoel.uasset +++ b/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacterJoel.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4959ee7db88dbeea85c7870a8a24c2dcc15d7fab51514c4d2872468e61931922 -size 180769 +oid sha256:7fb931c9893e844d1df47c88f78efbd525527d0ae3e9a0d9126f01a36d161968 +size 176309 diff --git a/Source/jumpingship/jumpingshipObstacle.cpp b/Source/jumpingship/jumpingshipObstacle.cpp new file mode 100644 index 0000000..692ed12 --- /dev/null +++ b/Source/jumpingship/jumpingshipObstacle.cpp @@ -0,0 +1,27 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "jumpingshipObstacle.h" + +// Sets default values +AjumpingshipObstacle::AjumpingshipObstacle() +{ + // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. + PrimaryActorTick.bCanEverTick = true; + +} + +// Called when the game starts or when spawned +void AjumpingshipObstacle::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void AjumpingshipObstacle::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + diff --git a/Source/jumpingship/jumpingshipObstacle.h b/Source/jumpingship/jumpingshipObstacle.h new file mode 100644 index 0000000..b477ed1 --- /dev/null +++ b/Source/jumpingship/jumpingshipObstacle.h @@ -0,0 +1,26 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Actor.h" +#include "jumpingshipObstacle.generated.h" + +UCLASS() +class JUMPINGSHIP_API AjumpingshipObstacle : public AActor +{ + GENERATED_BODY() + +public: + // Sets default values for this actor's properties + AjumpingshipObstacle(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + +};