many-realities-studio / realityflow-old

GNU Affero General Public License v3.0
2 stars 1 forks source link

Real time node editing, automatic node checkout on most operations and on manipulating objects, run graph command propagation to other clients #105

Closed Iminance closed 3 years ago

Iminance commented 3 years ago

Also fixed project deletion, allowing users to see graphs on creation, fixed joining with short code, lock object/nodes when they are checked out, fixed loading a project with no exposed parameters, added sphere prefab for RF, exposed params should now spawn in top left of whiteboard if no previous nodes were added, removed graph checkout system to only keep node checkouts.

To test, check out both main repo PR and corresponding submodule PR and

  1. Have 2 users connect to the same RF server
  2. One user creates a new project and enters it, the other should join with short code (last 5 characters of the room code)
  3. One person creates a new graph, the other person should see it appear in hierarchy upon creation
  4. Both users load the graph onto their whiteboards
  5. Create a Pig FlowTObject with all default values except z position at -5 and a Sphere FlowTObject with same values but z at -4
  6. Add an object manipulation node, a gameobject parameter, and a color parameter with any desired color
  7. Next, modify the gameobject parameter and select the Sphere gameobject with it.
  8. Add the two parameter nodes to the whiteboard and connect the param nodes to the object manip node.
  9. Drag the pig into the pen and the color of the sphere should change on everyone's end

To test realtime node movement, have someone drag a node around and the other person watch it move around in real time. Checkouts for nodes/objects should now all be automatic

Closes #104

Morgan-Wilkinson commented 3 years ago

The test works as expected!