Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multiplayer mode #10

Open
chilang opened this issue Oct 12, 2010 · 10 comments
Open

add multiplayer mode #10

chilang opened this issue Oct 12, 2010 · 10 comments

Comments

@chilang
Copy link

chilang commented Oct 12, 2010

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

@erkie
Copy link
Owner

erkie commented Oct 12, 2010

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

@chilang
Copy link
Author

chilang commented Oct 13, 2010

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
Copy link
Author

chilang commented Oct 13, 2010

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

@lostmindio
Copy link

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

@renholm
Copy link

renholm commented Dec 7, 2010

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.

@goatslacker
Copy link

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!

@erkie
Copy link
Owner

erkie commented May 16, 2011

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:
#10 (comment)

@goatslacker
Copy link

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
Copy link

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

@goatslacker
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants