How do add function to JSON Dialogue

0 favourites
  • 5 posts
From the Asset Store
Customize the animation of character when item changed
  • hello, I followed and completed the JSON dialogue tutorial by Laura. now that I'm trying to expand it there are some that I do not know how to figure

    one is how to speed up and slow down typing speed in the so for example "hi Jacob <speed 5> how are you doing <speed 1>,

    two would be how to wait function where a character just does types for a set amount of time,

    how to check conditional branches like if, true or false (I could do this with events just seeing it is possible) and

    most importantly how to get the question to expand past the first line of the answer dialog, this is something that you can see for yourself by downloading the last file of the turmoil and adding another dialog. it won't read it and just skip it completely if tried so many things

    Tagged:

  • JSON is just a data storage format, it doesn't have any of the features you are asking. It only stores text and numbers. So everything should be programmed with events.

    For example, you can add <speed> tags to the text, but you will need to parse them using text expressions (find, tokenat etc.) and program events which will output the text at different speeds.

    how to wait function where a character just does types for a set amount of time

    Again, this is not a feature of JSON. You can add a "wait" key to JSON, but you will need an event that reads this key and waits for the specified amount of seconds before proceeding to the next line.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000 Ok sorry I should have better claimed what I was trying to achieve what you're saying I just can't figure out how. oh and for any new people, I fixed the last question problem. if you need to know how let me know

  • Here is an example of custom typewriter effect with variable speed

    dropbox.com/scl/fi/z7fyy3og8uwbykuzj9x76/Typewriter_custom_variable_speed.c3p

  • ok i can work with this thank you very much

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)