Hey TomToad,
I actually tried a similar technique but ran into problems when the sequence hits 10. Here's the code I used adapted from your code (frames 10 - 14 load correctly using this method):
I assume I may need a function to get rid of the "0" once the array reaches 10. Any ideas?
I actually tried a similar technique but ran into problems when the sequence hits 10. Here's the code I used adapted from your code (frames 10 - 14 load correctly using this method):
Dim tex (14) For t = 1 To 14 tex(t) = LoadTexture ("images\run_" + Right ("0" + t, 2) + ".png",1+2) Next
I assume I may need a function to get rid of the "0" once the array reaches 10. Any ideas?