3 ms·
hey thanks for the article to andesbeat, I saw a comment (was deleted?) asking on how to implement on games based on C, well since we used socket.io you would
by daraosn 15y ago
hey thanks for the article to andesbeat,
I saw a comment (was deleted?) asking on how to implement on games based on C, well since we used socket.io you would just have to listen at the same port and code the game according to the commands that are being send, for instance "move_down", "move_up", "fire" etc.
- firefoxman1 15y agoHey, sorry, that was me. I clicked "delete" instead of "edit" and didn't feel like retyping. I was wondering how, after the socket.io server receives the commands like, say, "move_down", it implements them on the PC. Can you use something like Glovepie to simulate an input device or would you need a C library for Node? Otherwise you could only use this with games you code yourself, right? Love the project by the way. And 3 hours is crazy!