User Tag List

Results 1 to 5 of 5

Thread: 8 directional movement not moving

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Feb 2023
    Location
    Oregon
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    8 directional movement not moving

    So I've been trying to make a movement system for a battle engine and it just doesn't move.
    The code is

    Menu open = "yes", set movement to static
    Menu open = "no", set movement to 8 directional
    Start of Frame, set direction to right.

    It used to only be able to move up and left, but I remade the exact same code and now it doesn't move at all.
    Does anyone have any idea why this is happening or how I can fix it?

  2. #2
    Clicker Fusion 2.5 (Steam)

    Join Date
    Feb 2023
    Location
    Oregon
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just to clarify, the menu opens when the frame starts and closes after you select an option in the menu.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleFirefly 3D Module
    tobydavis's Avatar
    Join Date
    Apr 2019
    Location
    United States
    Posts
    101
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by whalewarrior1 View Post
    So I've been trying to make a movement system for a battle engine and it just doesn't move.
    The code is

    Menu open = "yes", set movement to static
    Menu open = "no", set movement to 8 directional
    Start of Frame, set direction to right.

    It used to only be able to move up and left, but I remade the exact same code and now it doesn't move at all.
    Does anyone have any idea why this is happening or how I can fix it?

    Try adding "Only one action when event loops" to each of your Menu open = "yes", and Menu open = "no" events. That should fix it. I've also attached an example file if you'd like to take a look. I hope this helps.

    change_movement_events.PNG
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Feb 2023
    Location
    Oregon
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tobydavis View Post
    Try adding "Only one action when event loops" to each of your Menu open = "yes", and Menu open = "no" events. That should fix it. I've also attached an example file if you'd like to take a look. I hope this helps.

    change_movement_events.PNG
    That worked, thanks!

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleFirefly 3D Module
    tobydavis's Avatar
    Join Date
    Apr 2019
    Location
    United States
    Posts
    101
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by whalewarrior1 View Post
    That worked, thanks!
    Great! Glad I could help!

Similar Threads

  1. 8 directional beat em up movement
    By flamenko in forum Fusion 2.5
    Replies: 7
    Last Post: 4th July 2020, 09:29 PM
  2. What's the best 8 directional movement method
    By xdste in forum Fusion 2.5
    Replies: 4
    Last Post: 27th January 2020, 10:15 PM
  3. Replies: 0
    Last Post: 2nd October 2016, 02:20 AM
  4. Movement 8 directional AI
    By PimeX in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th January 2011, 11:21 AM
  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
  •