User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Infinite Background Scrolling

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Infinite Background Scrolling

    Is there a way to sort of wrap a [tiled] background as it scrolls across the screen so it looks like it scrolls endlessly? Right now I'm using a motif quick backdrop, but I could change it to an active if needed. Thanks

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,736
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite Background Scrolling

    Try changing the virtual width and height to -1.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite Background Scrolling

    that makes it scroll infinitely down. I want it to go up :P

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,736
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite Background Scrolling

    Oh...Sorry about that.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    823
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite Background Scrolling

    Put your background in its own layer. In the layers toolbar, click the layer. In the properties window, name your layer "Background" and click "wrap vertically."

    Now, create a layer object in your frame. Do this in the event editor:
    Code:
    Always
      -->Layer object: Set Y layer "Background" to lyrGetLayerBnYPos( "Layer object", "Background")-1
    Something like that oughta do it.

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite Background Scrolling

    Thanks it worked Although you Add to the Y axis to make it go down and not up.

  7. #7
    Clicker 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)
    41nd's Avatar
    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by UltimateWalrus View Post
    Set Y layer "Background" to lyrGetLayerBnYPos( "Layer object", "Background")-1
    Hi ! I.. cannot find this in the layer object.. Can you screenshot or update your reply? Thanks!

  8. #8
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If you can't see the layers object, right click on the play area,
    and click on the manager. search.

    here are couple of videos about the layers object.

    https://youtu.be/w3vpaxMKBcE




    https://youtu.be/ikgUHR9bDr0



  9. #9
    Clicker 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)
    41nd's Avatar
    Join Date
    Sep 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found the layer object but in the events editor could not replicate what was written above..

    Anyways let me explain what i want to do:

    1. horizontal flappy SOMETHING clone (640x480 window)
    2. make clouds horizontally scroll infinitely (640 width transp png with clouds)

    I cannot for the love of god (or alien masters) make it work. I tried following your tutorial at https://www.youtube.com/watch?v=2ymYvOavfEw changing Y with X for my horizontal stuff but.. cannot make it work. I always see the second copy of clouds ending and.. thats it. No infinite scrolling.

    infinite-problem.PNG
    Attached files Attached files

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zanard's Avatar
    Join Date
    Mar 2016
    Location
    Toscolano Maderno Italy
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right, you can replicate in y but not in x.
    bug?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Infinite Scrolling problem
    By LostFoundry in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th November 2011, 08:51 PM
  2. infinite scrolling of thumbanils?
    By mega21 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th November 2011, 02:50 AM
  3. Infinite scrolling help needed
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 1st January 2011, 08:20 PM
  4. Replies: 4
    Last Post: 15th July 2010, 12:16 AM
  5. Infinite scrolling on a schmup
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th February 2010, 04:50 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
  •