10-07-2004, 02:55 PM
So anyway, i just got done reading a tutorial over at www.qb4all.com showing how to use BLOAD AND BSAVE.
So What i did to test it out is this
Then I closed that program and opened a new one to see if i could recall the .gfx file and draw my graphic using the put command. Needless to say it didnt work. (No Suprise there). So to do this i did this.
Could Some please tell me what i did wrong. Also If your out there Zire just want to give you a thx for all the help lately.
So What i did to test it out is this
Code:
dim tile(15)
screen 13
for y = 1 to 5
for x = 1 to 5
read z
pset (x,y),z
next: next
get (0,0)-(5,5).tile
def seg = varseg(tile(0))
Bsave "tile.gfx",varptr(tile(0)),25
data 1,1,1,1,1
data 1,1,1,1,1
data 1,1,1,1,1
data 1,1,1,1,1
data 1,1,1,1,1
Then I closed that program and opened a new one to see if i could recall the .gfx file and draw my graphic using the put command. Needless to say it didnt work. (No Suprise there). So to do this i did this.
Code:
dim test(15)
screen 13
def seg = varseg(test(0))
bload "tile.gfx",varptr(test(0))
put (10,10),test
Could Some please tell me what i did wrong. Also If your out there Zire just want to give you a thx for all the help lately.