Jump to content

Recommended Posts

Posted

wip46.jpg

I decided to ditch the old floating brains and made these floating enemies instead. I wanted the enemies to fit together more. They are also easier to make variations on, I just need to swap out the heads and certain parts :)

Posted

are you using photon? I noticed the nat punchthrough network option.

I looked into photon but decided for the built in unity stuff. I do my own bookkeeping on everything that goes over the network so it works well enough :). I still need to figure out a good way for people to set up a game, I hate terms like "use NAT punchthrough", nobody know what it means lol. Ill probably have it default to "start local network game" with an option of "start internet game" if you are behind a router.

This part of networking really sucks.. I've only been able to start an internet game behind a router once using port forwarding, it's like total hit or miss if it works and there's nothing you can do about it :(.

Posted

Why? I got it working pretty well :P. Trying out this kind of stuff yourself is why I'm doing this :). I'm learning so much about parts of game development I wouldn't get exposed to otherwise. It's really interesting to learn about how networking really works, what is and isn't possible and the crazy trickery you need to do for certain things. I love it :)

Posted

Oh that's cool man, for a moment there I just thought you were actually frustrated for having to deal with network code which is something completely alien to you, that's why.

But that's a very good point and I agree, trying stuff other than what you typically do is very rewarding.

Posted

you should give photon a second try if you gave up on it. we used it on magerage and its one hell of a great solution and they offer server hosting if you need big servers at small prices and they pretty much rule for the simple fact that you can just always talk to them when you run into networking problems...

Posted (edited)

Why? I got it working pretty well emot_razz.gif. Trying out this kind of stuff yourself is why I'm doing this emot_smile.gif. I'm learning so much about parts of game development I wouldn't get exposed to otherwise. It's really interesting to learn about how networking really works, what is and isn't possible and the crazy trickery you need to do for certain things. I love it emot_smile.gif

+1. I love what you have created so far. Is there like a gameplay video out that I can look at? Would love to see all those lovely pictures in motion emot_wink.gif

Edited by mkandersson
Posted

The thing is, most games really don't get networking a 100% right. Not even league of legends (i had to open ports for that), so I actually think it is valid advice to use photon instead of the built in unity stuff. It's not like you photon makes networking work in your game without any code, so you still have to make it work :)

The benefit is that photon takes care of the internet-server part (also behind a router), whereas the built in unity stuff just doesn't. And if you want to try to make your own networking stuff from the ground up you're gonna have a hard time getting through routers as well.

Posted

I know, I can't think of a lot of games that make it very easy to just start up a server with.

with photon, you would just have to setup a few dedicated internet servers right? So you're still limited to the amount of dedicated servers you have running, and probably requires a lot of rethinking on the architecture of my game :P.

Or am I completely wrong here and could anyone just set up their own internet server behind a router if my game was using photon?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...