I'm wondering if there's any way to do masked or subtractive images, in Dream Maker
For example, i'd like to make a ripped clothes effect - a sprite that would be overlayed on clothing and subtract areas from it,making transparent spots, creating holes to show the underlying skin. Is that possible?
Is there any means for using masks too? For example, to make a character look like smoke by applying a square smoke texture and masking it with their base icon so it creates a human-shaped smoke area.
These seem like obvious features for a 2D game, but i'm not sure how advanced byond's graphical tech is
ID:2112574
Jul 7 2016, 2:46 pm
|
|
You could probably also do some kind of hacky Blend() usage, but again, not a great solution.
Masking outright would be really awesome. |
Here's a mask that doesn't use icons at all:
object being blended onto is src //ugly to reduce image() calls and appearance churn |
You might try to do it using icon.DrawBox(null, x1, y1, x2, y2) to modify the icons involved, but it's not exactly a great substitute.