User Tag List

Results 1 to 7 of 7

Thread: Help needed with Parallaxer

  1. #1
    No Products Registered

    Join Date
    Feb 2010
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help needed with Parallaxer

    The author of the object advised me on his Youtube comment page to come here for advice instead of consistently pestering him about the nitty-gritty with his object.

    Basically, what I want is to make the parallaxer image always center itself in relation to the camera. The current set-up, depending on where the parallaxer is placed, will usually give the wrong perspective. I uploaded an example image as a youtube video. For some reason I had thought this would be easier.

    http://www.youtube.com/watch?v=N9lLSR9Nq5U

    The parallaxer is a cube. In the left, we have what it is now, and to the right is how I would like it to behave.

    Here is a link to a thrown-together example build.

    http://www.filefront.com/15882621/parallaxerexample.exe

    The cube on the left is about right perceptually, but only because it was placed within the 640x480 perforated starter frame. The cube to the right is off. If the image were centered properly in relation to the camera, there would not even be cutoff, as you can see on the right cube.

    I would suspect it has something to do with setting the offset to the camera's x position + ( screen size / 2 ), but that is only a guess.

  2. #2
    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,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed with Parallaxer

    Probably would be best to give us raw code to look at, an mfa. That way we can trouble shoot it for you.

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

  3. #3
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Help needed with Parallaxer

    I can't remember if this version is published yet, but my next version already has an option to keep a certain line stationary while the rest scrolls. It makes it easier to make that kind of cube effect you are trying to make. In fact I actually also made an example of doing what you are trying to do.

    The in your case, you probably set the offset of all parallaxer objects to be: X("Player")
    To adjust the parallaxer object's offset you need to take their x-position into account. It's a little bit difficult to describe. I will try to release the next version of Parallaxer object as quick as possible.


  4. #4
    No Products Registered

    Join Date
    Feb 2010
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed with Parallaxer

    Thanks, Andos. You should post a link to this example!

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Help needed with Parallaxer

    Will do as soon as I release the new Parallaxer version.

  6. #6
    No Products Registered

    Join Date
    Feb 2010
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed with Parallaxer

    Hey Andos. It wasn't too complicated at all. You really threw me off by making me overthink this!

    All you have to do is subtract the player's X coordinate by the parallaxer's X coordinate. All solved.

  7. #7
    No Products Registered

    Join Date
    Feb 2010
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed with Parallaxer

    Alright Andos. Next up the 320 Z-length isn't working as well as I had thought. It still moves much quicker than the rest of the frame and other objects.

    Here. I posted the project file on filefront for you to see. If I set the z-length to 6000, it'll move at the same pace as the rest of the frame, but it destroys the 3d effect. Basically what I want is the Z-length to be 320, but for the front of the house to move at the proper pace, so that it looks like a flat 2d square with depth trailing behind it in parallel.

    Those 2 actives in the windows should stay in those windows as the character moves left and right.

    http://www.filefront.com/16017951/movementtestparalax.mfa

Similar Threads

  1. Parallaxer object
    By Bogeyman in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 22nd April 2013, 05:57 AM
  2. Parallaxer Issues?
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th March 2012, 05:52 PM
  3. Parallaxer Object
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th May 2009, 07:06 AM
  4. Parallaxer final version
    By imothep85 in forum Extension Development
    Replies: 4
    Last Post: 9th July 2008, 06:36 AM
  5. Parallaxer beta 3!
    By Anders in forum Extension Development
    Replies: 18
    Last Post: 31st May 2008, 06:00 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
  •