News for hackers. Stuff that matters.
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS... by basicallysteve on Wednesday April 07, 2021 @06:04PM (#26732010)
Hey! So I discovered kaboom.js yesterday and I think it’s really cool! I’d like to starting building some games, but I was thinking about maybe making them multiplayer, running commands through websockets or something. I don’t see any ways to control character outside of key pressing or clicks. Do you think this would be possible?
Re:Show HN: Kaboom.js is a zero-dependency declarative JavaS... by slmjkdbtl on Wednesday April 07, 2021 @06:10PM (#26732077)
It definitely possible if you build your own networking stack, but native multiplayer support is planned! Also you can control characters through any events, like

   socket.on("msg", () => { player.move(...) })