-
Hi! Thanks for the nice software! I see I can create and use a brush with lines like this:
But what if, instead of iron, I wanted to draw a rectangle of fire source? E.g. primary brush is Source II (id = 231), secondary brush is fire (id = 130). Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Hartrik
Jan 31, 2024
Replies: 1 comment 2 replies
-
Hi. It's probably not well documented, but it's possible. There are hidden effect brushes that create a source when applied. var fire = brush(130);
var sourceEffect = brush(243); // 240-243
for (var x = 0; x < 10; x++) {
canvas.set(50 + x, 50, fire);
canvas.set(50 + x, 50, sourceEffect);
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
fabkury
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. It's probably not well documented, but it's possible. There are hidden effect brushes that create a source when applied.