User Tag List

Results 1 to 5 of 5

Thread: Ending frame problem

  1. #1
    No Products Registered

    Join Date
    Jan 2008
    Location
    Illinois, U.S.A.
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ending frame problem

    I figure I will try this again as I have tryed about 20 different ways and none have worked right. So here go's I have a collection of about 7 different 2 player games in one mfa file. This file has 3 different ending all the games work right but when it comes to the ending screen.
    15)Number of lives for player 1 reaches 0 goto frame 6 "works"
    16)Number of lives for player 2 reaches 0 goto frame 5 "works"
    These endings work great the problem is I need a line that compares player 1 to player 2 if both lives are 0 to go to a third screen that says "Nobody Wins". I have tryed a lot of different ways and orders that keep finding my player 1 wins or player 2 wins screens. I know I have the right ideal but I'm missing something small. Yes I am useing templetes and my codeing is very basic. Be happy to give someone a credit and put your web site address on my credit screen if you can fix it. I need it to go to frame 7 if player 1 and player 2 lives = 0.
    Thank you for any help!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Ending frame problem

    The reason "Number of lives for player reaches 0" doesn't work when you have two of them, is that it's a condition that only is true the moment the lives reaches 0. Instead, use Compare two general values.

    Make a new event. From the "special" icon, select compare two general values and test if Player1's lives equals 0. Do the same thing over, but in the same event, so that you test for both Player 1 and Player 2.

  3. #3
    No Products Registered

    Join Date
    Jan 2008
    Location
    Illinois, U.S.A.
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ending frame problem

    Where should this line be placed before or after the lines 15 and 16 from above? And are my lines 15 and 16 still needed to complete to proper frame functions?

  4. #4
    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: Ending frame problem

    Place it before 15 and 16. Otherwise it will be wrong.
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    Jan 2008
    Location
    Illinois, U.S.A.
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ending frame problem

    Sorry it still finds my 5 that says player 1 wins when it should got to frame 7 nobody wins! Lines 15 and 16 are now 16 and 17 with the line 15 as the one it says to program above. Below is the way the line reads I would link it up so you could look at the file but not sure how to do it!

    15 NObject("Player 1 Heart Icon")=0
    NObject("Player 2 Heart Icon")=0

    Then the story board control box is check to jump to frame 7

    I do find something that looks weird the Player 1 heart Icon is a single heart but the player 2 Heart Icon is 3 smaller hearts.

Similar Threads

  1. Jumping to a frame after ending an animation problem
    By Macaw in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th March 2014, 01:50 PM
  2. app not ending when i test frame
    By life2searching in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 23rd May 2011, 05:24 PM
  3. Ending a frame at the end of a paragraph
    By Heclegar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th January 2011, 09:38 PM
  4. Ending an exe app from another exe?
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th February 2010, 12:14 PM
  5. Never ending / looping frame?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 23rd November 2008, 05: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
  •