Posts: 3,522
Threads: 189
Joined: Dec 2003
Dunno, seems they changed it around 0.12-0.13
I havent bothered to try passing an array the old way.. I always use @ now..
IIRC lillo made a post saying you had to use @, some time ago..
Posts: 268
Threads: 9
Joined: Dec 2004
Here you go:
http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup
Shows all the ways you can use to pass image data to GET/PUT. The same methods can be used when specifying a target buffer for your gfx primitives...
i love it when the gods come down and talk to us ;)
[off-topic] that yin-yang sig thing is friggin kewl as[/off-topic]
Posts: 293
Threads: 31
Joined: Nov 2004
Quote:[off-topic] that yin-yang sig thing is friggin kewl as[/off-topic]
[dizzy]And now blocked on my computer.[/dizzy]
his sig left intentionally blank
Posts: 129
Threads: 15
Joined: Mar 2005
Here is how I am doing it in a little program I was messing around with (.13b). It seems to work OK:
Code:
'define the array to hold the graphic (48 x 48, 24 bit)
dim shared sred((48 * 48 * 2) + 4) as ushort
'load the graphic into the array
bload "graphics\red.bmp", VARPTR(sred(0))
'put the graphic to the screen
put (x,y), sred, TRANS
The transparent color is pink (255, 0, 255).