blurymind / YarnClassic

A tool for writing interactive dialogue in games!
MIT License
508 stars 50 forks source link

feature: ability to write yarn editor plugins inside yarn editor #328

Open blurymind opened 2 weeks ago

blurymind commented 2 weeks ago

Yarn editor uses ace-editor, which can pretty easily be enabled to edit javascript syntax files. Plugins can now be hosted on a gist, so in theory they can also be edited while hosted on that gist (we have the mechanism to load files from gists already)

The dream is to have a new settings button that lets you open the editor in js mode and edit the plugins. Then the process is to apply changes and hot reload.

The goal is to enable quick dev iteration directly in the browser - to add and remove custom features to yarn editor

blurymind commented 4 days ago

would be good if the user can write plugins even if they dont have a github account - the plugin code would be stored locally on their computer and be exportable somehow