Twine to Unity (Easy Branching Dialogue System)

  Рет қаралды 21,388

Matthew Ventures

Matthew Ventures

Күн бұрын

Пікірлер: 71
@matthewventures
@matthewventures 3 жыл бұрын
Entweedle changed their export format since writing this video so please refer to this code for the parsing method: pastebin.com/myyAKsq6
@matthewventures
@matthewventures 4 жыл бұрын
New to coding and maybe a little stuck implementing this system? Here is a step-by-step breakdown of how to implement this code into your game: kzbin.info/www/bejne/rmWTd5Wbqtpmh7c
@DradthemercenaryXV
@DradthemercenaryXV 4 жыл бұрын
Dude... you deserve a fuckin medal for being this much of a lifesaver. Omg. I seriously cannot believe you took the trouble to help this much
@matthewventures
@matthewventures 4 жыл бұрын
Thank you, it means alot
@Yagid
@Yagid 10 ай бұрын
9:13 XDDD "Method 'Kill All Children', which is a little violent but it gets the job done"
@attilaramazanovickoyugoz6762
@attilaramazanovickoyugoz6762 3 жыл бұрын
If this video didnt exist, than i would settle with a basic question response system with my non story driven game. But this will be an excellent addition thank you so much!
@MarxyBasement
@MarxyBasement 4 жыл бұрын
thank god this exists this is exactly what i wanted
@yannickplante3122
@yannickplante3122 3 жыл бұрын
Thank you man, that was really useful. Simply translated this into GDScript and all works fine
@BigBossKeruda
@BigBossKeruda 4 жыл бұрын
hi ! interesting of your tutorial, it was really cool. please post another how to create interactive film like bandersnatch on the unity !!
@202x2
@202x2 3 жыл бұрын
Thank you so much for these videos and code! Is there a license you make these available under for use in projects? I hope this makes sense I’m new to this. Any recommendations on how to give credit to you in projects?
@matthewventures
@matthewventures 3 жыл бұрын
It's free, no license needed. You can put me in the credits screen of your game if you would like.
@202x2
@202x2 3 жыл бұрын
@@matthewventures thank you!
@TheGeekRex
@TheGeekRex 2 жыл бұрын
Hey there! This is a really great tool for the game I'm creating, I just have one question. Harlowe has an "if" conditional system that can show options only if you've visited other passages before, or certain variables are set. Does your code implement this system, or is that something I'll have to figure out for myself? Thanks for the guide and resources!
@matthewventures
@matthewventures 2 жыл бұрын
You'll have to do that on your own with the tags
@YNSGamingHD
@YNSGamingHD 4 жыл бұрын
Hi! Well this tutorial is very useful but can you help me abit with how i add the scripts to the txt file? I just started unity and i can't figure out how to do that with my story 😑
@matthewventures
@matthewventures 4 жыл бұрын
Here is a step-by-step guide: kzbin.info/www/bejne/rmWTd5Wbqtpmh7c
@durrium
@durrium 3 жыл бұрын
Hey again! How would i act on the tweedle messages in unity? Is ot even possible to link it to a quest of some sort? Thanks!
@matthewventures
@matthewventures 3 жыл бұрын
Sure do that all in the tag system
@durrium
@durrium 3 жыл бұрын
@@matthewventures Cool! Looking into it now! :D
@matthewventures
@matthewventures 3 жыл бұрын
Awesome, basically what I would do is I just have a tag that has a certain substring for each Quest and then I read the tag when I process the new nose to determine if a certain Quest special action needs to occur
@durrium
@durrium 3 жыл бұрын
@@matthewventures Thanks alot!
@longuemire748
@longuemire748 2 жыл бұрын
Escuse me, but would you know if it is possible to introduce variables in the text for a character to receive or validate a quest and receive a reward for example (xp, gold, weapon, other quest, etc).
@matthewventures
@matthewventures 2 жыл бұрын
Yes for sure, and the games where I've used the system I have done exactly that. Basically the tag section can be used to hold any information you would like. For example 'gold=10' could be parsed to interpret that ten gold should be given to the player.
@longuemire748
@longuemire748 2 жыл бұрын
@@matthewventures Thank you :)
@kwesichristian5517
@kwesichristian5517 4 жыл бұрын
Awesome. using this for a 2d sprite game so this helps out. thanks
@rosh6369
@rosh6369 4 жыл бұрын
5:54 hahaha that was funny. Thank you so much for this video! I learned a lot!
@MasterKill34
@MasterKill34 3 жыл бұрын
Hi Matthew, I wanted to check the source code of your pipeline, but I only found the new parsing method for the twine text on your site. Are the links broken?
@henryli4941
@henryli4941 4 жыл бұрын
Anyone tried to reproduce slow typer? I’m very much stuck on the begin function...
@Searchinmano
@Searchinmano 2 жыл бұрын
So in Twine you can only give options that bring the reader to another node? I hoped I could write a dialogue and have the reader choose what to say and progress in the dialogue on the same page, with new lines appearing as he proceeds. That's not possible from what I get, is it?
@matthewventures
@matthewventures 2 жыл бұрын
How you display the text is your choice. You have complete control on how you display the lines.
@xanisdramatic
@xanisdramatic 3 жыл бұрын
I came here from the walking dead game, I stayed for the genuinely good info I got. Great video!
@matthewventures
@matthewventures 4 жыл бұрын
Yes, it's that easy!
@BlueGooGames
@BlueGooGames 3 жыл бұрын
Super cool. I’m using pixelcrushers dialogue system that has twine support. How would you combine this with the google sheets translation from your other video? :)
@dietjeffrey
@dietjeffrey 2 жыл бұрын
Did you end up using Entweedle or Twison? And why?
@kellypenaranda9465
@kellypenaranda9465 3 жыл бұрын
Great video! I have a question...If I want to create an oculus quest game in unity, the twine system will work correctly too?
@matthewventures
@matthewventures 3 жыл бұрын
Yes it will!
@MrLefteris3000
@MrLefteris3000 4 ай бұрын
Help! Entweedle doesn't export it plays exactly like the others like an html page
@matthewventures
@matthewventures 4 ай бұрын
Sorry not sure
@MrLefteris3000
@MrLefteris3000 4 ай бұрын
@@matthewventures it’s okay I will figure it out, no matter which one I set as a default when I hit play it plays normally, I tried twison too… don’t know why thanks for the quick reply tho!
@MrLefteris3000
@MrLefteris3000 4 ай бұрын
@@matthewventures all good the hi in the new one is a bit weird. But I found it!
@matthewventures
@matthewventures 4 ай бұрын
@@MrLefteris3000 Wonderful. Could you please explain how you did it so that other people will know?
@MrLefteris3000
@MrLefteris3000 4 ай бұрын
@@matthewventures yes! I was setting entweedle as the default but you also need to go to the top-> story -> Details -> and here you have to change the format to what you want.
@howchen8529
@howchen8529 3 жыл бұрын
Great tutorial! Although is it possible to keep track of the speaker?
@matthewventures
@matthewventures 3 жыл бұрын
Yeah I do that with the tags system
@BanXxX69
@BanXxX69 3 жыл бұрын
My Twine export was great at first. Now I just added another note and wanted to re-export it (still entweedle and all correct). But now it shows "Position" and other information after the title of every node and it won't work.... What happened? Any idea?
@matthewventures
@matthewventures 3 жыл бұрын
Yeah, we ran into the same issue the other day. Looks like they updated the format to add some more information. I had to rewrite a section the code. But haven't updated my website with a new code yet. I'll try to get to it today and then let you know
@BanXxX69
@BanXxX69 3 жыл бұрын
@@matthewventures oohh - that was I was afraid of. Lol, thank you so much for your fast reply. If e re-export it and try to make changes to make it work it doesnt. BUT, on the one I have already exported, I can add new nodes by copy-pasting others in the textfile (of course its not the way to go but if anyone reads this and has his final assignment in 3 weeks like I do thats the way to try😂👍🏽)
@matthewventures
@matthewventures 3 жыл бұрын
@@BanXxX69 Here: pastebin.com/myyAKsq6
@brilliant_AI
@brilliant_AI 4 жыл бұрын
i almost new in this, can you teach us how to use these scripts
@matthewventures
@matthewventures 4 жыл бұрын
Here is a step-by-step guide: kzbin.info/www/bejne/rmWTd5Wbqtpmh7c
@brilliant_AI
@brilliant_AI 4 жыл бұрын
@@matthewventures MY GOD THANKS DUDE REALLY THANKS you're my savior
@BanXxX69
@BanXxX69 3 жыл бұрын
I had the exact same question and I'm so glad you've already asked it because I'm doing it for a school project and I need the answer really fast :D :D
@BanXxX69
@BanXxX69 3 жыл бұрын
@@matthewventures Please tag this comment because I was in the same position and there are sure others - that'd be great! :-) Anyway, thank you so much for your support! :-)
@mnicodev
@mnicodev 3 жыл бұрын
Hi Matthew, any preference between ink and twine? I have doubts about what tool to use. Have you used ink?.
@matthewventures
@matthewventures 3 жыл бұрын
I personally think that with branching narratives, particularly where you can get pretty deep in the branches, it's necessary to have a guy which shows that branching. Ink does not have that. To my understanding at least. The main complaint with twine, was that it didn't have an easy to export format. But it's fairly easy to write code to convert the twine document and so that's what I did. If you're working in unity there are some pretty good paid assets, for branching dialogue. I used dialoguer which is good but not great. I also used Google sheets for a project. But ultimately I think this is the best approach I have seen.
@mnicodev
@mnicodev 3 жыл бұрын
@@matthewventures thanks for the explanation! Yes I will use unity and I was thinking to use some kind of tool like twine or ink to help me with the dialogue. But definitely I'm gonna check the alternatives that you told me about. So thanks!
@gibkitt
@gibkitt 4 жыл бұрын
Struggling with the delegates and not having the slowtyper class. :o
@matthewventures
@matthewventures 4 жыл бұрын
What about the delegates could I clarify? The slow typer is unnecessary you can just set the text to mediately display a whatever you'd like
@gibkitt
@gibkitt 4 жыл бұрын
​@@matthewventures No its just that I dont know how to work with them, so that is on me. Maybe include a simple output method to make this tutorial work with out your Slowtyper class? Just an idea to improve this tut :) Great job and thanks for this anyway!
@matthewventures
@matthewventures 4 жыл бұрын
@@gibkitt Here is a step-by-step guide: kzbin.info/www/bejne/rmWTd5Wbqtpmh7c
@isse5611
@isse5611 4 жыл бұрын
Tried to add the Entweedle story format and it says (Timeout) :(
@matthewventures
@matthewventures 4 жыл бұрын
I'm not sure what caused that, the characters may have been entered incorrectly
@Nyanyashadow
@Nyanyashadow 4 жыл бұрын
You may have to add an "s" after http, that's what fixed it for me.
@kevinwilliam6383
@kevinwilliam6383 4 жыл бұрын
i wanna do it by my self :[
@matthewventures
@matthewventures 4 жыл бұрын
Here is a step-by-step guide: kzbin.info/www/bejne/rmWTd5Wbqtpmh7c
@recaro3504
@recaro3504 4 жыл бұрын
What if you dont have Entweedle?
@matthewventures
@matthewventures 4 жыл бұрын
The guide includes the steps you need in order to paste in a certain URL that will allow you to use the entry to export format. You just need to paste in that URL in order to add the news story format. It's free
@recaro3504
@recaro3504 4 жыл бұрын
@@matthewventures Never mind I got it thanks.
@brutal6129
@brutal6129 4 жыл бұрын
Seems that unreal engine loses again
@matthewventures
@matthewventures 4 жыл бұрын
Hahaha, yes unfortunately that does seem to be the trend. However I am currently doing projects in Unreal Engine to prepare for my fortnite internship so and learning to love in what ways unreal is really strong. While unreal doesn't have a great branch and I like editor, you could similarly import the twine document as I showed and parcel using the C plus plus equivalent of the C sharp code that I created.
Creating a Flexible Dialogue System With Unity 2D
10:17
Semag Games
Рет қаралды 74 М.
How To Build An Event System in Unity
8:01
Game Dev Guide
Рет қаралды 412 М.
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 5 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 103 МЛН
Unity Dialogue System Choices
24:17
Restful Coder
Рет қаралды 21 М.
How to speak like the 1% elite
10:30
Joseph Tsar
Рет қаралды 14 М.
Unity Dialogue System w/ ScriptableObjects - 2019 Update
16:43
Restful Coder
Рет қаралды 30 М.
Get a game dev job in 3 steps
16:11
Matthew Ventures
Рет қаралды 666
This math problem lost me my job (Affine Projections)
8:12
Matthew Ventures
Рет қаралды 680
How to make a Dialogue System with Unity
9:40
Fluffy GameDev
Рет қаралды 53 М.
Interactive Storytelling - Intro to Twine
7:00
Mighty Coconut
Рет қаралды 215 М.
COOL DIALOG SYSTEM - EASY UNITY AND C# TUTORIAL
11:24
Blackthornprod
Рет қаралды 198 М.
How to make a Dialogue System with Choices in Unity2D | Unity + Ink tutorial
29:45
Shaped by Rain Studios
Рет қаралды 144 М.
Life Update: New Year, New Me
12:09
Matthew Ventures
Рет қаралды 297
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН