User Tag List

Results 1 to 6 of 6

Thread: Fusion 2.5+ and custom drag-n-drop possible bug ?!

  1. #1
    Clicker 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)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Fusion 2.5+ and custom drag-n-drop possible bug ?!

    Hello there !
    So, my problem is:
    Before i have updated my CT, everything works fine. But now, this code does not work anymore
    Why ?
    sared.jpg

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export 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)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    97
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Line 1 Remove Repeat while left mouse key is pressed you don't need it

  3. #3
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,003
    Mentioned
    20 Post(s)
    Tagged
    2 Thread(s)
    The best way to optimise those events:

    1)
    Always: Set Alterable Value A to 0

    2)
    Repeat whilst mouse key is pressed
    +
    Mouse is over object: Set Value A to 1

    3)
    Alterable Value A = 1: Set position X/YMouse.

    3 is optional, you could stick that action straight into event 2.
    Want to learn Clickteam Fusion 2.5?




  4. #4
    Clicker 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)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thank you guys. But .. why this worked in 2.5 version ?

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,917
    Mentioned
    95 Post(s)
    Tagged
    2 Thread(s)
    This is an excellent question...

    I think it's because of an important optimization we've done in the build 292. In the build 292 the key states are refreshed less often. As the "User clicks" condition is an "immediate" condition, i.e. it's not called from the main events, the mouse key states are not updated yet and in this event "Repeat while mouse key is pressed" is now false as the refresh didn't happen yet.

    I'll check if we can change this (though fnkycoldmadeanr is right, you don't need to use this condition in line 1).

  6. #6
    Clicker 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)
    anatol's Avatar
    Join Date
    Jun 2016
    Posts
    117
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    don't change anything ) Everything is fine now ! fnkycoldmadeanr is right.

Similar Threads

  1. A little help with Drag and Drop
    By SevenSails in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 17th June 2014, 02:29 PM
  2. 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
  3. Drag & drop without drag & drop object.
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th August 2011, 02:45 AM
  4. Drag and drop
    By pl in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th August 2006, 01:44 PM
  5. Drag and drop out of MMF app?
    By spyfrog in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 19th July 2006, 03:00 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
  •