ObsiKO ObsiKO Docs

18-3 Messenger & Visual Novel Views

Don't just read a manuscript written in dialogue โ€” play it! One line of frontmatter turns a note into a messenger screen with chat messages arriving in real time, or a visual novel game screen alive with backgrounds, characters, and background music. ๐ŸŽฎ๐Ÿ’ฌ

โ† Home: ObsiKO 101 ยท Related: 18-2 Character Codex & References ยท 18-1 E-book & Web Novel Viewer


1-Minute Summary โฑ๏ธ

1. How to Write a Script โ€” Shared Syntax โœ๏ธ

Add view: messenger or view: visualnovel to the frontmatter, and the matching item ("Messenger View" / "Visual Novel View") appears inside the View menu (๐Ÿ‘) at the top.

๐Ÿ’ก Just two rules to follow: โ‘  The view: value must be English โ€” messenger/visualnovel (webnovel/book for web novels and books). Case doesn't matter, and visual novel can be shortened to vn or visual-novel, but a Korean value like ๋ฉ”์‹ ์ €๋ทฐ won't make the item appear. โ‘ก A dialogue line must start with the <<name:image>> token to be recognized as dialogue (put it mid-sentence and it just renders as narration).

---
view: messenger
---
<<Background:alley-night.png>>
<<Seoyeon:seoyeon-default.png|-->> [10:23] Where are you? Are you here yet?
<<Minjun:minjun-hurry.png--|>> Sorry, sorry, 5 more minutes!!
<<Seoyeon:seoyeon-pouting.png!shake|-->> Overslept again, didn't you?
%%shake%%
Minjun broke into a sprint at full speed.
<<Minjun:->>
Syntax Meaning
<<name:image>> dialogue That character's line (image = expression)
<<background name:image>> Scene transition โ€” messenger = chat wallpaper, visual novel = stage background (a type: background entry)
[10:23] Placed before a line, sets its timestamp (messenger)
# Heading A scene label (chapter marker)
A plain sentence Narration (stage directions)
> Blockquote Messenger = a pinned notice at the top (like a group chat notice ๐Ÿ“ข), visual novel = a system alert in the center of the screen
--- A divider โ€” in visual novel, everyone exits and background music stops (scene cleanup)
%%comment%% A note that doesn't appear on screen

Alignment suffix: Attach |-- (left) or --| (right) after the image name; leave it off for center. In messenger, this becomes the speech-bubble direction (right = "me"); in visual novel, it becomes where the character stands. You can also just pick it in step 3 of << autocomplete!

Put a File Where the Dialogue Goes ๐Ÿ“Ž

Put an attachment where the dialogue would go, like <<Seoyeon:seoyeon-default.png>> ![[selfie.jpg]], and โ€” - Image โ†’ messenger = a photo bubble (click to enlarge), visual novel = a CG in the center of the screen - Audio ([[voice.mp3]]) โ†’ messenger = a voice message with a play button - Any other file โ†’ messenger = a file card - Use just the token with no text, and in messenger that character's image is sent as a photo.

Direction Syntax ๐ŸŽ‡ โ€” Shared by Both Views!

Syntax Effect
![[song.mp3]] (or a line with only music) Background music โ€” loops; when the track changes, the old track fades out while the new one fades in, overlapping into a smooth crossfade ๐ŸŽต
[ding-dong](bell.mp3) inline in a sentence Sound effect โ€” plays once, right before that line ๐Ÿ””
%%shake%% %%flash%% %%fade%% Screen effects โ€” shake ยท flash ยท fade to black (Korean aliases like %%ํ”๋“ค๋ฆผ%% also work)
!jump !shake !nod after an image Emotion motion โ€” messenger = the bubble bounces, visual novel = the character bounces (!jump/!shake/!nod)
<<name:->> Exit โ€” messenger = a "โ—‹โ—‹ has left" system message, visual novel = the character exits the stage

2. Messenger View ๐Ÿ’ฌ โ€” Chat in Real Time

A phone frame appears in the center of the screen, and one message arrives with every click.

3. Visual Novel View ๐ŸŽฎ โ€” Just Like a Game Screen

A background fills a full-screen stage, and characters stand at left, center, or right to deliver their lines.

๐ŸŽฌ Same manuscript, three different theaters: you can view a single script as a novel in the Web Novel View, as a chat drama in the Messenger View, or as a game in the Visual Novel View. Just change the view value!

๐Ÿค– The AI Agent knows this syntax completely: ask it "turn this novel into a messenger-view script" or "write a branching-choice visual novel episode with Seoyeon and Minjun," and it checks the registered characters' actual image filenames and produces a script that follows the syntax correctly. If a needed character doesn't exist yet, it'll create the frontmatter note first.


โ† Previous: Character Codex &amp; References ยท Home ยท Next: Export โ†’