User Tag List

Results 1 to 5 of 5

Thread: Infinite scrolling on a schmup

  1. #1
    Clicker Multimedia Fusion 2 Developer

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

    Infinite scrolling on a schmup

    Simply put, how do I do it? I have an object moving to the right at a constant speed whose X-coordinate is being used as the scrolling x-coordinate. I've experimented in simply transporting the aforementioned object to the middle of the frame at the start of the level, but this looks bad with my paralaxing, as the background "jumps" midway through. All layers are 640 wide, as is the frame window so I just need to find a value at which they will be perfectly centered on my screen. Any help with the math would be appreciated

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite scrolling on a schmup

    Always
    Center horizontal scrolling { X Right Frame-(X left Frame-1) }

  3. #3
    Clicker Multimedia Fusion 2 Developer

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

    Re: Infinite scrolling on a schmup

    alongside or replacing the existing conditions? When alongside the original scrolling thing, it acts really strangely, and when it doesn't, no scrolling takes place.

    EDIT: By "really strangely, I mean that the background layers are somehow in two places at once, and rapidly changing to strange positions.

  4. #4
    Forum Moderator

    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,782
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Infinite scrolling on a schmup

    What are the coefficients set to, in the properties, for the layers.

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

  5. #5
    Clicker Multimedia Fusion 2 Developer

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

    Re: Infinite scrolling on a schmup

    All scrollings are horizontal only.
    top layer: 0.0 (objects on this layer "follow the frame"
    second layer: 0.95
    third layer: 0.75
    fourth layer: 0.45

Similar Threads

  1. Infinite Background Scrolling
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 21st July 2017, 06:56 PM
  2. Infinite Scrolling problem
    By LostFoundry in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th November 2011, 09:51 PM
  3. infinite scrolling of thumbanils?
    By mega21 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th November 2011, 03:50 AM
  4. Infinite scrolling help needed
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 1st January 2011, 09:20 PM
  5. Replies: 4
    Last Post: 15th July 2010, 01: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
  •