I think there's probably a much easier way to do the custom tinting. You could probably do something without having to fill the bitmap every time the tint changes (at least that looks like what you're doing). It would probably be better to just fill the bitmap with black and change the color property of the sprite, setting it to a color with the rgb of the tint and an alpha of 255. Then all you'd have to do is set the opacity of the sprite to the opacity of the tint. Wouldn't that work more efficiently in this case?
I'm not sure how well that'd work out, since the color property blends. I can't see it as being any more efficient then what this is however, especially without knowing how exactly color blending works in the Sprite class.
Well, the color blends with the normal bitmap in the ratio of the color's alpha. And I think it would probably be at least a little faster, seeing as the color property is automatically blended in every time the graphics update. I don't know, I guess I just like to use the built in properties of sprites instead of drawing stuff to the bitmap.
It could be! Luckily for me if it was it'd be hardly noticeable. I'm usually quite set in how I've done things and keep them as they were originally written. It's always nice to hear other ideas and methods though that can help future scripts! For example, never knew the Sprite class had a color or tone property! (Which is sad, since I've used the color property in a previous script and completely forgot about it)
I'm sure I'm just being a stupid adorable person right now but I'll ask anyway: (I hope it's not a necropost)
If I wanted to make a conditional branch requiring the right hour and minute, I would like to know what script call to use. I tried these two script calls out: GameTime.min? & GameTime.hour? but to no avail, I failed What exactly do I replace that question mark with?
Could you please add compatibility with Victor Engine's Light Effects? I prefer it over Khas Awesome Light Effects because for some reason when I use KALE it doesn't tint the screen appropriately during battles.
How do I make it so that the clock would only show the time going up by increments of ten minutes rather than one? I want the speed to the time to be the same, but I don't want it to show the individual numbers.
Also, how do I move it to the bottom right corner?
The other day I posted a merchant airship tileset and said it was overflow from my Advent Calendar. @Avery said something like "that's one way to flex!" Well, this morning I woke up and realized THAT I MISCOUNTED AND AM SHORT BY ONE DAY. My face and palm are now perfectly fused together.