Skip to content

Class "HUD"⚓︎

Info

You can get this class by using the following functions:

Example Code
1
2
local hud = Game():GetHUD()
local sprite = hud:GetChargeBarSprite()

Functions⚓︎

FlashRedHearts ()⚓︎

void FlashRedHearts ( EntityPlayer Player )⚓︎


GetBossHPBarFill ()⚓︎

float GetBossHPBarFill ( )⚓︎

Get the fill of the boss hp bar


GetCardsPillsSprite ()⚓︎

Sprite GetCardsPillsSprite ( )⚓︎

Sprite object used to render pills, cards and rune sprites in the hud.


GetChargeBarSprite ()⚓︎

Sprite GetChargeBarSprite ( )⚓︎


GetCoopMenuSprite ()⚓︎

Sprite GetCoopMenuSprite ( )⚓︎

Sprite object used to render the coop player selection menu.


GetCraftingSprite ()⚓︎

Sprite GetCraftingSprite ( )⚓︎

Sprite object used for bag of crafting hud.


GetFortuneSprite ()⚓︎

Sprite GetFortuneSprite ( )⚓︎

Sprite object used for the fortune popup window.


GetHeartsSprite ()⚓︎

Sprite GetHeartsSprite ( )⚓︎


GetInventorySprite ()⚓︎

Sprite GetInventorySprite ( )⚓︎

Sprite object used for Tainted Isaac inventory system.


GetPickupsHUDSprite ()⚓︎

Sprite GetPickupsHUDSprite ( )⚓︎


GetPlayerHUD ()⚓︎

PlayerHUD GetPlayerHUD ( int Index = 0 )⚓︎


GetPlayerStreakSprite ()⚓︎

Sprite GetPlayerStreakSprite ( int Index = 0 )⚓︎

A set of 4 Sprite objects used for the "mini" Repentance+ item text streaks that get displayed near the players' individual HUDs. Valid indexes are 0~3.

Used in place of the sprites provided by GetStackedStreakSprite during co-op.


GetPoopSpellSprite ()⚓︎

Sprite GetPoopSpellSprite ( )⚓︎

Tainted blue baby poop spell sprite


GetStackedStreakSprite ()⚓︎

Sprite GetStackedStreakSprite ( int Index = 0 )⚓︎

Provides access to the Sprite objects used for the new "stacked" Repentance+ item text streaks. Valid indexes are 0~5.

During co-op, the Sprites provided by GetPlayerStreakSprite are used instead.


GetStreakSprite ()⚓︎

Sprite GetStreakSprite ( )⚓︎

Sprite object used for text streak popups. As of Repentance+, this seems to only be used for the floor name popup, as item-related popups use the Sprites from either GetStackedStreakSprite or GetPlayerStreakSprite.


SetBossHPBarFill ()⚓︎

void SetBossHPBarFill ( float percent )⚓︎

Sets the fill of the boss hp bar. Accepts values between 0 and 1. Numbers below 0 cause the boss hp bar to not be rendered.