RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
resource_hud.gd File Reference

Reusable horizontal resource HUD renderer. More...

Go to the source code of this file.

Namespaces

namespace  resource_hud
 

Variables

 resource_hud.SpriteManager
 
 resource_hud.sprite_manager
 
 resource_hud.resource_hud
 
 resource_hud.bool
 
 resource_hud.style
 
 resource_hud.bg_color
 
 resource_hud.border_color
 
 resource_hud.content_margin_left
 
 resource_hud.content_margin_right
 
 resource_hud.content_margin_top
 
 resource_hud.content_margin_bottom
 
 resource_hud.texture
 
 resource_hud.icon
 
 resource_hud.custom_minimum_size
 
 resource_hud.stretch_mode
 
 resource_hud.expand_mode
 
 resource_hud.mouse_filter
 
 resource_hud.text
 
 resource_hud.horizontal_alignment
 
 resource_hud.vertical_alignment
 
 resource_hud.percent
 
 resource_hud.frame
 
 resource_hud.size_flags_horizontal
 
 resource_hud.background
 
 resource_hud.offset_top
 
 resource_hud.offset_bottom
 
 resource_hud.fill
 
 resource_hud.anchor_left
 
 resource_hud.anchor_top
 
 resource_hud.anchor_bottom
 
 resource_hud.anchor_right
 
 resource_hud.label
 
 resource_hud.name
 
 resource_hud.clip_text
 
 resource_hud.spacer
 
 resource_hud.selected_resource_id = id
 
 resource_hud.definition
 Rebuild an existing HUD container from resource values and definitions.
 
 resource_hud.value
 
 resource_hud.max_value
 
 resource_hud.is_selected
 
 resource_hud.panel
 Build compact resource panels directly under this node.
 
 resource_hud.size_flags_stretch_ratio
 
 resource_hud.inset
 
 resource_hud.offset_left
 
 resource_hud.offset_right
 
 resource_hud.row
 
 resource_hud.alignment
 
 resource_hud.icon_slot
 
 resource_hud.value_stack
 

Detailed Description

Reusable horizontal resource HUD renderer.

The HUD reads resource definitions from resourceManager, supports unicode icons and res:// image paths, renders responsive value bars, and shows resource labels only while a resource is selected.

Definition in file resource_hud.gd.