User Tag List

Results 1 to 6 of 6

Thread: Layered graphics

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Mar 2009
    Location
    Bethesda, MD
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layered graphics

    How do I use layered graphics? I just want my background to scroll slowly, and my weather effect to scroll slowly as well.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Layered graphics

    You need to use Parallaxing. There is a Parallaxer extension that works well, or you can set the coefficients in the layer properties.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Layered graphics

    Quote Originally Posted by pikzilla
    How do I use layered graphics? I just want my background to scroll slowly, and my weather effect to scroll slowly as well.
    In the menu bar for MMF2, go to "View" then "Toolbars" then check "Layers Toolbar" This will create a Layer view on the right side of MMF2. Click the + to add a new layer. The bottom layer would be layer 1, then layer 2 displays above that, etc.

    However, keep in mind that from what I understand, layer 1 is best used for the main game layer as it's collision mask is calculated at the start of the frame. Any other collisions in other layers are calculated object by object.

    What this means is that if you want to position the background layer for parallax scrolling behind the main game layer by making the main game layer at layer 2, your game could lag when scrolling. Depends on how big your levels are, how much action is going on, etc.

    Probably best to play around with it some before building a huge project and finding out your game is going to lag too much after you've added a ton of stuff.

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Layered graphics

    Quote Originally Posted by stephen1980
    You need to use Parallaxing. There is a Parallaxer extension that works well, or you can set the coefficients in the layer properties.

    stephen1980
    Hey stephen, does the parallaxer extension solve the problem of layers lagging with scrolling when the game isn't on layer 1? I've never used that extension.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Layered graphics

    Quote Originally Posted by Shawn
    Quote Originally Posted by stephen1980
    You need to use Parallaxing. There is a Parallaxer extension that works well, or you can set the coefficients in the layer properties.

    stephen1980
    Hey stephen, does the parallaxer extension solve the problem of layers lagging with scrolling when the game isn't on layer 1? I've never used that extension.
    I've found that using this extension does actually reduce some lag depending on how you are using it.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Mar 2009
    Location
    Bethesda, MD
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layered graphics

    Thanks!

Similar Threads

  1. Layered tree effect using layers and backdrops
    By Shawn in forum File Archive
    Replies: 0
    Last Post: 4th January 2011, 05:44 PM
  2. Graphics help
    By Beginier in forum File Archive
    Replies: 2
    Last Post: 19th June 2009, 04:03 AM
  3. Can a Bitmap Push button be layered?
    By Mudstick in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd May 2008, 01:42 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
  •