kop9000's Recent Forum Activity

  • Perfect you did it, now to compress the code you can give a parameter to the function and use it to change the text, check the manual :

    https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/events/functions

    So. I was busy and had no time for my project. But now I am free again.

    I read the article on the link but I didn't understand anything at all. It says that parameters can be used as a variable and this is how I did it

    As a result, my text is printed at the same speed that is specified in the "dialog" I can't put a variable in the parameters

  • kop9000 you can just put it in a function...

    I added a function you can call whenever you need to show dialogue. In this case I'm positioning the dialogue box in relation to the player, but you can pass X and Y in the function if you prefer or have a fixed dialogue position.

    Also, I added an array with all dialogues and use the array X as a dialogue id for the elements that call dialogues.

    Just try the example and check the code. Use space to start dialogue or advance it.

    EDIT: I just read the bit about changing speed. You can do that passing the speed on the function if you want...

    Unfortunately, I can not fully see the project due to the fact that I have a free version of the program.

    Your project is very good, but it seems to me that that Tomycase project is much easier for me. sorry if I offended you with this

    I remind you that I would like to see in the Tomycase example an additional function that displays the full text when you press the space bar enter when the text was not preprinted

  • Here's another way of doing it...

    Hope this helps...

    Cheers!

    the option is good but it will be much more difficult to adapt it

    there will be many dialogues. lots of. and in order not to get confused, you need to do several text objects in order to separate dialogs, for example, when there is just a gameplay and the next dialogue will be in 20 minutes, you need to separate such dialogs. and then, you will always need some action to access this dialogue. And sometimes sometimes in one dialogue it may be that some text needs to be made slower, for example, surprise. "WHAT???" and similar effects.

    And here is the effect when you press the entter so as not to wait for the text to be printed out and display completely very cool looking. I would like Tomycase to add such an effect to my project since I don’t know how to do it

  • Perfect you did it, now to compress the code you can give a parameter to the function and use it to change the text, check the manual :

    https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/events/functions

    and even more possible? for example in 1 action?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The "Go" signal makes sence, but the function itself won't be enough to reset the text if you didn't add the correct events, did you make sure to reset Dialog.TextLen to 1 when triggering the function?

    all. I seem to understand you. I really haven't dropped it hahahahaha

    Now everything works, but now it remains to solve the second point, namely, to decide how to contain three actions in two or one so that there is no trash

  • I think you don't get what I'm explaining, nevermind, I get other stuff to do right now, cya later

    forgive me sometimes I do not understand English well. I live in another country

  • The "Go" signal makes sence, but the function itself won't be enough to reset the text if you didn't add the correct events, did you make sure to reset Dialog.TextLen to 1 when triggering the function?

    I didn’t dump anything. I made it so that he could print a new tex again, namely what is in the function

  • > you need to do some customisation here, add an event that reset the text

    Did you put an action that actually reset Dialog text? Also I'd need to see where you put that "Go" signal

  • Well of course, you need to do some customisation here, add an event that reset the text for example, you just asked for text that play a sound for each letter, now you need to adapt it to your needs

    I made all the settings but it does not work

    I previously attached the file, look at it

  • eg

    "Oh, hi."

    Then he should continue the dialogue after pressing "F" that is, new text

    "Why are you so excited? What happened?"

  • Depends of what you call "a first time", you have to be more specific

    Well, for the first time it worked, but the next text he doesn’t want to print after finishing printing the first text and pressing the "F" key

  • drive.google.com/file/d/1DazY6HhNMJOGOgUGk5IGkUXWDaHinLI4/view

    I detailed each conditions and actions, I also made two groups, one with the previous method which I don't recommand, and a second with the better method which allows you to fully control your text, have fun ~

    (be sure to not have both groups enabled when testing otherwise it will break)

    https://drive.google.com/open?id=1IPXihBzt4hwjFdRc-fUflZ0uHZOxh9V9

    there is a little problem

    1) after the first time he does not want to work a second or third or fourth time

    2) how would it fit in at least two or one action in order to only write the text and not to copy three actions each time?

kop9000's avatar

kop9000

Member since 4 Nov, 2015

Twitter
kop9000 has 3 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies