User Tag List

Results 1 to 9 of 9

Thread: Wanting to scroll up

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wanting to scroll up

    Hi everyone

    Hope you all are having a lovely day,

    I am looking to prototype out an infinite platformer where the player jumps up a tower defeating enemies, here is my issue and I have ran into it before.

    What I would like to do is basically start at y 640 and keep scrolling up past y 0,

    I know I can do it the other way, where the player is going down but I am curious if this way is possible and I just not seeing how to do it.

    Thank you so much

    Dusty

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    643
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    You can change the focus of the camera in the event editor under Storyboard Controls.

    Storyboard Controls > scrollings > center vertical position in frame.

    Then you would make a start of frame event that centers your camera where you want:

    Start of frame
    --> Center vertical position in frame at 640

    and scroll normally from there.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure that solves my issue,

    I have a always event that centers the scrolling on my player character object, right now its a simple 8 movement to try and solve this scrolling issue, I have my virtual height set to -1 as I was told once that was the trick for infinite scrolling.

    now if I was going down that would be perfect but I want the character to go up

    and I keep hitting this point where the scrolling stops but my character keeps going

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF 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)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    917
    Mentioned
    14 Post(s)
    Tagged
    1 Thread(s)
    Workaround idea: Do you think it'd be a viable option to scroll the background and the objects downwards instead of moving the camera view? It's an old trick but rather handy!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    This depends a lot on your "setup"
    and how you want to present the scrolling background and various moving elements,

    Within the "infinite scrolling" trick with virtual height,
    you could "teleport" the player down when it's near the top border:

    endless_scroll_up.mfa

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While a good idea it dosent really work with the sort of platformer I am going for since it would be warping them mid jump

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm basically shift everything in realation to how far the player can jump, that idea has some legs

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    Yeah same moment you shift the player, you also shift everything else,
    and if you need to keep track of "how far" he's gone,
    you can just keep adding how much the player moves up/down each frame (save for shifting of course)

    Another way with the "virtual height",
    depending "on how much infinite" your scrolling needs to be,
    you could put the player down to say Y 9999999 (at some point more it will start behave erratically)
    and then you'll have plenty of space to scroll up,
    depending on how fast and how high your player jumps
    that's probably no less than three hours of constantly running up gameplay
    before reaching Y 0

    I'd also consider Chrilley's suggestion,
    you could match it with a level editor
    (or with some sort of procedural generation of your levels)
    so you'd feed (load) tiles from the top row of the screen and remove them from the bottom
    and maybe if needed simply apply wrapping to the background layer and scroll it with the layer object

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,037
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    ive done the jumping/looping from 1 side of the level to the other that schrodinger suggests with no issues. you have to make sure it lines up, and your increments are not out of sync so you dont get a flicker.

Similar Threads

  1. Wanting a Partner to develop with.
    By RouzCS in forum Fusion 2.5
    Replies: 6
    Last Post: 21st September 2015, 04:22 AM
  2. Scroll around using w, a, s, d
    By fishrod in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th February 2014, 06:17 AM
  3. How to set PMO object if wanting to cut of 20fps?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd March 2012, 10:31 PM
  4. Always Scroll
    By Ryan in forum File Archive
    Replies: 2
    Last Post: 9th March 2011, 02:15 PM
  5. scroll bug?
    By MrMan in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 27th September 2009, 06:09 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
  •