Author Topic: So I created a little multiplayer webgame.  (Read 1887 times)

http://63.251.20.184/

I'm just working on making a stuffty clone of agar.io to prove I can do this. The front end is Javascript using websockets and HTML5, the server is C++ using the SDLNet library.

Feel free to join. I'll be on for another hour until I have to go. I'll probably be adding stuff to the game frequently.
« Last Edit: June 24, 2015, 03:29:39 PM by DrenDran »


Fix your spawn I won
Yeah, that's an issue.
The original game had you spawn anywhere in the map. I might just make it so you can't eat anyone in the spawn area.

Right now if you connect Kat eats you.

« Last Edit: June 12, 2015, 02:32:54 PM by Katadeus »

Aww
I think I made the center a safe zone.

Try to eat me and let me know if it works.

There appear to be entities that cannot be eaten



i win

I'm covering the entire loving safe zone
« Last Edit: June 12, 2015, 02:56:08 PM by hodot »


add a character limit



add a character limit
There is. If you get named "RetryName" your name was too long. I believe the limit is 20 characters.

So I might take this down for a while to rewrite the protocol. It's pretty stuffty and leads to issues where you can end up controlling someone elses cube randomly. Also the server sometimes crashses when someone disconnects. Since this is the first time I've tested it with other people it's good that I can find these things.

Noice job on making a multiplayer game. I can see a lot coming out of you in the future.

There is. If you get named "RetryName" your name was too long. I believe the limit is 20 characters.
you can fix that with javascript alone, why wouldn't you? it would be very simple, and if they went around the JS to try to use a longer name anyway, you can just keep using the same "RetryName" thing, because people will probably never see it

also I wish people would stop saying "HTML5"
it's so buzzwordy
« Last Edit: June 12, 2015, 03:30:07 PM by Foxscotch »

you can fix that with javascript alone, why wouldn't you? it would be very simple, and if they went around the JS to try to use a longer name anyway, you can just keep using the same "RetryName" thing, because people will probably never see it
Yeah I could have a clientside check. Guess I was just lazy when I was the only person testing it.
also I wish people would stop saying "HTML5"
it's so buzzwordy
But that's what I'm using? An HTML5 canvas for graphics?

But that's what I'm using? An HTML5 canvas for graphics?
you're using HTML
the current standard for HTML includes the HTML canvas
it's really not a big deal in this case, but companies bragging about using HTML5 specifically is literally bragging about doing exactly what you're supposed to do



i win

I'm covering the entire loving safe zone
I made it to about 600. too big for my screen