View Single Post
  #9  
Old 03-19-2001, 09:17 AM
JoMomma JoMomma is offline
Registered User
Join Date: Mar 2001
Posts: 43
JoMomma is on a distinguished road
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?
__________________
Temporary disabled
Stefan Knorr
Reply With Quote