Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Network support...
#4
I haven't done much with it other than run the demo code, which was fine, but I do have vague plans not dissimilar from yours to add simple network support to a turn-based game. But the specifics of coding the networking bit I'm not very familiar with. Hopefully someone else might be able to help, though it's quiet around here these days... The thing is, the bsdsocket.library calls are standard, so you might get non-Blitz-specific help elsewhere that would apply equally well.

As for getting the include into Blitz 2, well the way I've done it for other includes is to open the AB3 file in Blitz 2, save it as a .bb2 file in Blitz2:Includes (or anywhere you like that you can easily reference), and then go about modifying the code to suit. The commented section at the start can be removed anyway, and remove any Syntax or Optimize commands in the file. This might cause issues further down the code where the new AB3 syntax has been used, so you just have to go through until it compiles without problems. You might also need to manually define some constants at the start of the code, e.g. #__include = 0 for your project, and #__include = 1 to run the internal demo.
Zitieren


Nachrichten in diesem Thema

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 2 Gast/Gäste