Skip to content

feat: GuiObject #4

@TechHog8984

Description

@TechHog8984

It is possible to parent a new ScreenGui to CoreGui (currently the only BasePlayerGui that exists when the game starts), and each GuiObject descendant (excluding those with a non-GuiObject & non-LayerCollector ancestor just like Roblox) will be drawn, given each LayerCollector ancestor .Enabled = true and each GuiObject ancestor (including itself) .Visible = true.

Curently, the only GuiObject subclass implemented is Frame (and it, along with GuiObject itself, is only partially implemented).

GuiObject TODO:

  • GuiState
  • User Input (and thus Active, Interactable, and each respective signal)
  • All signals
  • AnchorPoint
  • AutomaticSize
  • BackgroundColor (for compatability; BackgroundColor3 is implemented)
  • BorderColor same as above
  • ClipsDescendants
  • LayoutOrder
  • SizeConstraint
  • Tweening

ZIndex is fully implemented.
Frame needs Style.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions