1.7.4 color picker fail

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

1.7.4 color picker fail

Postby Kilinich » Sun Jul 25, 2010 1:19 pm

1.7.4
If color for geom is dynamic value you can't change color from appearance menu.

Try to change color of that circle:
Code: Select all
scene.addCircle({pos := [0,0]; color := {[1,1,1,1]}})
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.7.4 color picker fail

Postby emilk » Thu Aug 25, 2011 1:29 pm

You'll have to change the value from the script menu, or script the HSVA color ("colorHSVA" instead of "color")
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden

Re: 1.7.4 color picker fail

Postby Kilinich » Thu Aug 25, 2011 3:02 pm

Why? It's really confusing...
Ok, even if it's intentional why don't show to user somehow -- that color cannot be changed.
And BTW why don't make same behavior for all scripted values like density, friction, etc...
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.7.4 color picker fail

Postby emilk » Thu Aug 25, 2011 3:53 pm

The problem is the color vs colorHSVA: they really act on the same thing. Had I been clever I would have gone with HSV and not RGB from the very beginning, but that's the problem with never breaking backwards compatibility: you're stuck with legacy stuff that never quite fit in with new stuff. Anyway, if you're a scripter, make sure to script the colorHSVA value instead of the color value.
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden

Re: 1.7.4 color picker fail

Postby Kilinich » Thu Aug 25, 2011 9:12 pm

I still don't understand why you can't change color with color picker :crazy: just overwrite both color and colorHSVA values :thumbup:
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.7.4 color picker fail

Postby tatt61880 » Sun Sep 11, 2011 5:33 am

For users who downloaded scripted scene, this behavior is bug.
I know how to solve one by one by myself, but I feel this behavior is bug.

As Kilinich wrote, overwriting color value (instead of scripted color value) is possible, isn't it?
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 6 guests