Switching focus on characters? (help)
Posted: Sun Dec 04, 2016 1:52 pm
I tried every possible way to search for this and failed so I apologize if the solution is already out there and is worded better than I tried to. My game has scenes where there are more than two characters on screen in one go, with text it would be very difficult to see who's talking and was considering of dimming the inactive character's sprites while keeping the talking ones in full brightness. I found a solution in the tutorial game folder but I have a problem with it:
This would be great if the game involved one or two characters since it just mean a few sets of this code would work, but then I have several animated sprites so this means more than one for each character. I could try and make that set (as cubersome as it may get), but I'm wondering if there's a more efficient way to do this?
Code: Select all
image logo bright = im.MatrixColor("logo.png",
im.matrix.brightness(.5))