What line have an out of range error occured?
I point out a couple of suspicious points in your program as follows.
1) The array name applied in line 5 (LOAD) and line 7 (BGLOAD) are unmatch.
2) You have not defined BG layer #3 as 64*64 map yet.
You should save map data with "SCSAVE" button instead of "SAVE" button in map editor of smile tool. Four map files (SC_xxx_L0 to SC_xxx_L3) will be yielded, and you write one of them as an argument of LOAD in line 5.
Yes. Before you load map data which has been made and saved with smile tool into a BG layer, you have to redefine the size of the layer larger than or equal to 64*64 with "BGSCREEN N,64,64" (N is BG layer number you've chosen), because default size of each BG layer is 25*15.
I'm sorry my advice was unclear.
You seem to use BG layer #3 only. In this case, you don't need line 1,3,4,7,8 nor 9.
And you should write "64,64" instead of "30,20" in line 2.
Try to replace above line 12 with the following codes.
BGSCREEN 0,64,64
DIM STR_GENERIC[0]
LOAD "DAT:SC_GENERIC_L2",STR_GENERIC
BGLOAD 0,0,0,64,64,STR_GENERIC
so i went through the old code because i couldn'tget what you said to work and i found a acls right above the sprite animation code so am i doing this correct also now it keeps saying type miss match in 0:6
Could you download a program with the key NDY5JEWD and store it in your current folder?
Please download it asap because I'll keep it on the cloud server temporarily.
Try to run and refer to the program.
Each BG tile has its own number, and you can get a tile number under the coordinates X, Y with BGGET function.
Could you download my program with the key NRY5XEAD and try to run and refer to?
The above-mentioned BG tile number under the player sprite appears on top left corner of the screen.