erkie.github.com
erkie.github.com copied to clipboard
add multiplayer mode
when activated on a give page, join with other people that are also viewing the page with asteroid activated
A lot of people have suggested this, but everyone has destroyed different parts of the page. How should it handle this?
we can treat each people browser session/history as a tunnel through web pages, when there are more people on one page, each side of the screen can represent a gate to one person browser history so you can fly to different pages when crossing the border (some privacy issues but ppl can opt-in, and can exclude private site like https, gmail, etc).
you can also randomly, gradually re-grow part of the pages but i'm not sure how it is feasible to implement.
this sounds really difficult to implement while still keeping the code small, and not involving some kind of game server...this would be a good candidate for using websockets, but the browser support for it is so limited right now...
I like the idea of gradually re-growing parts of the page. Not sure how the destruction of elements are handled now, if they are hidden (e.g. "display: none") it should be easy to show the elements again.
To still keep the code small the additional multi-player code could be loaded when the user goes into multi-player mode.
Think that Node.JS could be a fun thing to try for the server.
ive been working on this on and off for a while. started working on it a lot more lately. you can check out the progress in my fork on the multiplayer branch.
follow if you're interested: https://github.com/goatslacker/KickAss
I'm using socket.io + node.js and I've modified the KickAss game to include enemies. It's a work in progress, so far I've got ships, bullets and explosions sync-ing. Would love some help on it from the community!
That looks great! Any demo link? And could you please rename the project to something other than Kick Ass? I don't want it to be confused with the "real" Kick Ass. I hope you understand.
2011/5/14 goatslacker < [email protected]>
Silly me, forgot to include a link to the fork: https://github.com/goatslacker/KickAss
Reply to this email directly or view it on GitHub: https://github.com/erkie/erkie.github.com/issues/10#comment_1158321
Yeah, let me get a public server up and running. I'm not fond of the name myself. I just used the internal name :) Any name suggestions?
Some cheesy options:
DOMFighter CloudFighter CloudWars Galaxy Gladiators
my basic algorithm is [something about space, or a reference to the cloud, or DOM] + [some kind of synonym for a warrior, fighter, gladiator or a war]
Server not cooperating at the moment. I'll add a quick todo on how to get a demo up and running on localhost.
added a demo @ http://nodefighter.nodester.com