showcase
An on-screen panel that flips through every vnStage look on the world's own cast and places: entrances, exits, emphasis, reactions, poses, expressions, moods, weather, transitions, camera beats and places, with auto-play. Mouse, touch, keyboard (Q/E tabs, arrows, Enter, A auto, H…
vnStage.showcase
An on-screen panel that flips through every vnStage look on the world's own cast and places: entrances, exits, emphasis, reactions, poses, expressions, moods, weather, transitions, camera beats and places, with auto-play. Mouse, touch, keyboard (Q/E tabs, arrows, Enter, A auto, H hide) and gamepad (LB/RB, d-pad, A, Y, Select). open(opts), close(), registerTab(id, label, items, onPick) for other packages' tabs, select(tab, item) and debugState() for tests.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2vnStage.showcase, an on-screen panel that flips through every look vnStage has: entrances, exits, emphasis, reactions, poses and expressions, moods, weather, transitions, camera beats and places, using the world's own cast and backgrounds. Mouse / touch (tap the buttons), keyboard (Q/E or PageUp/PageDown tabs, arrows pick, Enter/Space play, A auto-play, H hide) and gamepad (shoulders tabs, d-pad pick, A play, Y auto, Select hide). local Showcase = require("vnStage.showcase") Showcase.open({ castOrder = { "ren", "mira", "seraphine" }, start = "guild_hall" }) Showcase.registerTab("themes", "Reader themes", items, function(id) ... end) Other packages add tabs with registerTab
registerTab(id: string, label: string, items: { any }, onPick: (string) → void
| arg | type | description |
|---|---|---|
| id | string | |
| label | string | |
| items | { any } | |
| onPick | (string |
castIds( ) → void
castName(id: string) → string
| arg | type | description |
|---|---|---|
| id | string |
poseItems( ) → void
exprItems( ) → void
placeItems( ) → void
tabs( ) → void
ensureTrio( ) → void
pick(tabId: string, itemId: string) → void
| arg | type | description |
|---|---|---|
| tabId | string | |
| itemId | string |
label(text: string, st: { [string]: any }) → any
| arg | type | description |
|---|---|---|
| text | string | |
| st | { [string]: any } |
button(id: string, text: string, active: boolean, w: any, fs: number?) → any
| arg | type | description |
|---|---|---|
| id | string | |
| text | string | |
| active | boolean | |
| w | any | |
| fs | number? |
build( ) → any
render( ) → void
playSelected( ) → void
onCallback(id: string, _data: any) → void
| arg | type | description |
|---|---|---|
| id | string | |
| _data | any |
zin( ) → any
key(code: string) → boolean
| arg | type | description |
|---|---|---|
| code | string |
pad(b: string) → boolean
| arg | type | description |
|---|---|---|
| b | string |
tick(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
moveTab(d: number) → void
| arg | type | description |
|---|---|---|
| d | number |
open(opts: { [string]: any }?) → void
Open the showcase. opts: castOrder (cast ids to feature, first = hero), start (place id), cast / places (registries, for the Poses / Places tabs).
| arg | type | description |
|---|---|---|
| opts | { [string]: any }? |
list(reg: any) → any
| arg | type | description |
|---|---|---|
| reg | any |
close( ) → void
select(tabId: string, itemId: string) → void
Drive the showcase from code/tests: select(tabId, itemId) plays that item.
| arg | type | description |
|---|---|---|
| tabId | string | |
| itemId | string |
debugState( ) → any
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.