Creating Interactive Game Conversations in Unity (Free Dialogue Tool)
HTML-код
- Опубликовано: 19 июн 2024
- A Unity Tool for creating and adding conversations into your games. Features include an editor window for creating and editing conversations. Pre-made UI prefab, so no UI programming is required. Simple Data Structure, available if you want to write your own custom UI.
➡️Dialogue System: bit.ly/FreeDialogueSystem
➡️Patreon Project: / 90251716
🎁 Get OVER 200+ Scripts, Projects and premium content on my PATREON HERE:
➡️bit.ly/SpeedTutorPatreon
·························································································
🔥Topcashback: bit.ly/TopcashbackReferral
🔥 INSANE UNITY SAVINGS: bit.ly/UnitySalesHub
🕹️Unity Sales: bit.ly/UnitySalesHub
🕹️SpeedTutor Unity Store: bit.ly/STUnityStorePuzzlePacks
🕹️Quick-Start Bundle: bit.ly/UnityQuickStartBundle
🕹️Weekly Publisher Sale (+FREE Asset): bit.ly/WeeklyPublisherSale
🕹️Unity New Release Discount Sale: prf.hn/l/BdvEmg3
🔥 FANATICAL GAMEDEV BUNDLES: bit.ly/FanaticalGameDevBundles
🕹️Fanatical Bundle Savings (+20% OFF): bit.ly/FanaticalProgrammersDa...
🕹️3D Low Poly Game Assets Bundle: bit.ly/FanaticalLowPolyAssets...
🕹️Toon World 3D Game Assets Bundle: bit.ly/FanaticalToonWorld3DAs...
🕹️Unity-Unreal-Godot eLearning Bundle: bit.ly/MassiveUnityCodingGame...
🕹️Build Your Own Unity Mega Assets Bundle: bit.ly/UnityGameAssetsBundle
🔥 INSANE HUMBLE SAVINGS: bit.ly/HumbleBundleDeals
🕹️Synty Humble Bundle: bit.ly/SyntyRemixSept23Humble...
🕹️$1,500 Sound Pack Bundle: bit.ly/OdsseySoundHumbleBundle
🕹️Godot Tutorial Bundle: bit.ly/Godot4TutorialBundle
🔥Synty Discounts & Savings: bit.ly/SyntyLowPolyAssets
🔥 UNITY SUBSCRIPTIONS:
🕹️Unity Plus: bit.ly/UnityPlusDeals
🕹️Unity Pro: bit.ly/UnityProDeals
·························································································
💰BIG DISCOUNTS on my website, for my UNITY ASSETS:
➡️www.speed-tutor.com
💬Join the Community Discord:
➡️ / discord
💝 Make a donation to the channel:
➡️www.paypal.me/speedtutor
·························································································
00:00 Intro
00:36 Installation
01:13 Creating a basic conversation
03:42 UI Canvas and conversation manager
04:58 Starting or scripting the conversation
·························································································
⬇️ SpeedTutor Puzzle Assets:
🧩Unity Store: bit.ly/STUnityStorePuzzlePacks
🧩My Website Discounts: www.speed-tutor.com/
⬇️ SpeedTutor Best Selling Assets:
🧩Adventure Puzzle Kit: bit.ly/STAdventurePuzzleKit
🧩 Note & Letter System: bit.ly/STNoteLetterSystem
🧩Examine System: bit.ly/STExamineSystem
🧩Keypad System: bit.ly/STKeypadSystem
⬇️SpeedTutor Model Packs:
🧩Unity Store: bit.ly/STUnityStoreModelPacks
🧩My Website Discounts: www.speed-tutor.com/
My Assets include: Gas Mask, Flashlight, Generator, Themed Key , Padlock, Phone, Chess Puzzle, Lever, Valve Puzzle, Fuse Box & Safe Systems. Cardboard, Debris, Massive Models and more!
························································································
⭐ Connect with me:
💬| Discord: / discord
🐦| Twitter: / speedtutor
📱 | Facebook: / speedtutoruk
🖥 | Website: www.speed-tutor.com
·······················································································
#SpeedTutor #Unity #Dialogue
Another awesome little asset that is COMPLETELY FREE! :D Make sure to check out the free publisher assets for this week! :) Thanks everyone! :D
🔥FANATICAL GAMEDEV BUNDLES: bit.ly/FanaticalGameDevBundles
🔥UNITY SALES: bit.ly/UnitySalesHub
🔥HUMBLE BUNDLES: bit.ly/HumbleBundleDeals
My favorite part about Unity is how many free tools there are on the Asset store that can help speed up development
I agree, it's such a great community. The developers are really what makes it so special! Thanks for watching though! :)
Cara, é simplesmente inacreditavel o que você criou. Eu nao sou muito fã de baixar coisas prontas e por isso estava procurando aulas sobre esse assunto, mas o que eu encontrei foi uma nova meta a ser alcançada: fazer sistemas tão bem quanto você. Parabens, te desejo todo sucesso do mundo.
I really appreciate that and good luck to you in your game making! :D
This is a very cool Asset, Thank You SpeedTutor!
You're very welcome, Alec! :) Anything you'll use it for?
@@SpeedTutor I don't have a particular use for it now, but surely in the future I will (because it fits many game genres that use any type of storytelling, (where there are Characters and NPCs, there are Conversations 😆))
Have a good day
Thanks man, you too! :)
Amazing I was looking for something like this ;)
That's awesome, I hope you find it useful! :)
Nice share here I'll definitely have to give this one a try.
You're very welcome! :D I hope you find it useful.
Tahnk you for such a nice tutorial
You're very welcome, what are you creating?
Thats cool dude ❤
I hope it helped! :)
There's tons of dialogue system out there, but my preference are Fungus or Ink.
Awesome, thanks for the suggestions. Are those free options? I saw one called YarnSpinner too!
@@SpeedTutorYes, it's FOSS 🔥
That's what we love! :)
Thankyouuu!!
You're very welcome, thanks for checking this out! :D
can yo make more video`s about this plugin, how about when you go away, and when you dont use mouse to continue the conversation?
ran into a small issue trying this, if you have a script that locks the mouse cursor you won't be able to use the options or continue the dialogue so you might need to remove anything that restricts the cursor like:
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
other than that it still works just fine
Good work around! Thanks for sharing.
Hello! how do I make the "F" input more responsive? I have to click it multiple times for it to work.
is there anyway to fix this?
Have a nice day my friend.
Thanks for checking this out, my friend! :D
Thanks for the free asset and tut. I tried to use this during a jam but ya, when I copied the NPC to make another one it broke completely. Even when I re-did everything I couldnt get it to work again so went with a different solution. However, learned a lot from poking around your asset.
No worries at all. Great work on learning new stuff, what did you use as an alternative?
@@SpeedTutor The problem seemed to be with the ConversationManager. When I copied the first conversation game object, the manager would always be null after that. I removed Conversation.Instance and added a manager ref to each conversation. That did it. This was for a jam so I just needed something working but I'll go through it again later. Just some hard coded work arounds.
Hey, thanks for making this video. This asset helped me a alot. I just had one issue, increasing the font size. Well, for the dailogue speech, it was easy to just change values in the prefab but I couldnt find any option/ way out to increase font size of text placed in the options. Could you help me with it if you have any idea
Sadly I don't have any good advice on that for you but you could possibly message the developer about that? :)
hi do you know how to make game like talking tom ? I need to understand how this game working listening and repeating after me
i have a small issue. the start conversation script is missing. i cannot add it to my object, its just not there when i search for it
It is a very good video however i have difficulties with a dialogue that concerns two NPCs. When I add another NPC and I follow the steps to interact with it, I can no longer interact with both. Can you help me?
Why i can`t click on options?
Nothing is showinh when i open dialogue editor on Window. It just blank 😢
Can it applies speech recognition ? Or can we turn the dialogue into voice dialogue ?
I'm not sure about that one, unless it specifies in the description. :)
Everything works fine when I have just one NPC and one conversation. But when I tried using two different conversations on 2 different NPCs in the same scene it wouldn’t work. Any suggestions?
i had the same problem tried to fix it but i cant. Seems like you aren't allowed to reuse the same prefab
As far as the reviews mentioned, you can't reuse the same prefab annoyingly.
@@satirical3351 I fixed the problem by using only one canvas where all the different conversations are been displayed
after importing, when i go window --> dialogueEditor, i have empty black panel. it doesn't show the root speech node, why ? thank you!
It might be in a Unity version not supported by the asset? I'm not really sure about that one :(
How to solve pls.MissingComponentException: There is no 'Renderer' attached to the "DialogueTrigger" game object, but a script is trying to access it.
You probably need to add a Renderer to the game object "DialogueTrigger". Or your script needs to check if the component is attached before using it.
Just add a new component and type in "Renderer" - For example, mesh renderer. I hope that helps :)
You make such a beautiful tutorial. Is there a way for me to end the the dialogue for the character without using mouse?
You could probably have it on a key press if you programmed that?
Help whenever i write scripts the NPCConvo thing doesnt pop up and it gives me errors (sorry the the poor english btw)
What is the error?
@@SpeedTutor whenever i reference the NPCconversation script in the script it gives me a error.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DialogueEditor;
public class ConversationStarter : MonoBehaviour
{
[SerializerField] private NPCConversation myConversation;
private void OnTriggerStay(Collider other)
{
if (other.CompareTag("Player"))
{
if(Input.GetKeyDown(KeyCode.F))
{
ConversationManager.Instance.StartConversation(myConversation);
}
}
}
}
what is wrong it doesnt work
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DialogueEditor;
public class ConversationStarter : MonoBehaviour
{
[SerializeField] private NPCConversation myConversation;
private void OnTriggerStay(Collider other)
{
if (other.CompareTag("Player"))
{
if (Input.GetKeyDown(KeyCode.F))
{
ConversationManager.Instance.StartConversation(myConversation);
}
}
}
}
How can I make the option button bigger please?
Maybe adjust the prefab?
i cannot click on the text options when interacting with npc
I commented on your other comment :)
:)@@SpeedTutor
and how did you fixed this?@@happy5468
i cant see my cursor, is there anyway to fix this
I'm not sure about that, restart Unity?
@@SpeedTutor i figured it out now
What happened?
@@SpeedTutor went to code my character with cursorlockmode.none and cursor.visible = true
how did you hide it again after the conversation was finished@@orblt
Hello. It seems to be working when I am running this on Unity Simulator, but when I am trying to run it on my phone, it is not working. Can you help me with it?
Tested it with several android phones, still not working.
I created a button as a trigger, also tried to run it with start method. All of them are working on Unity Simulator, but when I build it and run it on my phones, it doesn't work.
That's really strange, sadly I don't have any experience with mobile devices as it's not my asset. Really sorry I cant be more specific.
@@SpeedTutor no worries. Thank you!
that's because it's an Editor it will only work in Unity Editor and not outside@@immigueljoie08
unity? why would i make a game for that engine? i dont want to go broke and owe money for that piece of shit human being called John Riccitiello
You won't owe them any money as they changed the runtime fees, but you're free to make your game in whichever engine you'd like :)
your videos are awesome, but unity trust and respect is completely gone, John Riccitiello is a horrible human being, he only cares for money not for the community , not for the clients, just money@@SpeedTutor
I can totally understand your point a view - I think it's great we have some great options so you're not locked into any particular engine. What will you use?