Yo!
Quick question: is there a way to change the .tint of only a section of a Sprite? For example:
Long story short I'm trying to create multiple buttons from one Sprite that changes tints per Button as a Button is clicked.
Any help would be greatly appreciated. 🙂
Quick question: is there a way to change the .tint of only a section of a Sprite? For example:
JavaScript:
var IconSet = new Sprite();
IconSet.bitmap = ImageManager.loadSystem('IconSet');
IconSet.tint = 0x666666// Darken this only for one Icon as its clicked; keeping all other Icons with an unchanged tint;
Long story short I'm trying to create multiple buttons from one Sprite that changes tints per Button as a Button is clicked.
Any help would be greatly appreciated. 🙂