Here's what your looking for:
rem Settings
Sync On : Sync Rate 0
Load Image "Tiles.png",1
rem Setup Matrix
Make Matrix 1,1000,1000,10,10
Prepare Matrix Texture 1,1,2,2
Fill Matrix 1,Rnd(100),2
rem Make Dirt Road
For Z= 0 To 9
Set Matrix Tile 1,5,Z,1
Next Z
Update Matrix 1
rem Main Loop
Do
rem Camera Control
CAx#=WrapValue(CAx#+(MouseMoveY()*.5))
CAy#=WrapValue(CAy#+(MouseMoveX()*.5))
Rotate Camera CAx#,CAy#,0
rem Move Camera
If DownKey()=1 Then Move Camera -2
If UpKey()=1 Then Move Camera 2
Sync
Loop
I attached the media to this message. If you have any questions just ask
.