Problem Description
When the layout/layer scale is different from 1 the PositionToTile expression returns wrong tile index.
Attach a Capx
[attachment=0:3gziwkgh][/attachment:3gziwkgh]
Description of Capx
A tilemap that is drawn when the mouse is pressed.
Steps to Reproduce Bug
- 1 - Preview the capx
- 2 - Click and Drag to draw tiles
- 3 - Observe results
- 4 - Disable first event and repeat steps 1 to 3
Observed Result
The mouse position and the tile positions do not match when the layout/layer scale is changed.
Expected Result
Mouse and tile positions should match.
Affected Browsers
- Chrome: YES
- FireFox: YES
- Internet Explorer: not tested
Operating System and Service Pack
Windows 7 32bits
Construct 2 Version ID
r179