Beiträge: 41
Themen: 12
Registriert seit: Oct 2013
Bewertung:
0
I posted in the amiforce.de asking if there is a network support for blitz basic v2, but I start to think the answer is no. So I am asking here in hopes there is network feature. Is there a network feature for amiblitz 3? If so, where do I go to find tutorials and examples of network? I am not asking through parallel or serial either, but using asdl/ethernet and using file.device to access network. Thanks in advance.
Beiträge: 42
Themen: 8
Registriert seit: May 2014
Bewertung:
0
There is, though the documentation isn't all that great. Check out bsdsocket.include.ab3 in the Sourcecodes/Includes drawer. It includes functions to let your program use bsdsocket.library, and a simple demo program is built in.
Edit: Regarding Blitz 2, well, nope, there isn't network support in Blitz 2, but it might be possible to use the AB3 include with BB2 with some modifications. I've done this with other includes when I needed to use Blitz 2 but wanted the convenience of the AB3 includes.
Beiträge: 42
Themen: 8
Registriert seit: May 2014
Bewertung:
0
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.
Beiträge: 42
Themen: 8
Registriert seit: May 2014
Bewertung:
0
There's not as far as I know, but you could try and of the standard Amiga channels on EFNet or Arcnet. Also, there's a Blitz subforum on eab.abime.net that is a little less quiet than here.
I don't really know what exactly you're trying to do. I'm sure there are lots of websites that let you draw and save the image as a graphics file. What about using something like DeluxePaint or PersonalPaint? Both will save IFF images which can be loaded directly by AmiBlitz, then "blitted" in the window or on a bitmap. Check the Blitz documentation for LoadShape, Blit and WBlit for details.
Beiträge: 291
Themen: 53
Registriert seit: Sep 2013
Bewertung:
7
I will look for the srcs i've collected so far; but i can certainly say there is network support in BB2, and therefore, for AmiBlitz. There was a DARK (?) Browser-like engine to show that functionality.
As always: I fit is system friendly and not to much loaded with UNIX/POSIX/BSD and sh*t like that you can certainly do it with BB2 as well.