-
Notifications
You must be signed in to change notification settings - Fork 93
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
Comments
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 2011/5/14 goatslacker <
|
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 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 |
when activated on a give page, join with other people that are also viewing the page with asteroid activated
The text was updated successfully, but these errors were encountered: