User Tag List

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

Thread: Dialogue

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dialogue

    Hello again

    I have no idea how to integrate a dialogue or even a text pop up into my game. I did the dialogue ini tutorial, but have no idea how to integrate that.

    Does anyone know alternate ways of dialogue creating and how to integrate it in your game?

    thanks

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    The simplest way would be to simply use the string object with a text bubble background as an active object. Remember to set the string NOT to be a background.

    With the string object, you can change its "alterable string" in the event editor. Just show the active and the string and hide it when you don't want it!

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    To add to that, you'll need a counter or alterable value to keep track of where you are in the dialogue. When the user clicks, add 1 to that value and load the next line of the dialogue.

  4. #4
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    Thanks! So the string and my drawn textbox can be hidden?

    Well, than I'll also have a look at this variable stuff

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    Hide an object by selecting Visibilty > Make invisible

    Variables (which are basically numbers stored in your computer) can be put into Counter objects or into the alterable values of an Active object. There should be plenty of examples explaining how to use them.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    Personally, if I were doing what you are, I would put the drawn textbox and string on a separate frame and insert a sub-application into your game frame. That way you have a separate frame to deal with the speech events and everything will be in one place.

    If you don't know what a sub-application is, then forget what I just said. Although it is more efficient, it may look overwhelmingly complicated to you and will not be worth it.

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    Once you've got to grips with the code you're using for the dialog you could also consider looking into the speech bubble object. You can set it's background, it's border, whether it has a drop shadow or not, text colour etc. Plus you can set it's width and it will automatically adjust it's height to fit the text you display in it.

  8. #8
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    @ Nick: Thanks, I tried the hide function and it worked. Although only with my drawn active object.. I gotta work on the variable thing. I knew how to work with them in Game Maker 7 (I quit working with it, since you would have to learn the script language to use all functions..)

    @ pinacoladaxb: I have no idea what a sub-application is. But what you're telling me sounds neat. To have everything in one place instead of in all my different frames I guess this means more tutorials for me :crazy:

    @TreeHugger: This extension sounds interesting. Got to download it right away!

    Thanks everybody for your support

  9. #9
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    I already got a new question: I have my first dialogue in a new frame, stored in an INI file. Has anyone the patience to give me a quick rundown how to integrate it into my game frame?

    Or how this sub-application thing works?

    Or perhaps how I integrate my speech string into the speech bubble?

  10. #10
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dialogue

    Quote Originally Posted by Mycale
    I have my first dialogue in a new frame, stored in an INI file. Has anyone the patience to give me a quick rundown how to integrate it into my game frame?
    Drop the same ini object into your game frame (drag it from the first frame to the game frame). When you want the dialog from it, set the current group, set the current item, then set the alterable string of your string object to the string of the item using the Ini Get String action (or simply Get String (Group - Item))
    See Popcorn's Ini tutorial is on the tutorials page for a better explanation.


    Quote Originally Posted by Mycale
    Or how this sub-application thing works?
    Sub-Apps allow you to put one frame into another. This can be from the same application or a different one. You can share global values and strings between the main app and the sub app. As pinacoladaxb said it may be a bit complicated for you at the mo. If your interested in finding out more, drop one in your frame, in it's properties go to the last tab, click help and that will bring up it's main page in the Help system.

    Quote Originally Posted by Mycale
    @TreeHugger: This extension sounds interesting. Got to download it right away!
    You can get it from the Bonus Extension Pack 1 (see link in right sidebar)

    Quote Originally Posted by Mycale
    Or perhaps how I integrate my speech string into the speech bubble?
    You'd integrate it exactly the same as the string object. Rather than setting the alterable string of the string object, you would set the speech objects text with the set text action

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Dialogue Box
    By Jibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th November 2011, 12:51 AM
  2. Please help with Dialogue box and enter key
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd September 2010, 02:39 PM
  3. Dialogue Question
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 16th July 2010, 03:40 AM
  4. Help with dialogue
    By Gummy in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 13th January 2010, 12:44 AM
  5. Dialogue
    By Gummy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th January 2010, 02:01 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
  •