User Tag List

Results 1 to 5 of 5

Thread: Parallaxing active object,,, question..

  1. #1
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Parallaxing active object,,, question..

    Is there a way to parallax a background without having to make it an active object? The reason being, when it is an active object it's order has to be in front, and it blocks out the ground backdrops and anything else thats not also an active objects. any help appreciated, thanks.

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Parallaxing active object,,, question..

    Well I don't know what your situation is but try doing a qiuck teleport and paste image into background. (Set position of object, then paste image into background, then set position of object back to previos position.)
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Parallaxing active object,,, question..

    You could either change the X and Y coefficient of each layer in it's properties, or use a system box with an image on.

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Parallaxing active object,,, question..

    Although there might be newer ways of doing it in MMF2, the Background System Box worked like a charm in MMF1.5. Mobile like an active object, but in the back and light on resources like a backdrop object. While I was diggin' through one of my old platformer engines just to make sure of the name of the object, I stumbled upon this nifty comment detailing the formula I used for a pretty spiffy lookin' parallax effect.

    Here's what the basic events look like -
    XPos: ( ( X Left Frame - ~XW~ ) - ( ( X Left Frame / ~X~ ) mod ~XW~ ) )
    YPos: ( ( Y Top Frame / ~Y~ ) mod ~YH~ )
    ~XW~ is the width of the pattern you're scrolling, ~X~ is the horizontal speed you want it to scroll at (the bigger the number, the slower or "further back" it is), ~Y~ is the vertical speed you want it to scroll at (not used in this example), and ~YH~ is the height of the image.
    Note: For reasons unknown you often have to make the images REALLY big in the level editor or they won't be displayed correctly in the game. It seems to depend not only on the size of the image, but the size of the level. Just start out with 2 or 3 times the size of the actual image and tweak if needed.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Parallaxing active object,,, question..

    Background system boxes are still great for simple repeating parallax backgrounds - if you want to edit the background in more detail, then you can add a couple of layers behind the main one and set their scrolling coefficients as needed.

Similar Threads

  1. active object question
    By Kristopher in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 16th April 2012, 02:57 PM
  2. Active object PMO Question?
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd April 2012, 08:04 PM
  3. Active Object Animation question
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 1st August 2011, 04:38 PM
  4. Question about Active Object
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th July 2010, 05:04 PM
  5. Parallaxing question
    By McPuff in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th March 2009, 10:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •