I've made a simple multiplayer demo to start to get this going on the Picotron.
It works, not well, but it works. Looking to you guys to help get a good base example with prediction and all that good stuff. Please take this and make it better and post your better versions.
I've borrowed from Picoroom, arnaught's HTTP Server and lots of other that post here, thanks!
Host starts a TCP server on port 8080
if you launch two on the same machine as host the second will default to a client and try to connect to localhost:8080
You can edit the client IP you are trying to connect to!! keep the format tcp://192.168.1.123:8080
z/button 4 will meow
I've seen it crash the whole (picotron) if you try to connect to an IP that doesn't exist. Doesn't always happen and I don't know exactly why, leme know if you can see how I am doing it wrong.
I've tested it between my desktop (mac) and a uConsole (RPI) but don't think the web version will work at all. Download to run.
update:
added a keyp("z") to meow, still doesn't work in the web version.
[Please log in to post a comment]