i have some networking code kindly placed on this site in the showcase and would like to use it in my game but don't know how to setup a server/client. where should i update things like bullets and players? should i feed data to a server then update everyone with that data? alsoo i need to know how to get remote machines to connect to the server machine.
networking
Blitz3D Forums/Blitz3D Programming/networking Please specify(link) which networking code you want to include in your game, because there are many on this site.
I can explain about bullets.
you will have to use Line pick as bullet is faster than blitzbasic is maby seam a litte rude but that is bullet.
You are writing a FPS i assume..
if i was to write an FPS i whold let client do the wrk. and just send a Player1 hitts player 2 message.
Remeber in order to have tcp float see this important if you dont like LAG.
http://blitzbasic.com/Community/posts.php?topic=76772
you will have to use Line pick as bullet is faster than blitzbasic is maby seam a litte rude but that is bullet.
You are writing a FPS i assume..
if i was to write an FPS i whold let client do the wrk. and just send a Player1 hitts player 2 message.
Remeber in order to have tcp float see this important if you dont like LAG.
http://blitzbasic.com/Community/posts.php?topic=76772