Communication Scene
The communication scene simulates a chat app interface with multiple message types for character dialogue and interaction.
Scene Properties
| Property | Description |
|---|---|
myIcon | My avatar |
dialogs | Conversation list (contacts) |
appTime | Top bar time display |
appBattery | Battery percentage (0-100) |
appSignal | Signal strength (0-100) |
showTime / hideTime | App interface show/hide time |
appSettings | App appearance preset (phone mockup, camera style, etc.) |
Dialogue (Dialog)
Each dialog represents a contact conversation:
| Property | Description |
|---|---|
icon | Contact avatar |
messages | Message list |
unRead | Unread badge |
time | Message timestamp |
_asyncScript | Dialog script (show/run) |
Message Types
Text Message
Plain chat text, supports:
username: sender name (shown in group chats)icon: message avatar (overrides dialog avatar)me: marks as "my message" (right-aligned)delay: appearance delay (ms)
Selector Message
Choice-based reply options, supports:
messages: list of options (each is a text message)- Activates follow-up message chain on selection
- Can set
targetto jump directly to a scene
Notice Message
System notification style, centered gray text. Supports delay.
Transfer Message
Simulates money transfers:
money: amountunit: currency unit (default ¥)info: description text at bottomreceived: marks as receipt, auto-matches previous transfer of the same amount
Media Message
Sends an image or video. Supports media property; tap to view fullscreen.
Voice Message
Audio playback bar. Supports audio property.
File Message
Simulates file sharing:
fileIcon: file type iconsize: file size textmedia: preview on tap (popup media)
Face Message
Transparent stickers. face property accepts webm video or png image. Default chat background is #ededed.
Link Message
Simulates a link preview card:
favicon: link iconinfo: description textmedia: preview media (simulates the opened page)target: jumps to scene when link content is emptyowner/ownerImage: link source info
Event Message
An event node embedded within a selector message:
messages: follow-up message chaintarget: target scene
Node Display
If an event message has a target, it must be added to the communication scene's Events list to appear in the node panel.
Scripts
Both dialogs and messages support scripts with show (visibility) and run (runtime logic) functions.