Re: [Tuxpaint-devel] Patch for Collaborative network mode for Tux Paint
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2012-03-27 11:04:45
|
El dt 27 de 03 de 2012 a les 07:10 +0530, en/na Nitin Yadav va escriure: > Hi everyone, > > For the past few days I have been hacking the codebase and I have > implemented a feature for the project "Collaborative network mode for > Tux Paint". > Now, Tux Paint can run as a server or a client. If it runs as a server > and a client connects to it, whatever is drawn on the server using > brush will also be drawn on the client. Presently, it is working for > single client. I have implemented and tested for brush with black > color. I'm sending a patch for this along with some other files to be > added (attached herewith). Please try it and let me know of any bugs. Is a start, what makes me worry is that it is lacking pixels/packets?, see the screenshot, the top round is made with the default brush and it is not fully reproduced on the client, see how the size of the data to be transfered will increase using other brushes or other tools. Do you think you will be able to address this? For how to keep track of what is changing on the canvas, a place to look at would be some of the update_canvas*() functions Pere |