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
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
I'm working on a platform game and I would like to make the player to change the animation when he's on the edge of a platform, like he's making balance not to fall.
Is this possible to do?
Easiest way would probably be having an invisible sprite at the edge and detecting overlap.
is ovelapping edge-detect - play balancing.
Develop games in your browser. Powerful, performant & highly capable.
I thought there would be another way so I don't have to add sprites.
no sprites..just one sprite..pin sprite to player image point(1?) ,, is is ovelapping edge-detect - play balancing.
if you using sprites for platform (not tiledbackgraund)..
you can use ...Pick ovelapping point...
I see, I'm using sprites yes.
But I don't see any options in the events to do that like you said.
Could you please send me an example? or write here the expresions.
This is the basic idea....
Now you can check if player overlapping this points..or you can comape distance between player
and Platform image points...
http://s000.tinyupload.com/index.php?fi ... 8547969723
Thanks so much for the capx! Very useful!