What's the best 8 directional movement method

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.
  • Hey, I dislike the active object movement (Collisions kinda bouncy and not being able to control with WASD), and making my 8 dir. sounds good on paper... until you have to do collisions.
    Any examples, or advice?

  • Under the application properties, there's a tab for runtime options where you can change the default controls to let the player use WASD instead of the arrow keys

    For the default 8 direction movement, if you're using the "stop" movement for collisions against a backdrop, that should be less bouncy than using the "bounce" command. The only thing I can think of is making the object's movement animation changing the collision mask of the active which might make it bounce if some frames have a bigger sprite than the others

  • I suggest you read up on fast loops, and once you understand that search for examples of custom 8 direction fast loop movement. There are several on the forums here, and around the net.

    It's impossible to get pixel perfect movement without weird bounciness on the built in movements unless your character/s is/are only moving 1 pixel per frame. What happens is that if you move more than that, you are jumping that many pixels per frame, so you can move past an object before the engine detects that you have overlapped it (or it wont detect it at all if you're moving too fast, because you will essentially teleport past it). With fast loops, you can move multiple pixels and check for collisions on each pixel moved before the next frame is even rendered.

Participate now!

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