User Tag List

Results 1 to 5 of 5

Thread: Scale and drag a map - center problem

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Question Scale and drag a map - center problem

    Hi! I've used the great examples by SoftWarewolf‎ & Popcorn to create a scaleable/rotatable/dragable map in my app.

    the basic works great, I've just a problem with the scaling, if you are 'inside' the map. it always uses the centered pivot point of course,
    but in this case it would be best if the pivot point of the map would constantly change to keep the image scale pivot in center of the screen.

    here you can find an example of what I mean exactly - your help would be greatly appreciated!!

    http://tiny.cc/7bhsiw

    thank you!

    Richie

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Sorry to bump, but isnt there a formula for this? I've searched the Web but couldnt get a Solution

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    You'll need to take the distance between the map and the center into account when you zoom. I'm not able to make an example of this, but here's an example that might get you on the right track. It has scaling and scrolling, but no rotating.
    Attached files Attached files

  4. #4
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Thank you, that's a very good start!

  5. #5
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scale and drag a map - center problem

    Very nice.

Similar Threads

  1. [BUG 257.6] Game Center Acheivements problem
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 10th March 2013, 07:10 PM
  2. Drag window problem
    By Tiles in forum File Archive
    Replies: 2
    Last Post: 28th May 2009, 05:31 PM
  3. drag and drop problem
    By GloriousIntruder in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th August 2008, 07:32 PM
  4. Replies: 7
    Last Post: 11th August 2008, 01:33 PM
  5. Problem with parallax caused center display event
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th April 2008, 11:16 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
  •