Initial Color for Color Dialog

For questions about using Classic.

Post » Fri Apr 20, 2012 9:29 am

Hi,

am I just too stupid, or does setting an initial color for the color dialog have no effect?

I have a sprite whose color filter is set from the color picker in the usual way (=delayed by one tick). It works fine. But if a try to set the initial color to the current color filter of the sprite, it fails and always shows standard black. It doesn't matter if the call to open the dialog is delayed, or how long it is delayed. Black is the only initial color that shows up.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Apr 20, 2012 10:00 am

You mean the color picker that goes with the common dialog object?
It runs off of the gpu so it takes a tick to update.
I always use a call function after delay there.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Fri Apr 20, 2012 10:10 am

Ok never mind, didn't read all of the post, sorry.
Yes it does seem to be stuck on black, even tried using the rgb expression rather than the default selector... no go.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Fri Apr 20, 2012 10:14 am

I was afraid so... But thank you for the quick answer, newt. At least I know it isn't me doing something wrong.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests