Updating 'Getting Started with Yarnspinner' for v1.03

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 28

  • @Boreality_
    @Boreality_  3 года назад

    MUCH better video from Twin-Stick, go check it out for a much more in-depth look at how yarnspinner actually works ruclips.net/video/CJu0ObGDQHY/видео.html

  • @fishbox385
    @fishbox385 3 года назад

    Thank you so much, i thought i had an error because yarn wasnt working but i just didnt watch a video on the current version. You just saved me a lot of trouble and time.

  • @chronos2669
    @chronos2669 4 года назад +4

    This is so amazing, thank you so much! That feeling of having my dreams saved by a generous programmer is why I continue to want to be a part of this amazing industry

  • @ryanhaight1226
    @ryanhaight1226 4 года назад +2

    THANK YOU, today you are my favorite person.

  • @AzraelCcs
    @AzraelCcs 4 года назад +3

    Thanks man!! This finally got me seeing the text!

  • @KickBotGame
    @KickBotGame 4 года назад +2

    Thanks for the video, it helped me a lot!

  • @blaster1567
    @blaster1567 3 года назад

    This has been in my recommended literally all day gamers

  • @GonUFO
    @GonUFO 3 года назад

    istg thank you SO much this video was massive

  • @ethan491
    @ethan491 4 года назад

    After some more finicking, this video helped me out a lot. Although, for some reason even after I followed the original tutorial and yours, the buttons aren't appearing after the text is finished running. I will try to fix it by myself but I figured I would comment in case you had an idea of how to fix this.

  • @daynightstudio4210
    @daynightstudio4210 4 года назад

    Cool video, a clean way in which I found, was to create an empty gameObject, then create a canvas and load Dialogue Runner, Dialogue Ui and In Memory Variables; You can also use TextMeshPro instead of text to give it a cleaner look.

  • @maxkuzniar2670
    @maxkuzniar2670 4 года назад +4

    I'm so glad I found your video! I was so lost with the differences between their video and the new update. Did you ever figure out what was making the text disappear after you selected one of the options and it finished printing?

    • @Boreality_
      @Boreality_  4 года назад +2

      Yeah, on the list of triggers at 5:55, On Line Finish Displaying (), its set to Mark Line Complete. Which is entirely responsible for that effect. Trying out some stuff I don't think there is an easy solution. If you really need it to work, i'd say try to customize the DialogueUI script code, but an easier solution i've been working with is shortcuts within the .yarn file.
      Formatted like
      Hey, are you talking to me?
      -> Thats right
      It automatically presents the 'option' to press 'thats right' once 'hey' finishes displaying, meaning it doesnt skip to the next line b4 you press it. You can have multiple of these in 1 node. I'd recommend looking at the yarnspinner.dev website and looking at shortcuts. Also there is a yarnspinner slack where lots of other peeps are, both ppl working on it and people trying to figure out how to use it. DM the yarnspinner twitter about it, otherwise not sure how to get in
      more examples of shortcuts
      You know who I am right?
      ->I've heard of you
      -> Vaguely
      Then you should know your in a lot of danger right now, grab your trash lets go!
      -> Nah
      ...whaT????
      There is a slight problem that because of these you can really use shortcuts as normally intended, they are more line breakers now lmao

    • @maxkuzniar2670
      @maxkuzniar2670 4 года назад +1

      Awesome, thanks for the help! I'll mess around with it. I'm not the best at coding but if I have to learn the code for it, I'll suck it up lol

    • @eulen-mensch
      @eulen-mensch 4 года назад +1

      In case someone else is looking for a solution: Yarnspinner issues the stop command by default at the end of a dialogue. To make it wait before closing you need to either make a continue button that manually stops the dialogue or put in the command at the end of your dialogue/where the dialogue usually exits in the .yarn file to make it wait for x seconds before exiting.

  • @findsalim
    @findsalim 4 года назад +3

    hello, please how do i move the speech bubble to the character speaking?

    • @Boreality_
      @Boreality_  4 года назад +2

      oof yeah thats kinda tough. Idk how you'd make every element in that system but I can give some relevant resources:
      having the speech bubble be a "physical" gameobject that follows the camera around: ruclips.net/video/BLfNP4Sc_iA/видео.html (last 4th of video)
      The official website touches on having character names before the text as ways to tell who is talking: yarnspinner.dev/docs/syntax/
      while this is in a different engine, there is similar logic which already exists in yarnspinner and that you can apply to your own project: ruclips.net/video/I4z5aAg09bM/видео.html
      Sorry I can't provide more, i'm personally not using a bubble-over-character based system so I haven't touched the subject. Hope this helps somewhat!

  • @Nyanyashadow
    @Nyanyashadow 4 года назад +2

    As the user TECH& TOM mentioned before me, I also am having trouble actually importing the yarn file into unity.. when I import it, it does not look the way I see it on your screen with the blue cube, uinstead it looks like a small blank sheet of paper, and I am unable to put it into the yarn scripts section in Dialogue Runner. Do you have an idea as to how to fix this?

    • @Boreality_
      @Boreality_  4 года назад +1

      oooooooooooh ok yeah that makes sense. It basically means that there is a logic error or syntax error within the yarn file. My debugging solution is usually: While selecting the wack yarn file, check the inspector to see what line of it the program has a problem with. Then open the .yarn file using visual studio, and identify what line its talking about. With the knowledge that something is wrong in that line, go back to the yarn editor and try out some different ways to achieve similar dialogue.
      one common problem I found is shortcuts get messed up if you don't indent them properly:
      ----------------------------------
      Welcome
      ->Hi
      ->Bye
      x dont do this
      -----------------------------
      Welcome
      ->Hi
      ->Bye
      Aw so soon?
      ->Yep
      Like this
      -----------------------
      Hopefully thatll fix it, but otherwise look at yarnspinner.dev for documentation on syntax and formatting. And if that doesnt work last resort is to just brute force changes. Hope that helps!

    • @techtom2171
      @techtom2171 4 года назад

      the day i asked i solved it too..was too easy save it as yarn file than in dialogue runner importer Field set the size according to the scripts you have a feild will open then click on the arrwo next to the field and select the yarn scrupt you want to load thats all..the drag and drop shit is over..

    • @Nyanyashadow
      @Nyanyashadow 4 года назад

      @@Boreality_ Thanks, that helped. Apparently it did not like me making one of my words bold! I have another question now though, at around 6:30 in the video you mention to put MarkDialogueComplete() in the On Line Finish Displaying. That function is completely missing for me, why is that?

    • @techtom2171
      @techtom2171 4 года назад

      and also don't ever add any localizations after you import the yarn script in uinty then only you can drag it or else you just have to do what i said above to load the script..

    • @techtom2171
      @techtom2171 4 года назад

      @@Nyanyashadow well you must load the dilogue ui for that function

  • @TheRisingSun7
    @TheRisingSun7 4 года назад

    Do you know how to pause and wait for input between each line of text? Like when the entire sentence has been displayed wait for mouse click to display the next one.

  • @techtom2171
    @techtom2171 4 года назад

    Tell me how to import yarn script in unity now and how to apply it to the yarn program importer setting..for it to load them???

    • @Boreality_
      @Boreality_  4 года назад

      okok I understand what you mean now; I gave a awnser in vv's comment, hope it helps

    • @techtom2171
      @techtom2171 4 года назад

      @@Boreality_ a new question for you bro how do you think i can make a stats bar to watch my stats using variables in yarn because when i load two scripts to dialogue runner it doesn't work at all..

    • @techtom2171
      @techtom2171 4 года назад

      @@Boreality_ i can also create stats menu in another scene then it would work but do you think the variables will be global in every scene..so if i change it in one the variables in other scene will change too like if i made a choice that increase my strength and updates stat in scene one will i be able to see that updated stats in scene 2 which is my stat menu..and also when i try to show stats it won't display as paragraph and wait it directly just shows me all stats on one line which means it prints one stat and erases that to print the other stat what do you think is the problem whereas in the story it doesn't print all of the lines in my para on just one line..