In XR editor functionalties #99
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Several components are related to editing content while in XR namely :
targetto move, rotate and emitpicked,moved(arguably should be renameed moving), andreleasedfrom primary hand, execute code while secondary hand, add toselectedElemententity and history, cf #20doublePinchToScale()as 2 pinches scalingpullcomponent with visible feedback as line (cf08084875c9inpull-to-valuebranch)snap-on-pinchendedto snape on (invisible) unit gridaddGrid()to show a unit gridmakeAnchorsVisibleOnTargets()to make anchor points visible, particularly helpful for first time usersSome components are also related to saving server side, even though they might not be usable as-is #40 (which should be also clarified, ideally using a URL value to make the backend itself user configurable, supporting e.g Glitch endpoint)
As discussed on https://github.com/c-frame/aframe-editor/issues/4 and elsewhere having an in XR editor is powerful as it limits the iteration time. Consequently it is important to list such components, insure their compatility and provide examples, particularly in level design.
For permanence see
save()for localStorageload()remoteLoad()on wiki, hardcodedremoteSave()Both remote functions could instead rely on the optional presence of a component, e.g
remote-saving-server="url:https://jxr-remote-saving-server-example.glitch.me/". If it exists andurlis set, it would overwrited the default value, currently my PIM.Consider the benefits of registries, cf https://github.com/c-frame/aframe-extras/issues/413 , on this. Namely :
Could be interesting to start by make a custom registry with the dedicated components, enable them, pull the list of others with necessary ways, e.g tags, to filter down.
Even though not specific to level design or editing in general, as usually it remains limited to adding entities, components and changing the value of their properties, one of the core aspect of this project is about accessing as much as the stack as possible, including code itself. Consequently
jxritself or the code editors with syntax highlighting should be considered too. It might be best to do so after basics are done, as it's more inclusive, understandable by a broader audience, yet it is not secondary. Arguably it is even the distinctive aspect from most other projects.See specifically experiments in branches
and also possibly
See working example from
scaled-linked-editorbranch34bbc5bf73without saving. The user can manipulate a miniaturized yet live linked versions of an explicit set of entities via the neweditablecomponent.cloning primitives https://x.com/utopiah/status/1842195658637464037 , moving then and saving a history of modifications, replayable
changing color https://x.com/utopiah/status/1842198368438669389 with a "glove" coloring mode