LIVE WEB PLAYER
Loading WebAssembly…See it respond.
The same raylib runtime, compiled to WebAssembly. Load this example, inject MQTT messages and watch its published events.
MQTT I/O
Waiting for runtime…
The browser requires a user action before the scene is loaded. Click Load demo scene first. MQTT is emulated and never leaves this page. Shaders are disabled in the web build; GPIO is hardware-only.
Displays static or MQTT-controlled text, optionally word-wrapped and framed.
Configuration
| Field | Description |
|---|---|
type | text |
value | Displayed string |
font | TTF filename; empty uses Raylib default |
size | Font size in pixels |
color | #RRGGBB or #RRGGBBAA |
align | left, center, or right |
multiline | Enable wrapping inside element width |
line_spacing | Line-height multiplier |
Also supports all common fields.
Copy-and-paste JSON
{
"type": "text",
"id": "status_text",
"pos": [100, 80],
"size": 48,
"font": "Technology.ttf",
"color": "#FFFFFFFF",
"value": "READY",
"align": "left",
"multiline": true,
"layer": 2
}MQTT
ergs/rpi01/update/status_text System online
ergs/rpi01/cmd/status_text/color #5CFF9D
ergs/rpi01/visible/status_text OFF