Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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?
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.
Develop games in your browser. Powerful, performant & highly capable.
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?