Problem playing sound on platformer landing on platform

For questions about using Classic.

Post » Sun Nov 14, 2010 12:22 pm

I'm currently making a platform game, where a platform will play a sound when the player jumps on it. Unfortunately, testing for collision between the player and the object in question doesn't actually work, even with the player on or in the platform. I'd also like to add a "crumble away" effect, but that's easy enough to do.

In short: I want to have a platform, say, "E", that when touched by the player, plays a noise, and I want this behaviour to work even if I copy and paste "E" throughout the level. What's the best way to do this?(Checking to see if the player is on the ground and within the bounds of the object works fine if there's only one, but fires constantly when there are multiple ones)
Posts: 4
Reputation: 833

Post » Sun Nov 14, 2010 1:20 pm

Try overlaps, or overlap at offset, and trigger once.
Image ImageImage
Posts: 8,569
Reputation: 121,374

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests