In this week, I was working on creating a collaborative chat.
I had some problems with separating mouse coordinates for each user. After solving this problem, I decided to move my canvas, what obviously caused another problem – the drawing was being created far from the mouse. I have a feeling that I solved it, but any small change in the code might mess it up again, so I rather won’t brag about it.
I keep trying to figure how to draw continuous line when pressing the mouse, but the fact that I have to send and display the drawing from the server makes it a very hard task to complete.
So far I managed to draw straight lines between each ‘click’ of the mouse.
I also added ‘login’ panel & clear button. Still fighting with continuous drawing.