Integration with StoryMate.dev #405
Replies: 2 comments 1 reply
-
|
StoryMate already has a parser function that maps over all the relevant story data and generates a Monogatari script. The script generator runs when full screen preview is opened. A blank Monogatari game boots up, and once it's ready, it tells the script generator to update the running game by injecting a full script and other stuff to customize / populate the blank game. A similar process will need to generate a pixi-vn script, and other customizations. I'd propose we provide you with the script generator for Monogatari, example data (remixed story from StoryMate), and you have a go at getting it to work. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @danmilward As we said I created a first version of the library to remap the StoryMate json to the pixi-vn json ( https://github.com/DRincs-Productions/pixi-vn-storymate https://www.npmjs.com/package/@drincs/pixi-vn-storymate ) I also created a specific template for pixi-vn + storymate where you can start testing. It is located in the In this template I noticed some slowdowns due to "MarkdownTypewriter". so if you notice them they are not due to the implementation made for storymate. I have also invited you to both projects so you have the option to edit if you want to add something (just ask me for any needs). Please do some tests with the template too I based myself on the "Gauntlet v1.0" example. Everything in that example is handled. Always based on that json I created a typescript interface: https://github.com/DRincs-Productions/pixi-vn-storymate/blob/main/src/types/StoryMateType.ts Can you tell me if this interface is missing any properties? also I don't know what the following properties are or how to use them:
I also noticed a small problem. storymate assigns a unique id (number) to each node. this id (if I understood correctly) is not editable by the developer, and is assigned by StoryMate. pixi-vn also uses a unique id (string) that is assigned by the user. the problem that the developer will have to use that id to start a narrative node. currently it will have to start something like this (where "storymate-" is a string that I prefixed that I decided to add myself and 1 is the storymate id) narration.callLabel("storymate-1", gameProps)So the player will need to somehow be able to get the node id from storymate, it's not clear to me if this is currently possible. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is StoryMate.dev? No-Code Interactive Storymaking with branching narratives, special effects, and structured content
It would be great to have the possibility to use StoryMate.dev to create a pixi-vn project.
I think this is possible because StoryMate.dev has more or less narrative logic compatible with pixi-vn and because it is based on a json.
so what I was wondering what is the best alternative:
Beta Was this translation helpful? Give feedback.
All reactions