User Tag List

Results 1 to 3 of 3

Thread: BUG: (Beta 9) Layer object position doesn't work

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    BUG: (Beta 9) Layer object position doesn't work

    I am not sure if this is a known issue, but the following doesn't seem to work:

    +AltVar(Active) > 0
    - Set X Layer 3 to LyrGetLayerXPos (layer obj, 3) - AltVar(Active)
    - Sub 0.1 from AltVar(Active)

    I am trying to use a Delta variable to make custom scrolling when the player swipes their finger. It is much easier to make an entire layer move, but it doesn't appear to move at all.

    Any ideas?

    Reg

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mobichan - haven't tried doing that, but looking at your code, you're subtracting 0.1 from AltVar and only setting the X position of the layer if AltVar is >0. Do you ever set AltVar to a positive value so the condition is true?
    You might want to try something simpler to test if it's a bug in MMF2 or iOS Exporter, eg
    +Always
    -Add 1 to Global Value A
    -Set X Layer 3 to Global Value A

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Yes. I set the value to 8 when a touch is detected. I am seeing the value get set and reduce over time in the debugger. But the layer does NOT move.

    EDIT: Nevermind. I forgot to check "Follow the Frame" on the objects in the layer. Sorry about that... ^_^'

Similar Threads

  1. Mouse over object doesn't work for me
    By MEHRDAD in forum Fusion 2.5
    Replies: 4
    Last Post: 6th January 2014, 02:13 PM
  2. Position layer using Layer Object
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th October 2012, 05:51 AM
  3. Beta 33 [Bug] Ink Effects/Semi-transparency doesn't work on bar counters
    By colej_uk in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 28th August 2012, 12:03 PM
  4. layer object doesn't like me
    By donnovan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2012, 05:55 PM
  5. BUG: Layer object set position not working
    By mobichan in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 29th October 2011, 10:43 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
  •