Page 1 of 1
How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 4:13 am
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?
Re: How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 9:17 am
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.
Re: How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 9:45 am
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
Re: How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 11:50 am
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.
Re: How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 12:03 pm
by sentendo
which manual? The Textline doc?
Re: How to create a chat like Whatsapp
Posted: Tue Nov 26, 2019 12:45 pm
by Tony Li
Yes, please.