Thread: onwall and such
View Single Post
  #25  
Old 05-15-2006, 07:09 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by jake13jake
It's just an array that stores values that represent different tiles. Doubt anyone's made a list of all the tile values. I think I've made an equation for it though (back when I made a gs1 tile editor script).

tilex + tiley * 16
That is for the board array. The tiles[x,y] syntax is magical and does not require fancy maths, you just separate the coordinates with a comma.