User Tag List

Results 1 to 8 of 8

Thread: How to constrain camera scrolling

  1. #1
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    653
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to constrain camera scrolling

    I've asked this before but had little luck with it thus far. I need some tips on how to lock camera scrolling to specific zones on a larger sized frame. For example, my stage frame would be 6421 x 2408 and my screen resolution is at 320x240. My thinking is, the correct way to start would be put the lowest point of the stage at the bottom of the frame, and work my way up. The problem is, i have doors that transition from zone to zone and i want the camera to lock to specific zones until opening a door, then when the player walks in, the camera needs to slowly move forward to a point until the character walks in and then lock to that new position. Basically, look at Castlevania as a better reference lol.

  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)

  3. #3
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    653
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the link but, the download on the page won't download?

  4. #4
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    653
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    For an idea of what i'm looking for, check this video:
    https://www.youtube.com/watch?v=hFFKAl2A898
    Watch from 2:09-2:35 for the effect.

  5. #5
    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)
    I see what you're talking about; that's unfortunate. Here's an example that basically does the same thing: camera boundaries2.mfa

  6. #6
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    653
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the file dude I just had a thought; would i not be able to accomplish the same thing using something like a counter? For instance, say like in the video it only shows the ground level and that's it, make that zero, then when the player reaches the door, change that counter to 1 and move the camera to the center position of that zone? And then do the same for other areas? May sound crazy but i'm going to try it lol. Thanks again casleziro!

    EDIT: That worked! By adding a counter for the zones, i'm able to lock the constraints on the camera's X/Y position (at least to scroll like in the vid lol).

  7. #7
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Casleziro's example is great, works very smooth.
    I made a tutorial for that type of scrolling, you get with similar results,
    I'm just doing it a little different.
    https://youtu.be/foM2DTBd4CA

  8. #8
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    653
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I've seen your example Sparckman, very good also! But i'm looking for something like what's seen in the earlier Castlevania games and so far have achieved it using a counter and camera positions when the counter is at different numbers. The player's position is what switches the counter number and the x or y of the camera moves to that location smoothly

Similar Threads

  1. Scrolling Camera
    By Emerson3 in forum Fusion 2.5
    Replies: 5
    Last Post: 18th July 2014, 09:32 PM
  2. Camera scrolling
    By Dmsds in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st July 2011, 07:12 PM
  3. Camera Scrolling Help
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 4th September 2009, 03:07 AM
  4. Help with Camera Scrolling for Side-Scrolling
    By ThatOtherGuy in forum File Archive
    Replies: 4
    Last Post: 29th August 2009, 09:38 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
  •