Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Be more precise please. You want to change the tone of a sprite?
First of all, your object must have the tone property. Classes like Viewport and Sprite have it. If I remember well, the only thing you need to do is change the tone like that:
Code:
my_object.tone = Tone.new(red, green, blue, gray)
you can also change each colors manually
Code:
my_object.tone.red = x
my_object.tone.green = x
my_object.tone.blue = x
my_object.tone.gray = x