Skip to content

Commit

Permalink
[Add] Healthbar UI
Browse files Browse the repository at this point in the history
  • Loading branch information
iJotape4 committed Oct 20, 2024
1 parent e75307e commit 3c08c30
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion GameJamPlus2024/Config/DefaultEngine.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@ ManualIPAddress=
[CoreRedirects]
+PropertyRedirects=(OldName="/Script/GameJamPlus2024.PaperCharacterBase.cameraRotationSpeed",NewName="/Script/GameJamPlus2024.PaperCharacterBase.CameraRotationAngle")
+PropertyRedirects=(OldName="/Script/GameJamPlus2024.PaperCharacterBase.CameraRotationSpeed",NewName="/Script/GameJamPlus2024.PaperCharacterBase.CameraRotationAngle")
+PropertyRedirects=(OldName="/Script/GameJamPlus2024.CharacterUpgrade.enabled",NewName="/Script/GameJamPlus2024.CharacterUpgrade.bEnabled")
+PropertyRedirects=(OldName="/Script/GameJamPlus2024.CharacterUpgrade.enabled",NewName="/Script/GameJamPlus2024.CharacterUpgrade.bEnabled")
+ClassRedirects=(OldName="/Script/GameJamPlus2024.WB_HealthBar",NewName="/Script/GameJamPlus2024.HealthBar")
Binary file not shown.
Binary file not shown.
4 changes: 3 additions & 1 deletion GameJamPlus2024/GameJamPlus2024.uproject
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Paper2D",
"Engine"
"Engine",
"UMGEditor",
"UMG"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public GameJamPlus2024(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput", "Paper2D", "Paper2D" });
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput", "Paper2D", "Paper2D", "UMGEditor", "UMGEditor" });
}
}
5 changes: 5 additions & 0 deletions GameJamPlus2024/Source/GameJamPlus2024/Private/HealthBar.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.


#include "HealthBar.h"

20 changes: 20 additions & 0 deletions GameJamPlus2024/Source/GameJamPlus2024/Public/HealthBar.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "HealthBar.generated.h"

/**
*
*/
UCLASS()
class GAMEJAMPLUS2024_API UHealthBar : public UUserWidget
{
GENERATED_BODY()


virtual void BeginPlay() override;

};

0 comments on commit 3c08c30

Please sign in to comment.