9-patch opacity bug

  • Problem Description

    9-patch object's corner lines do not follow the opacity set for the object

    [attachment=0:1e70hrm3][/attachment:1e70hrm3]

    Attach a Capx

    Uploaded

    Description of Capx

    The .capx does not do anything, just open it and preview it on Google Chrome or export as universal Windows 8.1 and preview on the phone.

    Steps to Reproduce Bug

    • place a 9-patch object with default settings in your project
    • set the opacity to 50

    Observed Result

    Notice how the lines that separate the margin from the center do not follow the set opacity.

    Expected Result

    I expect the object to have all it's elements' opacity the same.

    Affected Browsers

    • Chrome: YES
    • FireFox: ?
    • Internet Explorer: ?

    Operating System and Service Pack

    Windows 8.1 Pro

    Construct 2 Version ID

    194.2 64 bit

  • Closing as not a bug. The 'Seams' property is set to 'Overlap'. See the manual entry. This deliberately renders a 1px overlap on the edges to ensure seamless rendering, but it has this effect when changing the opacity, so you'll need to use 'Exact' seams.

  • Awesome, I had the same issue and hadn't spotted that in the manual, thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks, I did not see that. Sorry.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)