0 Members and 5 Guests are viewing this topic.
Good Luck Dude!
1 little question (sprry if i'm wrong) but what if you stored all of the item's name's etc in a list (letters -> numbers of alphabet) and call in a routine to convert them back into a list? Or would that be larger and slower? Just asking...
Btw: nice to see how people get a good use out of point-on(x,y,2 and how do you "tile" your map? Is it hardcoded or string or matrix?
Each element in a matrix uses 9 bytes, so I would suggest storing multiple pieces of data per element. Maybe you can use a list of 18 elements for the tilemap and each element has a 31-bit number for the data in each row. I might have to do that myself >.>EDIT: Also, my sprite drawing routine is pure BASIC, so it takes about 5 seconds to draw a 16x16 sprite using hexadecimal.
For(A,0,15For(B,1,4inString("0123456789ABCDEF",sub(Str2,4A+B,1))-1For(E,1,4Ans/2If fPart(AnsPxl-On(Y+A,X+4B-EiPart(AnsEndEndEnd
For(A,0,7 ;ChangedFor(B,1,2 ;ChangedinString("0123456789ABCDEF",sub(Str2,2A+B,1))-1 ;changed to 2A, not 4AFor(E,1,4Ans/2If fPart(AnsPxl-On(Y+A,X+4B-EiPart(AnsEndEndEnd
For(A,1,2L1(AFor(B,4A-4,4A-1For(C,0,7Ans/2if fPart(Anspxl-On(Y+B,C+XiPart(AnsEndEndEnd
For(A,0,1real(Di^AFor(B,4A,4A+3For(C,0,7Ans/2if fPart(Anspxl-On(Y+B,C+XiPart(AnsEndEndEnd