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 )⚓︎


GetPoopSpellSprite ()⚓︎

Sprite GetPoopSpellSprite ( )⚓︎

Tainted blue baby poop spell sprite


GetStreakSprite ()⚓︎

Sprite GetStreakSprite ( )⚓︎

Sprite object used for text streak popups. For example: picking up items, displaying floor name, etc.


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.