VIKO — from a custom language to a playable story
We built an authoring environment for interactive stories with its own scripting language, game runtime, AI image workflow and standalone web export.
Story rules become editable
VIKO manages scenes, dialogue, choices, items and quests in a shared workspace. Our VikoScript language describes branches and state changes; its processor relates errors back to the relevant source.
A working game alongside the editor
Quick scene previews and full game execution serve different purposes. Choices, combat outcomes and acquired items feed back into the story. The system coordinates saved state and reward allocation; generated images enter the project after the creator approves them.
An output that leaves the editor
Web export assembles scenes, rules and media into a standalone playable package. A separate project archive preserves the editable source. Runtime and export maintain the same narrative relationships.
Engineering behind the application
A TypeScript lexer, parser and syntax tree form VikoScript's foundation. Monaco editing, Pixi.js rendering, IndexedDB project storage and server-side AI image jobs connect to our state management and export logic.
Let's talk about your project
Need a complex editor, rule system or creative tool? We can build an application around the concepts and workflows of your specialist domain.
Working on something similar?
Tell us what you would build. We attach this project as a starting point if you want.