Game.project Clear color (SOLVED)

#1

38

Which format should this rgba variable be in?

0 Likes

#2

Try like

1,1,1,1

?

0 Likes

#3

This value will be removed in 1.2.167. And replaced with display.clear_color_red/green/blue/alpha:

1 Like

#4

That turns to 255, which in turn turns to RED.

I’ll leave this little one at 0 for now, until the next release.

0 Likes

#5

I’ve found that in the latest 1.2.167 beta I get green/blue/alpha under the display section of game.project and red under the render section. Also I’m not sure if values are in 0-1.0 or 0-255.
I’ve submitted an issue via the editor.

0 Likes

#6

Yes, we noticed this as well and I pushed a fix to our beta branch. Which version are you on?

Gah, I just noticed that our CI build had failed randomly with a timeout and the new beta wasn’t released. I’ve triggered a new build now. There should hopefully be a new beta in 20 mins or so. I’ll check tomorrow morning.

2 Likes

#7

And it’s available!

0 Likes

#8

Thanks!
Yes this solves the issue of the options in the wrong sections, but the values accepted are still only integers (while expecting floats).

0 Likes

#9

A new version with correct data type on the fields is building now. Available soon.

0 Likes

#10

Now! And I’ve double checked that it’s working. Sorry for the confusion!

1 Like

#11

Brilliant! Thanks a o lot for the quick turnaround

0 Likes

#12

Do you think it’s worth creating a category in the forum for the beta release bugs? This way they can be tracked down more easily?

0 Likes

#13

I think you can report them here: Defold 1.2.167 BETA

We will soon open our GitHub issue tracker to the public and merge the editor and engine issue lists, and from that point on we want issues reported directly in the GitHub issue project.

3 Likes