Quote:
Originally posted by kyle0654
oops, sorry. Like an array, you must first do int(x) on the boardx you are checking to make sure that you are checking the tile on that array position. It stores whole number values for tile positions, not decimals, so you need to truncate it (what int does...cuts off decimals)
|
Ok but... what if we have say...
plain grass, red flower
grass blade left, grass blade right
That's 4 "tiles" which is one unit in the board array. So which one would come up? And how do I get the other ones? Or is the array even bigger than I thought?