User Tag List

Results 1 to 7 of 7

Thread: Leaving frame 1 to right, enter frame 2 from left

  1. #1
    No Products Registered

    Join Date
    Dec 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Leaving frame 1 to right, enter frame 2 from left

    For exemple, I leave frame 1 to the right, when frame 2 starts i want my player enter from left the exact same X and Y that i left from the previous frame(Frame1).



  2. #2
    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,761
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving frame 1 to right, enter frame 2 from left

    You can use Global Values for this, as these carry over from frame to frame.

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

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

    Re: Leaving frame 1 to right, enter frame 2 from left

    Quote Originally Posted by Martin
    For exemple, I leave frame 1 to the right, when frame 2 starts i want my player enter from left the exact same X and Y that i left from the previous frame(Frame1).
    If he came in at the same X location, he would not enter from the left. All you want is for him to come in at the same Y position.
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Dec 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving frame 1 to right, enter frame 2 from left

    LB, yeah thats right, it will be 0 X , but i still need to store the Y somehow.

    nivram global values works, but it most be another way somehow.

    Im working on a adventure platform game.
    I dont know how ppl do when they leave the screen.

    Im looking for something like this.

    Eternal Daughter
    http://www.youtube.com/watch?v=oZBQQe5PQew


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

    Re: Leaving frame 1 to right, enter frame 2 from left

    What you can do is store the X and Y values in alterable values of the player object, and make the player object a global value. You can also store a value like 1,2,3,4 in another alterable value to represent what side of the screen the player left, so you can make them come from there.
    Working as fast as I can on Fusion 3

  6. #6
    No Products Registered

    Join Date
    Oct 2009
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving frame 1 to right, enter frame 2 from left

    Yeah, I usually keep a value for which direction the player came from, 1 being left and 2 being right. That way I don't have to deal with X and Y positions and I can just say that if Global Value A = 1, position the player on the right side (since they came from the left.)

  7. #7
    No Products Registered

    Join Date
    Dec 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving frame 1 to right, enter frame 2 from left

    Yeah that sounds like a nice way to do it. gonna try it out.
    Thx alot guys.


Similar Threads

  1. Have a frame remain as you left it
    By SuperDisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 15th February 2013, 05:46 PM
  2. [BUG] X Right Frame expression return X Left Frame position
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th October 2012, 03:08 PM
  3. Stopping on the left and right edge of the frame
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th January 2010, 08:22 PM
  4. How do I disable all button presses on Enter Frame
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th April 2009, 10:21 PM
  5. Permenently saving position when leaving a frame.
    By Martin_Bodger in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 15th May 2008, 11:57 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
  •