User Tag List

Results 1 to 3 of 3

Thread: Pinch to zoom - Scrolling trouble

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pinch to zoom - Scrolling trouble

    Hi,

    I'm trying to adjust an excellent example originally created by Anders to a frame in my game.

    The original example begins having the frame at scale 1.0 and scales up to a maximum of 5.0 - The player can then scroll around the frame using their finger if the frame is scaled in larger than 1.0

    I am trying to adjust the example so the frame begins at scale 0.5 and can only scale up to a maximum of 1.0 - Again with the player being able to scroll only if the frame is scaled at larger than 0.5

    This is mainly because I want to keep the image I'm displaying at a higher resolution when the player zooms in. Starting it at half it's size and zooming in to the original size is the best way to achieve this.

    I tried changing some of the values like the minimum scroll x and y and changing the scale min and max. The scaling part works but it jumps to the top left of the screen and the scrolling doesn't work at all.

    I have attached an example of the problem. You can only see the problem occurring on an iOS device - Windows screen zoom doesn't work and is adding to my frustration as I have to recompile and copy everything and run through xCode each time I want to test something.

    Any help would be appreciated!

    http://www.rhysd.com/ScrollingTrouble.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone? It's probably just some maths that I need to figure out

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone keen to give it a look? I have the zooming in and out working, just need to limit the scrolling to the edges of the orange active depending on the zoom scale.

Similar Threads

  1. ScreenZoom Example: Pinch to zoom
    By Anders in forum iOS Export Module 2.5
    Replies: 24
    Last Post: 13th February 2015, 02:00 PM
  2. Cant't find Zoom in and Zoom out shortcuts for MMF2 developer...
    By Villmaxie in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th November 2014, 12:01 AM
  3. Pinch Zoom Help
    By Appsareawesome in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 19th February 2014, 05:15 AM
  4. Zoom Levels and Scrolling?
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 20th July 2006, 10:11 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
  •