How many tipe of scrolling are possible with Blitz?

BlitzPlus Forums/BlitzPlus Programming/How many tipe of scrolling are possible with Blitz?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

plenty of methods

tileimage image[,x,y]

if you modify the x and y params you can scroll that way.

can also do it another way if you are drawing your images from a tilemap in an array, like this:

(tiles are 16x16)

dim map(100,100)

function drawmap(ox,oy)

for x = 0 to 100
 for y = 0 to 100
  screenx = x*16 + ox
  screeny = y*16 + oy
  if (screenx >= 0) and (screeny >= 0) and (screenx <= graphicswidth()) and (screeny <= graphicsheight())
   drawimage map(x,y),screenx,screeny
  end if
 next
next

end function