I've been testing further, ans it's definitely something to do with the frame I'm trying to display.
I changed this to:
and it draws 13x8 cards, but all rows are the same. I can't work out why the 'f' is causing the problem. Is there perhaps an easier way to do this? I need the 2 dimensional array so as I can display the cards in a grid, but couldn't think of another way to populate this, other than what I have done... :(
DrawImage cards,e*52,f*70,board[e,f]
I changed this to:
DrawImage cards,e*52,f*70,board[e,1]
and it draws 13x8 cards, but all rows are the same. I can't work out why the 'f' is causing the problem. Is there perhaps an easier way to do this? I need the 2 dimensional array so as I can display the cards in a grid, but couldn't think of another way to populate this, other than what I have done... :(