User Tag List

Results 1 to 5 of 5

Thread: need help for a pointnclick adventure game dialogue box

  1. #1
    Clicker Fusion 2.5 (Steam)
    plushdork's Avatar
    Join Date
    Feb 2016
    Location
    England/uk
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question need help for a pointnclick adventure game dialogue box

    hey i am currently trying to make a short point and click adventure game and am having trouble setting up a working dialogue box system and require some help. (those who find a solution will be added to the games credits under special thanks ) i have watched these two videos https://www.youtube.com/watch?v=l9kbRQjG5BU and https://www.youtube.com/watch?v=u_tyq2CSiqE but they are both very simplistic and don't show you how to make a continues dialogue system that can function for more than two paragraphs.

    emotionkid.jpg

    i have set up a basic dialogue system as shown:

    kid.PNG

    at start of frame: set counter to 0

    and then

    next.jpg

    but i feel i am doing something wrong as when i try to

    counter=1 and user clicks with left button: display paragraph 3 , add 1 to counter

    then when i try to test it out it just adds 2 to the counter and jumps to paragraph 3 and dodges paragraph 2
    if you could help me figure this out i will be thankful and also how to change the animation back to non talking when the text is done displaying like a typewriter as i could not figure it out so the character active object continues to play the talking animation even if the typewriter text has fully loaded

    here is a gif that shows what i have done so far: http://i.imgur.com/zFvWADU.gifv

    thank you

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    plushdork - It's hard to know the exact problem without seeing your mfa file rather than screenshots which don't show the actions (it's possible to upload your mfa on these forums if you click Go Advanced and click Manage Attachments)

    But I'm guessing that you have 2 events, something like this:
    If Counter=0
    + User clicks with left button
    String: Display Paragraph 2
    Counter: Add 1 to Counter

    If Counter=1
    + User clicks with left button
    String: Display Paragraph 3
    Counter: Add 1 to Counter

    The thing you need to understand is that if the 1st event fires, then so will the 2nd event, since Counter will now be 1, so it will display Paragraph 3 and skip Paragraph 2

    A quick solution is to reverse the order of your events, so highest Counter happens 1st

    If Counter=1
    + User clicks with left button
    String: Display Paragraph 3
    Counter: Add 1 to Counter

    If Counter=0
    + User clicks with left button
    String: Display Paragraph 2
    Counter: Add 1 to Counter

    I've attached a file that does this.

    If you have a lot of different paragraphs to display, you might find it easier to use the Counter to display the Paragraph using an Expression:
    If User clicks with left button
    Counter: Add 1 to Counter
    String: Display Paragraph value ("Counter") +1

    Hope this helps!
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 (Steam)
    plushdork's Avatar
    Join Date
    Feb 2016
    Location
    England/uk
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    omg sorry i never knew you could upload the mfa files to this forum i will sure to do that next time. your advice fixed the problem though, thank you i will sure to add your name Ayreguitar into the credits (or if you prefer i put something else let me know)

    this is actually my first time making a game in clickteam fusion or a game at all i am really good at drawing but i want to express that through games as well. so that's why i am starting my first game to be a simple linear plot point and click adventure game so it's not to ambitious but still will sharpen my skills in the program.

    i don't know my way completely around fusion so i really appreciate your kindness and help! and i hope to get better and better at making games
    ^D^

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome. Good luck with your game!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sample Dialogue System - code once

    You can use a string, the list object, and an index to create a dialogue system where not every paragraph has to be coded.
    Attached files Attached files

Similar Threads

  1. Graphic adventure dialogue system
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 5th May 2018, 08:15 AM
  2. Dialogue problem : make a dialogue with animations
    By esp in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st December 2015, 07:04 PM
  3. text adventure map object in creating adventure games for teens book problem
    By wendymorrison in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th October 2013, 02:48 AM
  4. In-Game Dialogue
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th October 2008, 05:01 AM
  5. In game Dialogue with INI
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th October 2008, 02:32 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
  •