Skip to content

pen tool drawings aren't being rendered to remote peer canvas #80

@michaelpalumbo

Description

@michaelpalumbo
  • send as ephemeral data to draw remotely

also need to check that pen changeNodes recall correctly (at the moment, if there are 2 written one by each peer, both don't appear simultanesouly, it flips between the two with changeNode recalls

  • when storing canvas to the patchHistory, make sure we store all of the canvas, not just the latest strokes
  • the issue appears to only be when 2 peers are active, and each makes a drawing. the initial draws work on the canvas, but are stored as separate canvas arrays in the history (i.e. not accumulating)

another funky thing is that if a player starts drawing after another player finished, their first stroke point is connected by a line to the last stroke point of the previous drawing.

  • fixed (i.e. this isn't happening any more)

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions