godot-ui-rich-text by thedivergentai/gd-agentic-skills
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-ui-rich-textBBCode 标签、元可点击链接和 RichTextEffect 着色器定义了格式化文本系统。
专家级自定义 RichTextEffect,随时间旋转颜色。
专业的恐怖风格故障效果,具有空间抖动和透明度闪烁。
在动画期间解析顺序事件标签([pause]、[speed])的对话管理器。
用于处理元点击中多前缀 URL(物品、任务、NPC)的高级处理程序。
用于动态缩放 标签以匹配运行时字体大小的实用工具。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
[img]使文本范围对鼠标悬停(音效/光标)做出反应的信号和逻辑。
用于防止公共聊天界面中 BBCode 注入的安全实用工具。
使用细粒度字符级标签生成多节点线性渐变的生成器。
用于制作人员名单、新闻源和日志的平滑垂直自动滚动逻辑。
用于 UI 中代码块的基于正则表达式的简单语法高亮模式。
install_effect() 将实例添加到 RichTextLabel.custom_effects 列表中。[img width=128] 在高分辨率下会失败。使用 rich_text_image_scaler.gd 来与行高同步。rich_text_hover_reactive.gd。meta_clicked 内执行繁重逻辑 — 此信号在主线程上。使用它来发出命令,并在需要时异步处理。visible_ratio 来暂停打字机效果 — visible_ratio 对于逐字符逻辑不可靠。使用 visible_characters 和显式字符索引(rich_text_typewriter_controller.gd)。[img]huge_image_path[/img] 或 [color=transparent] 来破坏您的 UI。务必使用 rich_text_bbcode_sanitizer.gd。$RichTextLabel.bbcode_enabled = true
$RichTextLabel.text = "[b]Bold[/b] and [i]italic[/i] text"
[b]Bold[/b]
[i]Italic[/i]
[u]Underline[/u]
[color=red]Red text[/color]
[color=#00FF00]Green hex[/color]
[center]Centered[/center]
[img]res://icon.png[/img]
[url=data]Clickable link[/url]
func _ready() -> void:
$RichTextLabel.meta_clicked.connect(_on_meta_clicked)
func _on_meta_clicked(meta: Variant) -> void:
print("Clicked: ", meta)
每周安装次数
77
代码仓库
GitHub 星标数
59
首次出现
2026年2月10日
安全审计
安装于
opencode75
gemini-cli74
codex74
github-copilot74
kimi-cli73
amp73
BBCode tags, meta clickable links, and RichTextEffect shaders define formatted text systems.
Expert custom RichTextEffect that rotates colors over time.
Professional horror-style glitch effects with spatial jitter and alpha flickering.
Dialogue manager that parses sequential event tags ([pause], [speed]) during animations.
Advanced handling for multi-prefix URLs in meta-clicks (items, quests, NPCs).
Utility to dynamically scale [img] tags to match runtime font sizes.
Signals and logic for making text spans reactive to mouse hover (SFX/Cursors).
Security utility to prevent BBCode injection in public chat interfaces.
Generator for multi-stop linear gradients using granular character-level tagging.
Smooth vertical auto-scrolling logic for credits, news feeds, and logs.
Simple regex-based syntax highlighting pattern for code blocks in UI.
RichTextLabel.custom_effects list via Inspector or install_effect().[img width=128] fails on higher resolutions. Use rich_text_image_scaler.gd to sync with line height.rich_text_hover_reactive.gd.meta_clicked — This signal is on the Main Thread. Use it to emit a command and handle processing asynchronously if needed.visible_ratio for pausing typewriter — visible_ratio is unreliable for per-character logic. Use visible_characters and explicit character indexing (rich_text_typewriter_controller.gd).[img]huge_image_path[/img] or [color=transparent] to break your UI. ALWAYS use rich_text_bbcode_sanitizer.gd.$RichTextLabel.bbcode_enabled = true
$RichTextLabel.text = "[b]Bold[/b] and [i]italic[/i] text"
[b]Bold[/b]
[i]Italic[/i]
[u]Underline[/u]
[color=red]Red text[/color]
[color=#00FF00]Green hex[/color]
[center]Centered[/center]
[img]res://icon.png[/img]
[url=data]Clickable link[/url]
func _ready() -> void:
$RichTextLabel.meta_clicked.connect(_on_meta_clicked)
func _on_meta_clicked(meta: Variant) -> void:
print("Clicked: ", meta)
Weekly Installs
77
Repository
GitHub Stars
59
First Seen
Feb 10, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode75
gemini-cli74
codex74
github-copilot74
kimi-cli73
amp73
Perl安全编程指南:输入验证、注入防护与安全编码实践
1,100 周安装