User Tag List

Results 1 to 7 of 7

Thread: Scroll transition between frames?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scroll transition between frames?

    I'm in the designing stages of a new game and am considering all of the programming aspects of it before I begin. One thing I'd really like in the game is a smooth scrolling between frames when the player hits the edge of the frame, like in the old Zelda games.

    Here's a little visual. If the player walks off the right edge of the first screen, I'd want the camera to move to the right seamlessly to connect to the second frame.


    I assume this would be done using a parent frame and a couple sub-applications containing the frames that are being switched between, but I don't know how to do it efficiently. Can I have some advice?

    I made a simple example file with no scrolling. How would I add it?

    Thanks

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Scroll transition between frames?

    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scroll transition between frames?

    Thanks, but the whole point of scrolling between frames is so that each frame can load separately, rather than loading the whole world at one time. The Zelda Widget only scrolls within one frame.

    EDIT: In the actual game, the frames would be much bigger, which is why I need this.

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

    Re: Scroll transition between frames?

    Hmm I can only think of one way of doing that right now:

    Have a "master frame" in which you have two sub-application objects. You then have to manually set the current frame/level of those two and move them manually as well. So when the player exits at one side of the screen it will send a message to the master frame which level to switch the other sub application to, and which way they should scroll.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Scroll transition between frames?

    Seems like a lot of hassle to simluate something that was based on a hardware limitation (in Zelda).

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scroll transition between frames?

    Quote Originally Posted by mobichan
    Seems like a lot of hassle to simluate something that was based on a hardware limitation (in Zelda).
    I see what you mean, but doesn't it still make sense in a MMF2 app to not load your entire world in one frame? What if my world, all together, is 20480x15360 pixels, with tightly packed enemies and other active objects?

    I don't know much about how MMF2 runs or how much resources this situation would take up, so I'm looking for advice at this point. Thanks to Andos, I think I could do this my way, but would the game really run just as well with my whole world in one frame?

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Scroll transition between frames?

    It is probably going to take some experimenting on your part to figure out the right size level for your game. Depending on how much code you have running for enemy AI, fx, collisions, etc your game will have different limitations to someone else's. As a general rule, I like to start conservatively and make levels smaller, just in case I end up needing the extra cpu for other stuff. If you are going to load your areas into one "game" frame, then you could always scale that frame's size later if you want to.

Similar Threads

  1. Few frames vs Multiple frames - game help needed
    By Marllux in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th September 2013, 04:13 PM
  2. transition
    By mnovoa in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 14th November 2011, 02:33 PM
  3. Scroll bars for frames that are bigger than window
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th December 2006, 08:30 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
  •