I built this little Web game with Node.js, Three.js, Socket.io and various other libs. I wrote an overview of the tech used here: http://sparklinlabs.com/2013/04/craftstudio-beta-release-dat... If you have any particular questions about how anything was built, I'd be happy to detail it. EDIT: By request, I just made the repository public. It's not open source but feel free to check it out if you want to see how it wa…
Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
31–40 of 43 posts
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#32I built this little Web game with Node.js, Three.js, Socket.io and various other libs. I wrote an overview of the tech used here: http://sparklinlabs.com/2013/04/craftstudio-beta-release-dat... If you have any particular questions about how anything was built, I'd be happy to detail it. EDIT: By request, I just made the repository public. It's not open source but feel free to check it out if you want to see how it wa…
well done! what kind of server is it running on?
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#33Some suggestions:
* At the beginning of the screen show a message that tells the player 'You are on team RED'
* Add a message for players who are team-killing - like a huge 'TEAMKILL' popping up on their screen.
* Also add a penalty to prevent people from team-killing (like a 10 sec respawn delay)
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#34Most people just ran around team killing, and I suggest this is because they didn't realize it's a team game at all. Some suggestions: * At the beginning of the screen show a message that tells the player 'You are on team RED' * Add a message for players who are team-killing - like a huge 'TEAMKILL' popping up on their screen. * Also add a penalty to prevent people from team-killing (like a 10 sec respawn delay)
Instead of hurting players (-20 health) with friendly fire, I thought it would be fun for teamkillers with -1 score to actually give their teammates +1 health by shooting them. I think some players have started using it as a way to have a "healer class", which is kind of a fun emergent behavior.
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#35Well... the server is getting hammered and the player list is like... more than full. Going to add some player limit to avoid ruining the game for everybody. EDIT: OK, server restarted, game is now limited to 20 active players, should help with lag a bit. EDIT: Lowered the limit to 16, improved some inefficiencies in the network code. Looks like it's running fairly well now.
Might be a fun excuse to play around with an Erlang port:-)
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#36Most people just ran around team killing, and I suggest this is because they didn't realize it's a team game at all. Some suggestions: * At the beginning of the screen show a message that tells the player 'You are on team RED' * Add a message for players who are team-killing - like a huge 'TEAMKILL' popping up on their screen. * Also add a penalty to prevent people from team-killing (like a 10 sec respawn delay)
Fair points. I already started mitigating this by disabling friendly fire for players with -1 score (that is, as soon as a player has team killed once and made no valid kills, they won't be able to teamkill again until they make one legit first). Instead of hurting players (-20 health) with friendly fire, I thought it would be fun for teamkillers with -1 score to actually give their teammates +1 health by shooting th…
It's hard to tell whether the guys shooting at me were really trying to heal me though.
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#37Most people just ran around team killing, and I suggest this is because they didn't realize it's a team game at all. Some suggestions: * At the beginning of the screen show a message that tells the player 'You are on team RED' * Add a message for players who are team-killing - like a huge 'TEAMKILL' popping up on their screen. * Also add a penalty to prevent people from team-killing (like a 10 sec respawn delay)
Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#38Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#39Re: Show HN: Sparklin Wars, multiplayer Web shooter I built over 2 nights
#40Nice work, amazing that you could crank this out in a couple of nights. Inspirational!
Thanks :). I spent a huge amount of time working with those techs lately so I'm pretty familiar with them. It's not like I could have done that from scratch. Over the last few weeks I wrote a Web player with Three.js / Lua.js to be released with the Beta of my cooperative game-making platform (next week) - http://craftstud.io/ , and last year I wrote a Google Wave-like thing with Socket.io.