[r164.2]Normal use of AdjustHSL bug

Bugs will be moved here once resolved.

Post » Tue Mar 25, 2014 8:14 pm

Hey Ashley, I'm aware that the AdjustHSL effect is notorious for bugs and stuff, so sorry to 'bug' you about this (ahahahaha)

Problem Description
A range of colours get converted incorrectly when setting the "Hue" value around 70-100, and then previewing. (In the layout however, it looks correct, only when the game is run it looks incorrect.) Here's a screenshot of the Layout Editor and the undesired result:
Image
Image

Attach a Capx
https://dl.dropboxusercontent.com/u/776 ... litch.capx

Description of Capx
There is 3 gradient Sprites which goes from black to red. 1st Sprite has 0 hue, 2nd has 50 hue, and 3rd has 80 hue.
All of them look correct in the Layout editor, but when you hit preview (Node,Chrome, and firefox), the 3rd bar will have blue lines scattered through them.

Steps to Reproduce Bug
  • Open Capx and notice the nice looking gradient bars
  • Run via Preview, notice the weird looking 3rd bar

Observed Result
Some colour gets turned blue when using AdjustHSL

Expected Result
What I see in the Layout editor :P

Affected Browsers
  • Chrome: YES
  • FireFox: YES

Operating System and Service Pack
Tested on two different computers, same results.
Windows 7 64-bit

Construct 2 Version ID
r164.2
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Thu Mar 27, 2014 4:41 pm

I've no idea how this could be fixed. As far as I know the HSL calculations are correct. There must be some weird floating point accuracy problem on the GPU. All I can recommend is not to use these settings. Closing as won't fix.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,228

Post » Thu Mar 27, 2014 5:01 pm

Ah I see, no problem! Thanks for checking it out. :p
B
51
S
20
G
10
Posts: 571
Reputation: 9,819


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests