Texto - mgea/godot GitHub Wiki

Hay dos tipos de nodos para texto:

  • Label Hereda de: Control < CanvasItem < Node < Object

  • RichTextLabel Hereda de Control < CanvasItem < Node < Object

El texto se asocia al UI del proyecto

Ref: https://docs.godotengine.org/en/stable/tutorials/ui/gui_skinning.html

Se proporciona un "GUI skinning" (theme), que permite personalizar el look & feel de cada componente en el IU

El tema se configura con los siguientes elementos:

  • Color EL color color se usa para texto (fuentes) y backgrounds. Colors can also be used for modulation of controls and icons.

  • Font A font resource, which is used by controls that display text. Fonts contain most text rendering settings, except for its size and color. On top of that, alignment and text direction are controlled by individual controls.

  • Font size. An integer value, which is used alongside a font to determine the size at which the text should be displayed.

Icon

A texture resource, which is normally used to display an icon (on a Button, for example).

Tipos de Fuentes

https://docs.godotengine.org/en/stable/tutorials/ui/gui_using_fonts.html

⚠️ **GitHub.com Fallback** ⚠️