User Tag List

Results 1 to 3 of 3

Thread: Ending a frame at the end of a paragraph

  1. #1
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ending a frame at the end of a paragraph

    Hi! I created a string with 5 paragraphs. Whenever the player hits space the string goes to the next paragraph.

    How can I make the game skip to the next frame when the player hits space for the last time (at the end of the last paragraph)?!

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

    Re: Ending a frame at the end of a paragraph

    You have to use Compare 2 general values, and then compare "Current number of paragraph displayed" with 5.

    * Upon pressing "Space bar"
    + Paragraph("String") = 5
    - Go to next frame

    * Upon pressing "Space bar"
    - String: Display next paragraph

    You need to put the events in that order, or you can add another condition in the Next paragraph event that says that the paragraph must be less then 5, and then the order of the events will not be important.

    You should also not hardcode 5. I just did that for easy understanding. You can get the number of paragraphs from the String object's icon in the expression editor.

  3. #3
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ending a frame at the end of a paragraph

    It worked! Thank you very much!

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. Never ending / looping frame?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 23rd November 2008, 05:50 PM
  4. Ending frame problem
    By scurvy in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 27th February 2008, 02:03 AM
  5. paragraph_error_stopped at 2 paragraph!
    By 4444 in forum File Archive
    Replies: 3
    Last Post: 1st November 2006, 08:29 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
  •