9Patch rendering issue in Tile mode

Bugs will be moved here once resolved.

Post » Fri Jun 07, 2013 8:32 pm

Link to .capx file (required!):
http://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
http://dl.dropbox.com/u/10338488/preview_render.png

Expected result:
It does however work in the editor, and this is the correct rendering:
http://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
B
10
S
5
G
3
Posts: 4
Reputation: 1,664

Post » Fri Jun 07, 2013 8:54 pm

Closing as duplicate of http://www.scirra.com/forum/topic68995.html, should already be fixed in the next build.
Scirra Founder
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,506


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 9 guests