Link to .capx file (required!):
dl.dropbox.com/u/10338488/9patch%20bugs.capx
Steps to reproduce:
1. Make a 9Patch with a non square image (seems to work well when the image is square, but I can't say this is the problem)
2. Set edges and fill to Tile (Stretch works)
3. Get different results in the preview than the editor
Observed result:
The 9Patch does not Tile correctly in the preview or exported version
dl.dropbox.com/u/10338488/preview_render.png
Expected result:
It does however work in the editor, and this is the correct rendering:
dl.dropbox.com/u/10338488/editor_render.png
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: I only have IE8 which apparently does not support HTML5
Operating system & service pack:
Windows 7 SP1
Construct 2 version:
r133
Graphics driver:
Up to date, but stupid Intel card.
Additional notes:
There are 3 different 9Patch objects in the .cpax, one of them works, the other two do not. The image file of the two who don't work was created by copying image data from the one that works (this was done inside C2), however in the project folder and the exported version 3 separate .png files are created. My first guess was that this could have been caused by the new image deduplication thing... but I'm not so sure now.
Everything worked in r132