Skip to content

2D HUD element renderer #119

@duc0905

Description

@duc0905

I want to create HUD scenes for menus, settings, dialogs.

Feature

  • Using the same node and scene system
  • Create components to represent the HUD elements
    • Each type of element can have different properties
  • Create systems to handle user interaction with and render the elements

Elements

  • Container
    • Description: Group many different elements.
    • Property:
      • Size: vec2
      • Position: vec2
      • Background color: color
  • Text
    • Description: Display text.
    • Property:
      • Font family: string
      • Font size: int
      • Font color: color
      • Text: string
  • Button
    • Description: A button that the player can click on.
    • Property:
      • Text: string
      • On Click callback: func<void()>
  • Texture
    • Description: Display an image.
    • Property:
      • Texture: Texture

Metadata

Metadata

Assignees

Labels

coreRelated to core engine

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions