Changing background color "on demand"

  • Hi,

    I am using Tiledbackground to create a sold background color, and am setting text color to contrast well with the background.

    I'd like to allow the user to configure the color pallete for the game. This means that the user can choose a different background color and text color. I couldnt see a way to change color for tiled background only to load an image from a URL. I tried to load an image using the image name only, like in AJAX file load, but this failed.

    Is there a way to change colors programmatically both background and text.

    thanks,

    Dan

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Try adding one of these effects to your background: "Adjust HSL" or "Set Color".

    Then let the user set their parameters.

    See if that gets you what you want.

    Let me know if you need more help.

  • Set layer background color

    Set the background color of a layout. Note if the layer is transparent, setting the background won't change the appearance unless you also make the layer opaque.

    This could help if you let the user choose the r, g, and b value I guess

  • Great! thanks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)