net game, advice
Blitz3D Forums/Blitz3D Beginners Area/net game, advice
| ||
hi, what is the best and EASY way to write a game with multiplayer option...? a game style like Command & conquer. i noticed some libs are hard to make them work, and allways have problems to connect one computer to another, or more computers... i want to make a server, and no more than four player connect to server to play the game. what is the best option UDP or TCP ? |
| ||
It really depends. For C&C UDP might be better, but I would still say TCP as UDP is a bit hard to do in B3d |
| ||
UDP is not hard to do in B3D. UDP is your best bet for real time games, TCP is more appropriate for a turn based game - but UDP can be used with that no problems as well. There are plenty of examples in the code archives of various libs .... the netblitz lib is pretty good. |
| ||
thanks... |
| ||
i see the netblitz and works in my computer, but allways have some problems to connect two computer usin a lan. i have a linkssys router and windows XP, i need to make something to use udp with blitz aplications? |
| ||
You may need to switch your firewall off. Other than that I can't think of anything else. |