Compare commits

...

2 Commits

Author SHA1 Message Date
6c2e8fc163 character blueprint 2025-08-27 19:28:33 -05:00
dd5ec990d9 player and enemy classes 2025-08-27 19:13:40 -05:00
20 changed files with 127 additions and 62 deletions

1
.gitignore vendored
View File

@ -54,3 +54,4 @@ Saved/*
Saved Saved
Intermediate Intermediate
DerivedDataCache

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
[/Script/LiveCoding.LiveCodingSettings]
bEnabled=False
Startup=AutomaticButHidden
bEnableReinstancing=True
bAutomaticallyCompileNewClasses=True
bPreloadEngineModules=False
bPreloadEnginePluginModules=False
bPreloadProjectModules=True
bPreloadProjectPluginModules=True

Binary file not shown.

View File

@ -1,34 +0,0 @@
// Copyright; GhostPacket Games
#include "AuraCharacterBase.h"
// Sets default values
AAuraCharacterBase::AAuraCharacterBase()
{
// Set this character 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 AAuraCharacterBase::BeginPlay()
{
Super::BeginPlay();
}
// Called every frame
void AAuraCharacterBase::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
// Called to bind functionality to input
void AAuraCharacterBase::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}

View File

@ -0,0 +1,5 @@
// Copyright; GhostPacket Games
#include "Character/AuraCharacter.h"

View File

@ -0,0 +1,16 @@
// Copyright; GhostPacket Games
#include "Character/AuraCharacterBase.h"
AAuraCharacterBase::AAuraCharacterBase()
{
PrimaryActorTick.bCanEverTick = false;
Weapon = CreateDefaultSubobject<USkeletalMeshComponent>("Weapon");
Weapon->SetupAttachment(GetMesh(), FName("WeaponHandSocket"));
Weapon->SetCollisionEnabled(ECollisionEnabled::NoCollision);
}
void AAuraCharacterBase::BeginPlay()
{
Super::BeginPlay();
}

View File

@ -0,0 +1,5 @@
// Copyright; GhostPacket Games
#include "Character/AuraEnemy.h"

View File

@ -1,28 +0,0 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "AuraCharacterBase.generated.h"
UCLASS()
class AURA_API AAuraCharacterBase : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this character's properties
AAuraCharacterBase();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};

View File

@ -0,0 +1,17 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "Character/AuraCharacterBase.h"
#include "AuraCharacter.generated.h"
/**
*
*/
UCLASS()
class AURA_API AAuraCharacter : public AAuraCharacterBase
{
GENERATED_BODY()
};

View File

@ -0,0 +1,22 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "AuraCharacterBase.generated.h"
UCLASS(Abstract) // Abstract so that it cannot be dragged to a level
class AURA_API AAuraCharacterBase : public ACharacter
{
GENERATED_BODY()
public:
AAuraCharacterBase();
protected:
virtual void BeginPlay() override;
UPROPERTY(EditAnywhere, Category = "Combat")
TObjectPtr<USkeletalMeshComponent> Weapon;
};

View File

@ -0,0 +1,17 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "Character/AuraCharacterBase.h"
#include "AuraEnemy.generated.h"
/**
*
*/
UCLASS()
class AURA_API AAuraEnemy : public AAuraCharacterBase
{
GENERATED_BODY()
};

View File

@ -0,0 +1,19 @@
// Copyright; GhostPacket Games
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "AuraCharacterBase.generated.h"
UCLASS(Abstract) // Abstract so that it cannot be dragged to a level
class AURA_API AAuraCharacterBase : public ACharacter
{
GENERATED_BODY()
public:
AAuraCharacterBase();
protected:
virtual void BeginPlay() override;
};

View File

@ -0,0 +1,12 @@
// Copyright; GhostPacket Games
#include "Character/AuraCharacterBase.h"
AAuraCharacterBase::AAuraCharacterBase()
{
PrimaryActorTick.bCanEverTick = false;
}
void AAuraCharacterBase::BeginPlay()
{
Super::BeginPlay();
}