9-Patches create visual glitches (repro version +Extra bug)

Report Construct 2 bugs here.

Post » Wed Aug 03, 2016 10:16 am

Problem Description
Some 9-patches cause other sprites to start disappearing. This does not happen in a new project. Specific 9-patches cause this, and it affects other layouts too (as long as the focus of the viewport contains the 9-sprite that causes the issue, all layouts with 9-patches are affected).

Attach a Capx

Description of Capx
Contains 3 layouts, layout labeled 2-1 causes the bug (more specifically the ice on the sign), and layout 1-3 shows what the issue does.

Steps to Reproduce Bug
  • Load the project
  • Go to layout 2-1 and set viewport as shown in the picture.
  • Zoom in and out and slightly move the viewport until the green tiles on the wooden platforms become invisible (I use middle mouse button to move around and mouse scroll wheel to zoom): Image
  • Layout 1-3 should now have around 100+ sprites missing. Image
  • To validate this is an editor visual issue, press play while you have 1-3 selected. All sprites load fine.

Observed Result
Sprites become invisible in layout viewport while in editor.

Expected Result
All sprites to appear properly while in editor.

Affected Browsers

Operating System and Service Pack
Tested on win 8.1 and win 10

Construct 2 Version ID

Additional Info
-Saving the project only with 1-3 as the active layout and then restarting C2 will not cause the issue.
-Placeholder layout also causes a distortion to all sprites, again based on position of viewport. Not sure if this is the same bug. Repeat step 3 from list above until distortion happens. This is what the distortion looks like (text is normally parallel to screen edges) Image
Posts: 14
Reputation: 280

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests