05-09-2003, 12:26 AM
I'm getting an error from my code can you see what's wrong with it.
You can get the .TIL file here
Thank You for Your help
Code:
SCREEN 13
CLS
DIM sprite(65, 43)
OPEN "SASUKE.TIL" FOR BINARY AS #1
length = LOF(1) - 768
FOR sprt = 0 TO length / 258 - 1
sprite%(0, sprt) = 64
sprite%(1, sprt) = 8
FOR byte = 2 TO 65
GET #1, (sprt * 258) = (byte * 2), temp%
sprite%(byte, sprt) = temp%
NEXT
PUT (sprt * 18 + 1, 150), sprite(0, sprt), PSET
NEXT
You can get the .TIL file here
Thank You for Your help
·····································LINEAR INC·····································
Ã-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance
Ã-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance