Video není dostupné.
Omlouváme se.

Making Dialogue with Inky and Unity Tutorial

Sdílet
Vložit
  • čas přidán 11. 06. 2020
  • Ever wonder how to convey your characters' thoughts or have your game talk to your player? In this tutorial, we take a look into a script tool called Inky from Inklestudios and write up a small dialogue for Phoenix wright in Unity!
    **Resources**
    Ink by Inklestudios: www.inklestudi...
    Brackey's Dialogue System: • How to make a Dialogue...
    Github: github.com/Ris...
    Join the discord group: / discord
    Catch me Live on Twitch: / the_phantom3
    *Disclaimer: The characters and music involved in this level do not belong to me. All of them belong to their respectful owner(s). Usually Nintendo.

Komentáře • 34

  • @fearian
    @fearian Před 2 lety +7

    Thanks for this- very clear walkthrough of an Ink setup in unity!

  • @BagelMaster
    @BagelMaster Před 4 lety +13

    Great tutorial. Btw, not sure if I missed it, but what did you put in your "Selectable" script? You add it to the choice game objects at 10:38

    • @thephantomgamedesigns3121
      @thephantomgamedesigns3121  Před 4 lety +7

      In the selectable script, essentially it acts like a small temporarily data container with a method called Decide() which refers back to the SetDecision() function underneath. This is a way to dynamically create and attach something to the button. Honestly, it can be done better and maybe more properly with ScriptableObjects. In the script, it just looks like this:
      public class Selectable : MonoBehaviour
      {
      public object element;
      public void Decide()
      {
      DialogueManager.SetDecision(element);
      }
      }
      the object element is created with the intention to store the actual choice option object there. Since its an object types, it can store other datatypes as well like int, string, etc. If the person selects that, it will pass that stored choice in element back to the Dialogue Manager via SetDecision().
      Hope this helps!

  • @simulation3120
    @simulation3120 Před 4 lety +5

    Much appreciated!

  • @KeyDay009
    @KeyDay009 Před rokem

    Thank you for the video, this was a very simple tutorial and was very easy to follow.

  • @spacedoggames5335
    @spacedoggames5335 Před 3 lety +5

    Mind if I ask if you have found a solution to this problem...
    I have a global VAR in ink that if true reveals more questions.
    The idea is to achieve something in the game and when returning to an NPC now have that new questions available.
    It works if the story run from the beginning. But not so well if I load a story progress.
    What I'm looking for is away of refreshing the current load of a stroy to be able to access any new questions.
    Does this make sense?
    Thanks for you time.
    And for sharing your video.

  • @dfang4482
    @dfang4482 Před 3 lety +2

    Thank you! This is a great tutorial!

  • @DavidsUternal
    @DavidsUternal Před 2 lety +2

    Great tutorial, probably one of my favorites ever, but I have a problem. Unity keeps throwing "NullReferenceException: Object reference not set to an instance of an object". The only difference between my script and yours is mine has no reference to the animations, otherwise it's copy paste. I'm a programming noob, so maybe it's simple, but I've looked it up and can't find the issue
    Edit: Nevermind, I fixed my issue. For anyone in the same situation make sure your ink fine is compiled into a text asset (I thought turning it into a json did this already but for some reason doing it in unity instead is the only thing that worked. Again wonderful tutorial exactly what I wanted

  • @AshishKumar-kv1jf
    @AshishKumar-kv1jf Před rokem

    "Inky knows those are comment" - I am not afraid of mass surveillance but THAT SCARES ME

  • @dreamisover9813
    @dreamisover9813 Před 4 lety +3

    Thanks, good tutorial :)

  • @Hari983
    @Hari983 Před 2 měsíci

    Great video thanks!

  • @jamaicaalberto2920
    @jamaicaalberto2920 Před 2 lety

    this is amazing thank you!

  • @coderaven1107
    @coderaven1107 Před 2 lety

    Great vid, just earned yourself a sub :)

  • @thedude110
    @thedude110 Před 3 lety +2

    Great tutorial, would love to see you teaching Yarn Spinner too =) there aren't any good tutorials out there about Yarne

  • @thewomanizer3035
    @thewomanizer3035 Před 3 lety

    Es genial, deberias de hacer mas

  • @lisasaghia8653
    @lisasaghia8653 Před 2 lety

    and if i have more actor of my story? how i connect my response with a actor with the dialogue of another actor?

  • @y01cu_yt
    @y01cu_yt Před 2 lety

    Thanks!

  • @salfas7375
    @salfas7375 Před 2 lety

    can u explain how to setup the showchoices?
    after next dialogue it doesn't show up anymore
    and how to move a side duplicate button?

  • @md.sabbirahmed2700
    @md.sabbirahmed2700 Před 3 lety +3

    How do i start making a vn in unity? Is the learning curve too hard?

    • @thephantomgamedesigns3121
      @thephantomgamedesigns3121  Před 3 lety +3

      It really depends on the scope of your vn idea. Have to think it really through and what exactly you want to put into the visual novel game. Personally, I don't think its too hard but I can see it being tricky with syncing up animation and doing some effects on time.
      There may be some beginner or easy basic visual novel series out there that you can follow. Use it as a base and try to expand upon it to your liking. Hope this helps.

    • @lazykid9167
      @lazykid9167 Před 3 lety

      I think you should just buy naninovel from the assetstore and go on with your game. not cheap, but its worth it .

    • @ProkerKusaka
      @ProkerKusaka Před 3 lety +1

      Check for Fungus in assets store

  • @sayoneenandi2612
    @sayoneenandi2612 Před 3 lety +1

    How do I put in a point system using inky?

  • @ZENAKUamv
    @ZENAKUamv Před 3 lety

    In the c# script is there a way to take the index of the line from the dialogue? Or any other way to save it?

  • @MrYannoskov
    @MrYannoskov Před 3 lety

    Hey, very good tutorial, but what did you put in your CharacterScript.cs ?

    • @testingno7199
      @testingno7199 Před 3 lety

      you can look at the script on github. The link is in the description and the file is Ink-with-Unity-2019.3/Assets/CharacterScript.cs

  • @zenosyeetgalvus
    @zenosyeetgalvus Před rokem

    What about conditionals or stat checks

  • @chris.davidoff
    @chris.davidoff Před 3 lety

    Is there any way to enumerate tags so that I don't have to parse a string each time?

  • @Nick77ab2
    @Nick77ab2 Před rokem +1

    afaik your AdvanceFromDecision is never reached.

  • @tramsroy
    @tramsroy Před rokem

    7;25, you just jump into a script without explaining what it is or how to get it...

  • @Ksu8O8
    @Ksu8O8 Před 3 lety

    Does it work with 3d?

  • @KirbyKidG
    @KirbyKidG Před 3 lety

    Yo can you recreate the day system of pikmin in unity

  • @usagikidd
    @usagikidd Před rokem

    If anyone doesn't want to waste their time instantiating buttons and destroying them, simply remove the listener, or else inky will complain nonstop
    temp.GetComponent().onClick.RemoveAllListeners();