Player bouncing off walls when it's supposed to stop

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'm having a problem that when the player collides with a wall, it bounces off of it a very short distance when I have set it to stop. It is sort of vibrating off the wall. I didn't think this would be much of a problem until I added sound effects. Now it's quite annoying. XD I'm taking a course in MMF2, so I don't know too much about it at this point, and since it's currently spring break, I can't contact my teacher. Any ideas? I have included my MFA file and the sample which i'm using as a reference.

  • Hmmm it's odd... Normally I would say use a fastloop collision detection method since the standard movements are not that great... but it would appear the exe example is using the standard movement somehow. Not really sure how to prevent 8 direction movement from bouncing off of objects... If you look at the fastloop movement example in my signature you can see how to make far superior movement/collision for your game though. :)

    Please login to see this link.

    My examples:
    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

  • Hmmm it's odd... Normally I would say use a fastloop collision detection method since the standard movements are not that great... but it would appear the exe example is using the standard movement somehow. Not really sure how to prevent 8 direction movement from bouncing off of objects... If you look at the fastloop movement example in my signature you can see how to make far superior movement/collision for your game though. :)

    After tweaking around in the movement options a bit, I found the "Stick to Obstacles" option. D:< But the cat is still rapidly colliding with the wall for some reason, and the sound repeats even faster now. DX

  • Please login to see this link. is the example Konidias was talking about. Download it and see if it works.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • Interesting problem! Here's a simple fix with just 2 extra lines and using the sticky fix you already found to prevent bouncing. It basically stores the direction of the collision and only makes the collision sound the first time it collides in that direction. when the direction changes it resets so the SFX can fire on the next collision.

Participate now!

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