Hi, how can i use the data command with a tiles set of 197 tiles?
Edit:
my code is below:
Global Tile_Map
Global Tiles=197
Graphics 800,600,0,2
SetBuffer BackBuffer()
Load_Graphics()
While Not KeyHit(1)
Cls
Render_Graphics()
Flip
Wend
End
Function Load_Graphics()
Tile_Map=LoadAnimImage("blocks1.bmp",32,32,0,197)
End Function
Function Render_Graphics()
DrawImage Tile_Map,0,0,2
End Function
Edit:
my code is below:
Global Tile_Map
Global Tiles=197
Graphics 800,600,0,2
SetBuffer BackBuffer()
Load_Graphics()
While Not KeyHit(1)
Cls
Render_Graphics()
Flip
Wend
End
Function Load_Graphics()
Tile_Map=LoadAnimImage("blocks1.bmp",32,32,0,197)
End Function
Function Render_Graphics()
DrawImage Tile_Map,0,0,2
End Function