I was wondering if there is any truth at all to this loop being used to load a background of sprites.
Is it coded right, impossible, is there an easier way, is it impractical, or is it revolution of TI-Basic please tell.
:16->Y
:Lbl 1
:For(X,1,16
:If L1(X+Y)=1
--------(X*5)x((Y/16)*7) Pt-on commands for grass
:If L1(X+Y)=2
--------(X*5)x((Y/16)*7) Pt-on commands for water
:If L1(X+Y)=3
--------(X*5)x((Y/16)*7) Pt-on commands for mountains
:End
:Y+16->Y
:Goto 1
I didnt feel like writing the Pt-on commands but I hope you get the idea.
I used 5*7 sprites for the ease of the 16*8.
Im not real worried about the speed of loading the sprites, unless its ungodly long.