Problem Description
Tiles drawn in unused cells in tilemap object.
Attach a Capx
https://dl.dropboxusercontent.com/u/577 ... 0load.capx
Description of Capx
This test capx has 2 tilemap objects. It loads small one into bigger one. The loaded cells are shown directly, but the unused cells has still drawn.
Steps to Reproduce Bug
- Run this capx
- Touch any tile, the tile ID will show in text object.
Observed Result
The tile ID will return -1 means that it is an unused cell. It works correctly. But the cell still draws.
Expected Result
Draw nothing at unused cell ( tile ID = -1 ).
( The workaround is set the size of tilemap equal to the source tilemap. )
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
Operating System and Service Pack
window 7 32 bit
Construct 2 Version ID
r222