mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
1.1.6 release. The final of the 1.1 branch.
This commit is contained in:
@@ -750,6 +750,10 @@ Phaser.TilemapParser = {
|
||||
newSet.columns = (set.imagewidth - set.margin) / (set.tilewidth + set.spacing);
|
||||
newSet.total = newSet.rows * newSet.columns;
|
||||
|
||||
if (newSet.rows % 1 !== 0 || newSet.columns % 1 !== 0) {
|
||||
console.warn('TileSet image dimensions do not match expected dimensions.');
|
||||
}
|
||||
|
||||
tilesets.push(newSet);
|
||||
}
|
||||
|
||||
@@ -828,7 +832,7 @@ Phaser.TilemapParser = {
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user