NintendoSpy icon indicating copy to clipboard operation
NintendoSpy copied to clipboard

Color interpolation instead of sweeping an image

Open car-lisle opened this issue 6 years ago • 1 comments

I am creating a skin for the gamecube and I noticed there is no changing of color through the use of pressure for the triggers. I don't really want to sweep an image as I think using a gradient would make for a cleaner layout. I was looking around and saw taking your hex code and linking it with a floating point, but I'm really new to this stuff. :( (edit) Here's the link I was given: https://stackoverflow.com/questions/13488957/interpolate-from-one-color-to-another

car-lisle avatar Apr 12 '18 17:04 car-lisle

That's an interesting idea. The place where triggers are rendered is here: https://github.com/jaburns/NintendoSpy/blob/master/ViewWindow.xaml.cs#L315 We could probably have a new possible direction for <analog>s in the skins for"color", and then provide a target color to tint the sprite towards.

Unfortunately I don't have the time right now to implement this myself, but I'll leave the issue open.

jaburns avatar Apr 13 '18 03:04 jaburns