erkie.github.com icon indicating copy to clipboard operation
erkie.github.com copied to clipboard

add multiplayer mode

Open chilang opened this issue 14 years ago • 10 comments

when activated on a give page, join with other people that are also viewing the page with asteroid activated

chilang avatar Oct 12 '10 08:10 chilang

A lot of people have suggested this, but everyone has destroyed different parts of the page. How should it handle this?

erkie avatar Oct 12 '10 13:10 erkie

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).

chilang avatar Oct 13 '10 09:10 chilang

you can also randomly, gradually re-grow part of the pages but i'm not sure how it is feasible to implement.

chilang avatar Oct 13 '10 09:10 chilang

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...

lostmindio avatar Oct 31 '10 16:10 lostmindio

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.

renholm avatar Dec 07 '10 10:12 renholm

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!

goatslacker avatar May 14 '11 01:05 goatslacker

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

erkie avatar May 16 '11 12:05 erkie

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]

goatslacker avatar May 17 '11 04:05 goatslacker

Server not cooperating at the moment. I'll add a quick todo on how to get a demo up and running on localhost.

goatslacker avatar May 17 '11 05:05 goatslacker

added a demo @ http://nodefighter.nodester.com

goatslacker avatar Jun 04 '11 23:06 goatslacker