0 Favourites

How do I reset replace colour effect?

  • Using the ReplaceColour effect, one that is set to say in my case, make a submarine go from gray to blue, how do i reset to grey? Selecting the new colour and telling it to change to rgb grey doesnt work, and if i disable the effect it surely wont work as what i am aiming to do is reset to the base sprite colour, then replace to any colour.

    Thanks.

  • Selecting the new colour and telling it to change to rgb grey doesnt work...

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • > Selecting the new colour and telling it to change to rgb grey doesnt work...

    >

    The submarine has grey, yellow and red. I want to change grey only. So if colour is set to yellow, then is set to grey like that. It has to set to grey from picking the newly added colour, so it then makes the yellow part grey too.

  • I've tried using WebGL's 'Replace Color', 'Set color' and 'Adjust HSL' effects to change my game object's color settings, but found it's best to just use pre-made image files.

    Also, it seems you need to use an absolute color when modifying WebGL effects.

    Here's my example on using pre-made image files to change my object's color.

  • I've tried using WebGL's 'Replace Color', 'Set color' and 'Adjust HSL' effects to change my game object's color settings, but found it's best to just use pre-made image files.

    Also, it seems you need to use an absolute color when modifying WebGL effects.

    Here's my example on using pre-made image files to change my object's color.

    Cute capx, but my game is a lot more realistic and less arcade style. There's 4 types of subs that need to be recoloured the same, and each has like 20 animations in it anyway, so times all that by the current choice of 10 colours haha...

    But i have managed to find a solution, Id post it but i cant simply paste onto here for some reason.

  • But i have managed to find a solution, Id post it but i cant simply paste onto here for some reason.

    Oh, ok. No problem. It's good to know that you've found a solution.

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