Detect if the player is touching the borders/edges of (e.g... a Backdrop)?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I don't think this is possible with the method I'm asking for, but is there a way to detect if the player is overlapping the edges of a backdrop? The dirty method I know of would be to add active detectors to the edges, but I don't really want this as it would make the game's performance worse. I need it to automatically detect when the edge of each backdrop (obstacle) is overlapped. Any possible solutions here?

  • You could have 2 edge detectors on the left & right side of the player object itself that are a few pixels lower than the bottom edge of the player, then you would know that if both detectors are not overlapping a backdrop at the same time, then the player must be on one of the edges of a backdrop.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!