You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send it to a backend, e.g Express on Glitch with a /save route, that would
save it in a specific directory with a timestamped filename (to avoid overwriting) and
made it available, then finally
optionally redirect to it.
This was quite convenient because one could open a scene, modify it endlessly and instantly make the change available to everybody else. This was great for introductory workshops with adults and kids alike because participants can spend a long time adjusting positions for their assets.
As discussions related to it shown some things changed, e.g removing the HTML exporting by providing a solution better suited to seasoned developers who already know Node.
I believe the inspector, or now editor, can be a great level editor, namely when the basis is already running (working components providing unique features or game mechanics) being able to have the assets positioned properly, possibly even delegating that to non developers.
As this might not be the typical use case maybe a dedicated component would be more appropriate, e.g saving-endpoint="https://aframe-editor-saving-endpoint-example.glitch.me/save" that would replace the behavior of the "Write changes with aframe-watcher." icon.
The text was updated successfully, but these errors were encountered:
Seems writeChanges() could be a place to start from. It does not send the HTML proper though, only a data structure AFRAME.INSPECTOR.history.updates that must still be interpreted by the watcher. It also includes limitations that are problematic in the context of a level editor, e.g unable to add new entities.
As demonstrated few years ago it was then possible to :
/save
route, that wouldThis was quite convenient because one could open a scene, modify it endlessly and instantly make the change available to everybody else. This was great for introductory workshops with adults and kids alike because participants can spend a long time adjusting positions for their assets.
As discussions related to it shown some things changed, e.g removing the HTML exporting by providing a solution better suited to seasoned developers who already know Node.
I believe the inspector, or now editor, can be a great level editor, namely when the basis is already running (working components providing unique features or game mechanics) being able to have the assets positioned properly, possibly even delegating that to non developers.
As this might not be the typical use case maybe a dedicated component would be more appropriate, e.g
saving-endpoint="https://aframe-editor-saving-endpoint-example.glitch.me/save"
that would replace the behavior of the "Write changes with aframe-watcher." icon.The text was updated successfully, but these errors were encountered: