I’d like to be able to change the alpha channel for a sprite so that the whole sprite can appear transparent when certain things happen, I’d prefer not to create a bunch of new PNGs with the alpha baked in as I’d like to be able to animate the level and don’t want to incur the cost of having dozens of images. I’ve hunted around and can’t find an obvious way of controlling this, what’s the simplest way of achieving this?
I agree. If you search for tint you get quite a few hints, but it should perhaps be explicitly documented? Is there some way we can improve the documentation around this recurring question @sicher?
Anyone that uses this code for their own projects, please not that the quotes for the first two parameters of the line of code that 88.josh left are different, and you’ll have to change the second set of quotes for the code to compile correctly.