User Tag List

Results 1 to 4 of 4

Thread: drag and drop movement question

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    drag and drop movement question

    i am making a snowboarding game with the drag and drop movement on my player character

    what is the simplest way to make it so usually my character faces forwards, but if moving left or right display a animation frame of the character leaning left or right?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You can store their old position as an alterable value, and if the old position is less than the current position, make them face left, and if it is greater than the current position, make them face right. After the checks update the old condition to be the same as the new condition.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks LB

    so should the trigger for storing the alterable value be when the character starts to move,

    when should i compare?

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    There isn't any 'trigger', the events should have only the conditions to compare between the old value and the current value. The third event should just update the old values to the new values with an Always condition.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Drag and drop movement- force drop action
    By qenio in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th April 2013, 09:53 PM
  2. [Bug] Drag N' Drop Movement
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 10th September 2012, 03:11 AM
  3. Drag & Drop Movement
    By Sloxone in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 28th July 2012, 09:43 AM
  4. Drag And Drop movement bug
    By cfullerNY in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th February 2012, 04:21 PM
  5. Drag And Drop Movement (Bug)
    By Atom in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 28th November 2010, 02:18 PM

Posting Permissions

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