Hello fellow Defolders, i have a tough question for ya!
how would one go about dynamically adding a single pixel border to a sprite
sorry for the small examples, i work with very small sprites hahaha!
Hello fellow Defolders, i have a tough question for ya!
how would one go about dynamically adding a single pixel border to a sprite
sorry for the small examples, i work with very small sprites hahaha!
I have also been puzzling over this. The manual ( The render pipeline in Defold) has a sprite of a tree with and without an outline and the code to do this:
pred = render.predicate({"outlined","regular"})
...
render.draw(pred)
So I guess this is how to do it, possibly somewhere in the dots the magic happens?
Yeah, I’m gonna be tackling this pretty soon. Aside from looking awesome, Its actually a large part of my game! So I have to nail it.