User Tag List

Results 1 to 7 of 7

Thread: Jumping between frames "rooms" help

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jumping between frames "rooms" help

    Using MMF2 Dev I'm trying to get the player to move to another frame then coming back to the original "room" without starting from the beginning of the frame using the jump to frame + X Y positions. When I jump from frame 1 to 2 for instance, that works. But jumping from frame 2 to 1 doesn't. Here's what I'm doing so far:


    *Upon pressing "up" arrow
    *"collision between "character" and "door"
    -Jump to frame number 2+X( "character" )+80+Y( "character" )+350



    *Upon pressing "up" arrow
    *"collision between "character" and "door"
    -Jump to frame number 1+X( "character" )+75+Y( "character" )+328

    I must be doing something wrong in the second part.



  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    Hmmm, you are trying to add apples to oranges

    Your frame number is a number between 1 and the number of frames you have in your game.

    X("character") is the x position (in pixels)from the left hand edge of the screen.

    Y("character") is the y position (in pixels)from the top edge of the screen.

    You need to save the state of the game when you jump from room to room. The easiest way to do this is with the new Save/Load frame actions.

    However, these are not available in the demo version. Do you have build 246 of MMF2 Dev yet?

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

    Join Date
    Aug 2006
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    I dont understand all the extra stuff after "Jump to frame Number"'s purpose.

    The way i've always handled this, is have a global value, say A.
    I generally set the value of this prior to the start of the first level, and set it to 1. If it equals 1, set position to wherever the start of the level is.

    If equals 2, then set position to wherever the other point you want to guy to be, and so on.
    Make sure you run that set position event "Only when the event loops"
    Then all you really have to do is change this global value whenever you enter or exit a door.

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

    Join Date
    Aug 2006
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    Quote Originally Posted by Sarah
    The easiest way to do this is with the new Save/Load frame actions.
    Suprisingly, i've never figured out how to actually use this function. If you could give a quick example of how to do it, you'd be my hero.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    I would have thought the load save frame would load the old variables too so anything you did in the previous frame, getting pickups, would be lost. Is this not the case?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    Anything done in frame 2 would be 'forgotten' when loading the Saved Frame 1 file. But if you were just wandering into another room and back again, that wouldn't matter. You'd need an external ini or array file for pickups with this method.

  7. #7
    No Products Registered

    Join Date
    Aug 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Jumping between frames "rooms" help

    "You'd need an external ini or array file for pickups with this method."

    So this pertains to 1UPs as well?



Similar Threads

  1. "Play sound over frames" bug
    By Bibin in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 12th July 2012, 06:56 AM
  2. Beta 17 - "Play samples over frames" not working
    By DistantJ in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 14th February 2012, 04:54 PM
  3. "Deadly Rooms" Coming soon (IPAD)
    By Evilized in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 25th January 2012, 08:22 AM
  4. No "sounds over frames" & "Stop sample" crash
    By Giovanni_Cardona in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 5th November 2010, 01:48 PM
  5. frame "slides" to a position instead of "jumping"
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 9th March 2010, 12:43 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
  •