Direct play comands
Blitz3D Forums/Blitz3D Programming/Direct play comands
| ||
Hi does anyone have any simple examples of a simple 3d net game using blitz direct play command with sending and recieving of information. looking just for something simple to get the idea like spheres for players, i'm not sure how to go about using the command due to there not being any examples of it use :S. thanks. |
| ||
In the docs there are a few examples, not full games, but the basics. Try the search string "net": http://www.blitzbasic.com/b3ddocs/command.php?name=net&ref=goto This one is looking good: http://www.blitzbasic.com/b3ddocs/command.php?name=SendNetMsg&ref=goto |
| ||
ok, it makes some sense but what i'm not seeing as such is how the player data like the x,y,z coords is send to the remote computers not as a displayed text message but to update the character in the romote computer for the opponent to see, if that makes sense, or is all this done automatically in the set net game? thanks |
| ||
ok think i understand how it works now, just one more question, when a game is hosted or several, how can i get these hostes game to appear on a clients system for the client to choose which hosted game they want to join? can anyone advise? thanks. |
| ||
You can use GNET (found in Code archives) but you need php enabled webspace and a small MySQL database. |
| ||
Thanks, think i have the idea now :-). |