We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fceac03 commit 8121977Copy full SHA for 8121977
1 file changed
v3/src/gameobjects/tilemap/dynamic/Tilemap.js
@@ -139,6 +139,24 @@ var Tilemap = new Class({
139
this.tileArray.forEach(callback);
140
},
141
142
+ // Returns Object containing:
143
+ // {
144
+ // alpha
145
+ // frameWidth,
146
+ // frameHeight,
147
+ // frameX
148
+ // frameY
149
+ // id
150
+ // index = the tile in the tilset to render
151
+ // textureWidth = tileset texture size
152
+ // textureHeight
153
+ // tint
154
+ // visible
155
+ // width
156
+ // x
157
+ // y
158
+ // }
159
+
160
getTileAt: function (x, y)
161
{
162
var ix = (x|0);
0 commit comments