User Tag List

Results 1 to 3 of 3

Thread: Looping Background

  1. #1
    No Products Registered

    Join Date
    May 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looping Background

    I'm not sure if this is the same thing as a wrapping background, but I have minimal prior experience with this program and approximately 48 hours to put together a simple game for an art class that requires a looping background. If anyone could explain to me exactly how to do this it would be much appreciated.
    Thanks a million.

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Background

    Very simple way. If your game is scrolling already, just add a layer (Ctrl + K in the frame editor, then the + button in the layers toolbar).

    Select the new layer, and hit (Ctrl+D), this opens up the editor. You might need to click on it again to get focus.

    Click the check boxes for "Wrap Horizontally" or "Wrap Vertically", then set the "X/Y Coefficient"s. For example, 0.5 makes it scroll at 50% of the speed of the normal layers. Now take your backdrop image and drag it onto the layer in your layers toolbar- the object won't be moved, but it will switch layers.


    If your game isn't scrolling, but you want the layer to keep moving and wrap around, you can give that layer an offset. Do an "Add object", and add the "Layer Object" extension. Now you can go into the code, and add an event like:

    +Always
    =(Action of Layer Object) Set X Position of Layer 1 to (some value)

    I've uploaded an easy example:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=231496&#Post231 496

  3. #3
    No Products Registered

    Join Date
    May 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Background

    Thanks! I still seem to be having some trouble, as following these steps doesn't seem to work.
    The background is 2400x600 (doesn't feature a simple pattern), and should cycle back to the beginning of where it begins scrolling; I'm not sure if this would have any impact on whether or not your suggestion would work, but please let me know.

    Thanks again, I really appreciate it.

Similar Threads

  1. Looping background example
    By Pixelthief in forum File Archive
    Replies: 6
    Last Post: 7th May 2011, 11:37 AM
  2. Looping Background Forever
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th May 2010, 05:08 PM
  3. Question about looping a background
    By segasan in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 5th March 2009, 07:52 PM
  4. for ... next looping
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 6th April 2007, 07:35 PM
  5. Setting Static Text Background to MDI Background
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th September 2006, 03:17 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
  •