1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

__background_set_colour

Discussion in 'Programming' started by RizbIT, Dec 4, 2019.

  1. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    471
    __background_set_colour( global.background_theme_colour);

    doesnt work.

    i make the current backround invisible.

    behind that background layer is a compatibility color layer (set as default to cyan);

    but when i make the background invisibl in runtime, the background goes, and all i see is a white plain background, why is this
     
  2. TheouAegis

    TheouAegis Member

    Joined:
    Jul 3, 2016
    Posts:
    7,133
    Why do you have __ in front of the function?

    Are you still clearing the window with the background color? Or did you disable that?
     
  3. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    471
    I found a solution. The problem with using compatibility script to make background invisible is that the layer is still visible and it will show the layer colour, which is set as white in the room editor.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice