
06-06-2001, 05:10 PM
|
|
Retired Oldbie
|
 |
Join Date: Mar 2001
Posts: 3,084
|
|
|
Well basically:
board[x+64*y] (where x and y are the x and y locations of the tile) will return what kind of tlie the tile is...
To change it you can for example use:
board[x+64*y]=tilex+16*tiley; (tilex and tiley can be checked when placing new tiles, it'll appear under the place where pics1.png is drawn if you've got tiles open, just keep your mouse pointer over a tile in that pics1.png and the tilex and tiley should appear)
Then to make the change visible you'd need to do:
updateboard x,y,width height;
And I have such a feeling I'm causing more confusion now then you had before. |
__________________
|
|
|
|