Hey everyone can someone help me get this code below to smooth scroll, right now its scrolling 1 tile (16 pixel) at a time. Am I missing something??
:EDIT:
Sorry forgot to mention, Im trying to do pixel scrollin, but retaining the maps tile array
For Local y = cloud_y To 13 + cloud_y For Local x = cloud_x To 15 + cloud_x SetBlend(ALPHABLEND) ; SetAlpha(.5) DrawImage g_cloud,(x-cloud_x)*16,(y-cloud_y)*16,tilemap[x,y,2] ; SetBlend(SOLIDBLEND) DrawText x,8,24 Next Next ' THIS BELOW IS THE TIMER TO MOVE THE TILES cloud_w = cloud_w + 1 If cloud_w > 20 If cloud_x < 15 Then cloud_x = cloud_x + 1 Else cloud_x = 0 If cloud_y < 15 Then cloud_y = cloud_y + 1 Else cloud_y = 0 cloud_w = 0 EndIf
:EDIT:
Sorry forgot to mention, Im trying to do pixel scrollin, but retaining the maps tile array