User Tag List

Results 1 to 5 of 5

Thread: What's the best 8 directional movement method

  1. #1
    Clicker Firefly 3D Module
    Fusion 2.5 (Steam)

    Join Date
    Oct 2019
    Location
    United States
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question What's the best 8 directional movement method

    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?

  2. #2
    Clicker Fusion 2.5 MacFirefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2015
    Location
    Australia
    Posts
    200
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    Clicker Firefly 3D Module
    Fusion 2.5 (Steam)

    Join Date
    Oct 2019
    Location
    United States
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh i dont use bounce lol... i do stop movement

  4. #4
    Clicker

    Firefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    135
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    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.

  5. #5
    Clicker Firefly 3D Module
    Fusion 2.5 (Steam)

    Join Date
    Oct 2019
    Location
    United States
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah yes, thanks for the advice!
    (I just watched zentaco's video, and fast loops look great and simple)

Similar Threads

  1. Possible Static Physics Movement Directional BUG?
    By jasonorme in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th December 2013, 02:07 PM
  2. Movement 8 directional AI
    By PimeX in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th January 2011, 11:21 AM
  3. directional movement animations
    By Shmuper in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th April 2010, 11:37 AM
  4. Custom 8-directional movement
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 5th June 2008, 01:20 PM
  5. 4 directional Movement
    By Zigzag114 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th November 2007, 07:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •