Closed dmarcos closed 5 years ago
Besides saving the scene locally.
Check out https://react.rocks/example/esnextbin - it uses anonymous GitHub Gists well. If you have questions, let me know.
This is a differentiation with respect to native tools like Unity. Open, Edit and Share workflow is much harder in native
Check out http://hyperdev.com/ too
How would this work (along with #382) when using local assets or scripts/components?
With budo, browsersync, webpack, etc. dev tools, a local dev server could rewrite the routes.
Gomix (formerly Hyperdev) offers a nice integrated Assets uploader that lets you reference assets locally and rewrites the paths to use absolute URLs on its CDN. Check out this boilerplate project: https://devilish-hip.gomix.me
Something similar to that approach would be the easiest. I've got a few ideas if someone wants to help tackle this workflow in Q1.
Local scripts can be XHRed and be turned into a script tag with innerHTML.
I would not handle local stuff for V1. The use case would be similar to codepen. Open an existing online scene, tweak it and share it. We can later look at more advanced stuff
Had a similar discussion this morning, definitely needed. Newcomers have usually no sysadmin skills so being able to visually edit a scene get them very excited until they try to save their result and get completely lost.
What about sending UploadCare then referring to it like with Apainter?
A few services to point to:
Naive version https://www.youtube.com/watch?v=CFH7cK1tJME
@Utopiah nice! Can you describe a bit the approach?
@dmarcos shamefully basic
cf https://vatelier.net/MyDemo/aframe-inspector/saving/doc.html
PS: can use document.getElementById('camera').setAttribute("camera", "active:true")
)
With all the recent work on fixing saveSceneToHTML() and cleaning up the resulting HTML #482 #485 #443 #487 #488 #489 #490 #478 this could be worked on again.
Investigating for JSBin https://jsbin.com/help/api#writeapi and glitch https://twitter.com/utopiah/status/827193459937271810 cf prior exploration.
not a common workflow and saving the scene without having access to source is pretty impossible. glitch has worked well for remixing
That would allow for quick iteration and easy sharing of derivative work.