How to create a chat like Whatsapp

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

How to create a chat like Whatsapp

Post by sentendo »

Hello!

I would like to create, for my game, a chat like Whatsapp.

Chat List: It should have a list of available chats. Reference https://miro.medium.com/max/1500/1*Q11f ... wRA@2x.png.
Chat: once the Player taps on one, the chat with a virtual character starts. It talks alone and then arrives to a binary decision. Reference https://i2.wp.com/media.boingboing.net/ ... ckwise.png

Where can I start to arrange my hierarchy?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to create a chat like Whatsapp

Post by Tony Li »

Hi,

You may be interested in the Dialogue System's free Textline starter addon, available on the Extras page. It works like a chat app.
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: How to create a chat like Whatsapp

Post by sentendo »

Thank you Tony.

When I import the textline addon, Unity gives me two errors:

Assets\Dialogue System Extras\Textline\Scripts\MenuUtility.cs(21,30): error CS0246: The type or namespace name 'Pause' could not be found (are you missing a using directive or an assembly reference?)

Assets\Dialogue System Extras\Textline\Scripts\MenuUtility.cs(63,47): error CS0246: The type or namespace name 'SaveHelper' could not be found (are you missing a using directive or an assembly reference?)

EDIT: Unity 2019.2.6f1
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to create a chat like Whatsapp

Post by Tony Li »

Textline requires the Menu Framework, which is also on the Extras page. You'll want to read the manual carefully since it uses a special dialogue UI and also has a section on how to set up a "lobby" scene where you can select different characters to converse with.
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: How to create a chat like Whatsapp

Post by sentendo »

which manual? The Textline doc?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to create a chat like Whatsapp

Post by Tony Li »

Yes, please.
Post Reply