User Tag List

Results 1 to 5 of 5

Thread: Same Position as Previous Frame

  1. #1
    No Products Registered

    Join Date
    May 2010
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Same Position as Previous Frame

    So I was working on my project earlier today and it suddenly occured to me that I needed to be able to do this in order to... you know. Work on my project.

    So the character in my game walks off screen to get to the next "room". When he goes off the side, he needs to be in exactly the same position as he is in when he goes off the side, only on the other side since it's a new area. For example, if he's mid-jump when he goes off the screen, he needs to be mid-jump when he's in the next area. So I need him to be in the same position that he was in in the previous frame, the same co-ordinates except on the opposite side. How might one do this?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Same Position as Previous Frame

    Store his position in a global value or global object's alterable values?
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    May 2010
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Same Position as Previous Frame

    And how might one go about doing that?
    I forgot to mention - I'm a newb. Entirely. I have no idea how to use global values. :3

    EDIT: NEVERMIND
    Figured it out. Thanks. :3

  4. #4
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2008
    Location
    Western Australia
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Same Position as Previous Frame

    If you are a 'newb', then perhaps I can help you to avoid the same mistake that I made when I first started using Global Values...

    All through my code, I referred to them as value 'A', 'B', etc. using mnemonics such as B for number of balls, E for number of enemies, etc.

    I only later realised that global values could be given a name such as "Balls", "Enemies" and it made using MMF so much easier!

    It's really obvious if you know it, but most things are easy when you know how!

  5. #5
    Clicker

    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,731
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Same Position as Previous Frame

    Jellyfish, I also have a frame transition example on page 12 of my website.

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

Similar Threads

  1. Keep display from previous frame
    By Popcorn in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 22nd December 2013, 12:52 AM
  2. Frame Properties > Keep display from previous frame not working - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 31st May 2012, 09:49 AM
  3. Previous anim frame -> crash
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 3rd September 2010, 05:36 PM
  4. Jumping to a previous frame bug?
    By Alonso in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th June 2010, 02:37 AM
  5. Position save/load one frame to a previous one.
    By frankodragon in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th November 2007, 05:34 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
  •