Hi all,
Still new to B4A and I have a very specific function that I'm trying to accomplish. I've been pouring over tutorials, forum posts, the official book, and multiple .pdf documents and I'm still stuck. I guess my autism is preventing me for putting it all together so here's what I'm going for:
I am working on a board game that has a main board with 113 hexagons. The board size remains the same, but the board's terrain tiles can be interchanged and customized. How do I create an array that can identify all 113 hex spaces, decode them, and draw the appropriate tile on the map's canvas?
I'm working with setting up the map's terrain tiles with
Dim MapTiles(112) as Int
I then decode the array with
For Each n in MapTiles as Int...
Thanks in advance for everyone's help and patience. I may ask a bunch of dumb questions, but never the same one twice!
Still new to B4A and I have a very specific function that I'm trying to accomplish. I've been pouring over tutorials, forum posts, the official book, and multiple .pdf documents and I'm still stuck. I guess my autism is preventing me for putting it all together so here's what I'm going for:
I am working on a board game that has a main board with 113 hexagons. The board size remains the same, but the board's terrain tiles can be interchanged and customized. How do I create an array that can identify all 113 hex spaces, decode them, and draw the appropriate tile on the map's canvas?
I'm working with setting up the map's terrain tiles with
Dim MapTiles(112) as Int
I then decode the array with
For Each n in MapTiles as Int...
Thanks in advance for everyone's help and patience. I may ask a bunch of dumb questions, but never the same one twice!