User Tag List

Results 1 to 2 of 2

Thread: Formula for adjusting parallax positions? :)

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Apr 2012
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Formula for adjusting parallax positions? :)

    Greetings! I'm having an issue where I have a few layers that utilize parallax scrolling, and it' sort of conflicting with my level editor.


    Let's say I have a certain screen position where I want some bushes in the background to scroll by when the player walks by, but the x-coefficient of that layer is 0.85 or something, so if I actually place the bushes at that point, they will have scrolled by before the player gets to them. Is there a way to take the position backdrop and "adjust it" at the start of the level so that it will be at the correct position when the player passes by?

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    668
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I think you'll need to do this position adjustment in order for it to be in the place you'd like.

    (Position - WindowSize/2 ) * LayerCoefficient
    You'll need to either add or subtract this expression's result, I haven't done this before so I will need to test this when I have the time to.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. Adjusting FPS
    By macca02 in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 12th November 2013, 12:42 AM
  2. Adjusting position of frame
    By Eagi in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th June 2012, 08:05 PM
  3. Fast loop for adjusting the angle of a line
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th May 2011, 03:45 AM
  4. Adjusting a sample in a channel individually
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd May 2009, 09:52 AM
  5. Adjusting Selected Objects
    By Dines in forum Extension Development
    Replies: 4
    Last Post: 24th June 2008, 07:43 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
  •