Ive gone and made a serious mess with this already im afraid. I cant even think of how to do a for loop to get images from a bitmap sheet thats 10x10 and ive deleted everything that says memblock in it but now quite obviously it wont work.
1) Load my bitmap
2) set format to 21 (so it can see the alpha?)
3) cut out 100 blocks and place them into images using a for loop
4) if i want to write ABDC (instead of ABCD for whatever reason)
i would have something like
ABDC = DrawBMFont( 200, 310, "ABDC", TGC, -12 ) : scaleBMfont( TGC, 50 )
(i think)
5) to position it i would do this? (i think)
positionBMfont( ABDC, x, y)
6) ????
7) profit?
I think im missing something in the code which is taking each image and saying "Right, thats that character, and thats that one, thats an 'A' and thats a 'B'"
But after all that is done can i do away with the rest of the code in that tutorial? What about the options for kerning and spacing like that other one has. I think my lack of how memblocks work is not allowing me to figure out what is going on so i dont know what to replace with what? Can i simplify this to just a few small paragraphs.
Edit: Also this is as far as i got making an algorithm which grabs images in a 10 x 10 grid but because i suck it doesnt work, and i even know why it doesnt work (because following it only makes sense in some parts but not all) but i cant do anything about it.
for a = 1 to 10
For n = 0 To 99
get image 1+n, n * 64, 64 * (n+1), n * 64 + 64, 64 * a
next n
next a
`this not only falls apart at the 'top' bit because the maths is wrong but also i know it wont go into the next row until it is done with all the images which is then pointless but i cant think how to make it skip down a row without adding something else that just counts 1 to 10
So if anyone wants to help me out with that then 'bonus'