Re:Lorien – Infinite canvas drawing/whiteboarding app
by isaacgreyed on Sunday June 12, 2022 @05:50PM
(#31718623)
The fact that it's built with a game engine may make it easier than it would otherwise be.
[ Parent
| on HN ]
Re:Lorien – Infinite canvas drawing/whiteboarding app
by chii on Monday June 13, 2022 @07:47AM
(#31724094)
if there's a server which runs an authoritative source of the canvas, then it'd be easier.
If it's peer-to-peer, then a CRDT style data format would be required, and that's not "easy".
Re:Lorien – Infinite canvas drawing/whiteboarding app
by Hamcha on Monday June 13, 2022 @09:44AM
(#31725458)
Godot's high level networking is so nice because it's easy to do either.
Since everything in Godot is nodes, you can assign "ownership" of nodes to peers. Every peer has full control over their nodes and then you sync the data via RPC.
That way, you can do authoritative by just giving all the ownerships to the server node, or p2p by sharing which nodes belong to who.
In the context of drawing though, yeah if you want people to mess with other people's strokes it becomes annoying.