I tried to make a system to tween a tint since there’s currently no tween for a tint since its an effect, but I get this error when I try to run the game. The audio that plays in the background still plays as if the game is running despite the error.
The normal color effects dont work since the thing im trying to recolor is a monochrome sprite.
Also, trying “ToString(TintR) + “;” + ToString(TintG) + “;” + ToString(TintB)” gives the red warning “you must enter a number” under all of the variable names. Could it be due to the fact that the variables are stored as object variables?
Hi .yes …to me it like looks like it’s because you were referring to them as if they were global or scene variables. you need to use object.TintB…not in quotes though. +“;” etc
I can’t tell if you’re putting the variables in quotes in your post to seperate them from the rest of the text or that’s how you’re using it. Only the semicolons need to be inside quotes.
I tested it with 3 sliders and this works. I saved the slider value in variables to simplify the tint event.