User Tag List

Results 1 to 7 of 7

Thread: Scrolling and Virtual width

  1. #1
    No Products Registered

    Join Date
    Nov 2006
    Location
    Sweden
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scrolling and Virtual width

    Hello!
    I'm making a platforming game with a single large level.
    Using paralax scrolling I have a layer of fog in front of my level
    and I have done this by using a screen sized image that is being wrapped around as I scroll the screen. (640*480)

    The problem I'm facing is that with the use of a
    frame size of 640*480 and a virtual width of 10000
    I can't view/edit the entire level.

    Even if I zoom out to 25% I am still only able to see 2/3 of the entire level.
    The only way around this is to keep changing the "real" frame width to 10000 while editing and as soon as I need to run the game I need to change back to 640. (And also keep changing the virtual frame width again because it resets every time.)

    Is there any other way around this?

  2. #2
    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: Scrolling and Virtual width

    Is there a reason that you're using the virtual width to extend the level sideways, rather than having the frame as 10000x480 and a window size of 640x480? (I haven't looked at the virtual dimensions myself.)

  3. #3
    No Products Registered

    Join Date
    Nov 2006
    Location
    Sweden
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling and Virtual width

    Yes the reason is that I use paralax scrolling and a single active object as an overlay fog on a seperate layer.
    And the only way to get the layer content to wrap around the frame correctly is to use the same frame width as the content and a bigger virtual frame width for the level.

    I just realised that I could perhaps use a quick backdrop object and let it extend over the entire level, but I will have to try that to see if it does not slow things down.

    Even if that works I'm still wanting to get to the bottom of this problem.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Scrolling and Virtual width

    Is there any other way around this?
    You can increase the margins in the preferences of the frame editor.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling and Virtual width

    Woah?! You can. Awesome never knew that.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Weiningen ZH, Switzerland
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling and Virtual width

    Why not use the background system box. With it youR'e able to set your image transparent and you can "pattern" it.

    Edit: Well, it would probably slow things down with a size you'd need.

  7. #7
    No Products Registered

    Join Date
    Nov 2006
    Location
    Sweden
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling and Virtual width

    Thanks Yves!
    That's exactly what I needed,
    and I don't understand why I didn't figure that out myself.
    This will make my day so much easier!

Similar Threads

  1. Virtual Height/ Width
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 6th February 2012, 11:36 PM
  2. Virtual Width And Height
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st May 2007, 03:18 PM
  3. Virtual Width/ Virtual Height Revisited
    By Donald in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 16th July 2006, 12:32 AM
  4. What is Virtual Height and Virtual Width?
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th July 2006, 12:23 PM
  5. Changing Virtual Height and Virtual Width at run
    By Donald in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 13th July 2006, 10:36 AM

Posting Permissions

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