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
I'm working on a platformer. I'm looking for a way to detect that my player is near the edge of a 'precipice' so I will be able to change the animation.
Use a overlapping collision for the floor with offset:
That will be down and to the right...Detect the floor. Substitue "+" with "-" on the X axis to detect the other side.
Thanks — This is my condition (I didn't need Sprite.X and Sprite.Y).
Develop games in your browser. Powerful, performant & highly capable.
Oops,sorry about that. Hope it works good for you