User Tag List

Results 1 to 3 of 3

Thread: Move a group of objects with the mouse (snap to grid)

  1. #1
    Clicker Fusion 2.5Android Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    Vetmora's Avatar
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Move a group of objects with the mouse (snap to grid)

    Having trouble with moving a group of objects with the mouse.

    I have set up X number of objects which all have the same "group" Alterable Value. When you click on any of the objects with the mouse, then all of the objects with that same "group" Alterable Value get selected. Then, while the mouse button is held down and you move the mouse cursor, I want the selected group of objects to move with it and to a grid of 16 x 16.

    I know that to move an object to the grid, you use: XMouse/Gridsize*Gridsize. But this would put all the objects at the exact mouse coordinates overlapping eachother, instead of their relative positions.

    What is the method achieve this? I know this should be really simple math but I can't get it to work.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need to save in each object, their distance between each others.

  3. #3
    Clicker Fusion 2.5Android Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    Vetmora's Avatar
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Similar Threads

  1. Help with snap to grid.
    By Earl in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th October 2010, 12:56 AM
  2. Snap to Grid?
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th August 2007, 02:47 PM
  3. Snap to grid
    By Vattic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 17th April 2007, 11:18 PM
  4. Snap to grid problem example.
    By Attan in forum File Archive
    Replies: 3
    Last Post: 21st February 2007, 02:51 PM
  5. How to move Active Objects with mouse cursor?
    By Joni in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th October 2006, 03:28 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
  •