Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
So I'm making this procedural terrain animation thing (a lot simpler than it sounds) and I've run into a problem. It works fine unless you remove blocks, and it doesn't seem to change the face back. It's hard to explain, just look at the .cap
http://filesmelt.com/dl/dgtest.cap
There is an fx called outline that will draw a border around the objects for you.
If you were to apply the fx to the layer it would automatically do what your trying.
That is if the border sprites have no other use.
But it won't let you change the color
Develop games in your browser. Powerful, performant & highly capable.
look for this line in outline.fx
if (left.a != 0 || right.a != 0 || top.a != 0 || bottom.a != 0) { return float4(1,1,1,1);[/code:gzfu65zr] replace the first three values of float4(1,1,1,1) with your choice as a percentage. They represent the r, g, and b values (the last one is the alpha value). if you are used to working with values 0-255, devide by 255.