User Tag List

Results 1 to 9 of 9

Thread: Scrolling

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scrolling

    How can I jump to another place in my frame?
    For example, my frame is 2500 x 2500 and the playarea is 800 x 600. And if the player leave that screen, it jump or scrolls to next place in the frame. It's hard to explain, but hope you understand me.

  2. #2
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    make 2 global values, xscreen and yscreen.
    When you want to move screen, change these values to the center of the area you want.

    +Always
    -- Center X position on 'xscreen'
    -- Center Y position on 'yscreen'

  3. #3
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    Ok, but this is jumping or scrolling to another place in frame 1.
    Clobal Values is between frames? Or am I wrong?

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    Global Values can be used for anything, including teleporting in the current frame. The suggestion made by bigredron is good.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    Hmmm, I can't get it to work. Can someone post an example here?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    * X("Player") > X Right Frame

    * X("Player") < X Left Frame

    * Y("Player") > Y Bottom Frame

    * Y("Player") < Y Top Frame

    or some other conditions...

    - Set Global Value A to (Whatever is on the right, lets say Left X Left Frame - (X Right Frame + X Left Frame)/2

    - Set Global Value B to (Whatever is on the right, lets say Top Y) Y Top Frame - (Y Bottom Frame + Y Top Frame)/2

    * Always
    - Set Horizontal position in frame to Global Value A
    - Set Vertical position in frame to Global Value B

    Give me a break if I made a mistake. Bedtime!

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    Are you asking for a screen/room transition example, where it auto scrolls to the next room?

    Yea, there are several ways of doing this. I think one of my games/examples use this. I just went with invisible object detectors at the side of the rooms so that the effects don't trigger when I don't want them to, and use them when I want to.

    As long as you are using X Left Frame & X Right Frame properly, saving the numbers, anything should work for you.

  8. #8
    No Products Registered

    Join Date
    Dec 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    You are talking about room to room, right? Where when the player touches the edge of the screen it jumps over or up or whatever automatically? Kind of like scrollling, but it takes one big leap to another area without changing frames? If so I have a good example from Popcorn. It uses two counters and one event I'll attach it, but someone will have to tell me how...I dunno. If you give credit thank Popcorn. I'll edit it so it works with 800x600 window size.


  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Scrolling

    Hi Berlioz. You can use the File Manager in the File Archives, or just give the link, here, for the file.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Similar Threads

  1. Best way to do scrolling like this?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 11th April 2012, 05:35 AM
  2. Help with Camera Scrolling for Side-Scrolling
    By ThatOtherGuy in forum File Archive
    Replies: 4
    Last Post: 29th August 2009, 09:38 PM
  3. Help with scrolling?
    By Amade in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 15th December 2007, 07:20 PM
  4. Scrolling
    By Keli in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th December 2007, 07:50 PM
  5. Scrolling sub-app
    By Flava in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2006, 08:49 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
  •