Headless GCS #680
Replies: 4 comments
-
Potentially even the UI could be ported by drawing directly to a Canvas element potentially even using WebGL. |
Beta Was this translation helpful? Give feedback.
-
The model is already largely separate from the UI in the current code base. Compiling to WASM is fairly straight-forward with Go... however, you'd still need data access (currently the local file system) as well as a lot of UI code to do anything useful with it. |
Beta Was this translation helpful? Give feedback.
-
Is the data access abstracted already? That would have to pass through JS. Just being able to embed GCS Model in VTT and interact directly with the existing Character Sheet would be killer. @crnormand FYI |
Beta Was this translation helpful? Give feedback.
-
No, it isn't |
Beta Was this translation helpful? Give feedback.
-
How hard would it be to make a version of GCS that is headless? By that I mean, that the business logic is fully separated from the UI. If that is not too difficult, GCS Headless could be compiled to a WASM binary, allowing to be used directly in a web page without using a web server.
I guess another consideration would be around abstracting asset loading.
Beta Was this translation helpful? Give feedback.
All reactions