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
How do I make a sprite shrink gradually the nearer and nearer it gets to another sprite until eventually touching the other sprite and disappears?
Develop games in your browser. Powerful, performant & highly capable.
Use distance(x1,y1,x2,y2) expression to control opacity.
Edit: I meant to say use distance to control size! But probably after reading last word about disappearing I've put opacity instead of a size. Sorry about that.
is there any way I can shrink it the closer it gets to an object and use the opacity?
You could use the same distance expression to change the size if that's what you are after.
shinkan lol, it's alright. For the distance(x1,y1,x2,y2) What event do I use though? Set Scale? Do I select my sprite?