Compare commits
No commits in common. "079fba5d8b24bd6f43e242619d25f8c00ad8fb50" and "707728940a4d54eb63ea8a35c6fb5b66240f878d" have entirely different histories.
079fba5d8b
...
707728940a
BIN
Content/Enemy/BP_EnemyCharacter.uasset (Stored with Git LFS)
BIN
Content/Enemy/BP_EnemyCharacter.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/Pickups/BP_EXPPickup.uasset (Stored with Git LFS)
BIN
Content/Pickups/BP_EXPPickup.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/Pickups/EXP/BP_BlueEXPPickup.uasset (Stored with Git LFS)
BIN
Content/Pickups/EXP/BP_BlueEXPPickup.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/Pickups/EXP/BP_GreenEXPPickup.uasset (Stored with Git LFS)
BIN
Content/Pickups/EXP/BP_GreenEXPPickup.uasset (Stored with Git LFS)
Binary file not shown.
BIN
Content/Pickups/EXP/BP_RedEXPPickup.uasset (Stored with Git LFS)
BIN
Content/Pickups/EXP/BP_RedEXPPickup.uasset (Stored with Git LFS)
Binary file not shown.
|
@ -15,8 +15,6 @@ class VAMPIRES_API AEXPPickup : public APickup
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Pickup")
|
|
||||||
int EXP = 1;
|
int EXP = 1;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#include "PlayerCharacter.h"
|
#include "PlayerCharacter.h"
|
||||||
#include "Kismet/GameplayStatics.h"
|
#include "Kismet/GameplayStatics.h"
|
||||||
#include "Kismet/KismetMathLibrary.h"
|
|
||||||
|
|
||||||
// Sets default values
|
// Sets default values
|
||||||
APickup::APickup()
|
APickup::APickup()
|
||||||
|
@ -15,13 +14,8 @@ APickup::APickup()
|
||||||
|
|
||||||
// Create Sphere Component
|
// Create Sphere Component
|
||||||
SphereComponent = CreateDefaultSubobject<USphereComponent>(TEXT("Sphere Component"));
|
SphereComponent = CreateDefaultSubobject<USphereComponent>(TEXT("Sphere Component"));
|
||||||
SetRootComponent(SphereComponent);
|
SphereComponent->SetupAttachment(RootComponent);
|
||||||
SphereComponent->SetSphereRadius(25.0f);
|
SphereComponent->SetSphereRadius(25.0f);
|
||||||
|
|
||||||
SpriteComponent = CreateDefaultSubobject<UPaperSpriteComponent>(TEXT("Sprite Component"));
|
|
||||||
SpriteComponent->SetRelativeRotation(FRotator(0.0f, 90.0f,-90.0f));
|
|
||||||
SpriteComponent->SetRelativeScale3D(FVector(.5f, .5f, .5f));
|
|
||||||
SpriteComponent->SetupAttachment(RootComponent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called when the game starts or when spawned
|
// Called when the game starts or when spawned
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "Components/SphereComponent.h"
|
#include "Components/SphereComponent.h"
|
||||||
#include "GameFramework/Actor.h"
|
#include "GameFramework/Actor.h"
|
||||||
#include "PaperSpriteComponent.h"
|
|
||||||
#include "Pickup.generated.h"
|
#include "Pickup.generated.h"
|
||||||
|
|
||||||
UCLASS()
|
UCLASS()
|
||||||
|
@ -22,10 +21,7 @@ public:
|
||||||
double PickupMovementSpeed = 1000;
|
double PickupMovementSpeed = 1000;
|
||||||
|
|
||||||
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
|
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
|
||||||
USphereComponent* SphereComponent = nullptr;
|
USphereComponent* SphereComponent;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
|
||||||
UPaperSpriteComponent* SpriteComponent = nullptr;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Sets default values for this actor's properties
|
// Sets default values for this actor's properties
|
||||||
|
|
|
@ -8,7 +8,7 @@ public class vampires : ModuleRules
|
||||||
{
|
{
|
||||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||||
|
|
||||||
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput", "Paper2D" });
|
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput" });
|
||||||
|
|
||||||
PrivateDependencyModuleNames.AddRange(new string[] { });
|
PrivateDependencyModuleNames.AddRange(new string[] { });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue