Skip to content

Communication Scene

The communication scene simulates a chat app interface with multiple message types for character dialogue and interaction.

Scene Properties

PropertyDescription
myIconMy avatar
dialogsConversation list (contacts)
appTimeTop bar time display
appBatteryBattery percentage (0-100)
appSignalSignal strength (0-100)
showTime / hideTimeApp interface show/hide time
appSettingsApp appearance preset (phone mockup, camera style, etc.)

Dialogue (Dialog)

Each dialog represents a contact conversation:

PropertyDescription
iconContact avatar
messagesMessage list
unReadUnread badge
timeMessage timestamp
_asyncScriptDialog 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 target to jump directly to a scene

Notice Message

System notification style, centered gray text. Supports delay.

Transfer Message

Simulates money transfers:

  • money: amount
  • unit: currency unit (default ¥)
  • info: description text at bottom
  • received: 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 icon
  • size: file size text
  • media: preview on tap (popup media)

Face Message

Transparent stickers. face property accepts webm video or png image. Default chat background is #ededed.

Simulates a link preview card:

  • favicon: link icon
  • info: description text
  • media: preview media (simulates the opened page)
  • target: jumps to scene when link content is empty
  • owner / ownerImage: link source info

Event Message

An event node embedded within a selector message:

  • messages: follow-up message chain
  • target: 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.