Hi everyone,
Usually, when I want a solid fill background I would create a rectangle to cover the screen and set it’s color. Just wondering if there is a better way of doing it:
Say I want scene 1 to have a black background and scene 2 to have a white background. Instead of using display.newRect couldn’t I just put:
Scene 1:
display.setDefault (“background”, 0, 0, 0)
Scene 2:
display.setDefault (“background”, 1, 1, 1)
Just seems to me like a quicker, more elegant way of changing a background color, and a way of avoiding any potential screen scaling issues - are there any problems with doing it this way though?
Thanks!