Draw with others in the same LAN! Made using Raylib for rendering and SFML for networking.
Draw with others in the same LAN! Made using Raylib for rendering and SFML for networking.
I made clients get previous stroke history upon joining using TCP. This introduced some complexity to the server since it now had to handle both TCP and UDP. That’s why I also optimized both the server and the client and the CPU usage went down by a lot. Not that it was some crazy optimization, my original code was just awful. Anyway, here’s a screenshot of 4 clients running on the same server.
Log in to leave a comment
Made the basic painting interface, the server and the client. In the future I’d like to combine the server and the client in the same executable though. That shouldn’t be that hard. But it’s completely functional so that’s cool.
Log in to leave a comment