User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Working the Password Function in MMF2

  1. #1
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Working the Password Function in MMF2

    Hi, everybody. I need help; I'm making an RPG game where you have to explore to find special 3-digit codes, then at the end of the game, you have to put all the codes together to access the boss battle. So I figured that when you type in the codes in the Frame Editor's "Password" Box, that when you start that frame, it'll ask you for a password. But it just keeps moving along. Can someone please help me? And if possible, could someone tell me how to make it so that(Since it's RPG) when you exit a certain area, you appear outside the area instead of the beginning of the frame. Thanx.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    "Password" is used to provide a password that jumps instantly to that frame (through the Password option on the default menu), rather than preventing access to that frame.

    I would write a custom "Enter a password" frame that uses an Edit box (use Compare Two General Values in the Special object to retrieve its text and compare it with the correct password).

  3. #3
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Okay, then, let me try that...

  4. #4
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Hm...I did the 'Compare to two general Values', then for the first box retrieved the data from 'Edit Box Object' to get text, then I assumed that in the second box you put the password, but I keep getting an error message that says "Make sure both values are of same kind: numeric or alphanumeric", and I don't know what to do now.

  5. #5
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Oh, nevermind, I got it. I just made it Val(Code), so now when you enter the right code, it goes to the next frame. Thanx for your help.

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    You actually don't have to use the value function. The easiest way is to simply put "" around your text. This is so that the computer recognizes it as text and not a command.

  7. #7
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Sorry if your eyes are bleeding because of all my replies, but while we're on the subject can someone help me with the other question? I don't like it when you finish a level and start all the way at the beginning of the over 20,000 width frame. Like when you are in a desert and click on something to activate a minigame, and you go to another frame, then we you come back you start all over at the beginning. Is there a way to make it possible that you start right where you went to the other frame?

  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Yes, save the X and Y co-ordinates of the player in global values, and on the start of the frame, restore them from those by setting the player's X and Y co-ordinates to their values.

  9. #9
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    569
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    It would need to be amended a bit, that event, because if you used it, on the very first time you enter the Desert frame the position of the player would probably be set at 0,0

  10. #10
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Working the Password Function in MMF2

    Yeah, but it's not really a Desert Frame, it's one giant frame that has different sections.(Just some creativity)One area of the frame is a village, then far away in a different area it's a swamp, etc. Like for example: There's a part where if you click on this object in the desert-area, you go to a separat level and a separate frame. After you complete that level, I made it jump to the Main Level frame.(What I call the big RPG level) But you always start at the very beginning. I've tried using a score object off-screen to where when you enter that level from the desert, the score is set to one. Then, in the Main Level, I could have it where if the score equals one, then set the position of the character to the spot where you exited the Main Level. The only problem with that is that I have another score counter that displays your ammo, so that would be altered along with the one off-screen. Any ideas?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Function Eggtimer problem // Power Function for MMF2 Android?
    By ogrgkyle in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th May 2013, 04:17 AM
  2. MMF2 Grid or Ruler Function?
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th February 2012, 12:36 AM
  3. good password system in MMF2 Dev
    By dsmathewson in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st October 2008, 10:51 PM
  4. Idea To a future function to mmf2
    By Cocodrilo in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th July 2006, 06:18 AM
  5. Function Eggtimer for MMF2 released
    By Anders in forum Extension Development
    Replies: 7
    Last Post: 14th July 2006, 04:50 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
  •