O'Reilly logo

Flash Multiplayer Virtual Worlds by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Talking with NPC

The players need to interact with the NPCs. Most often players need to ask the NPCs something or chat with them to share information. There are several types of conversation system. Each one comes with its pros and cons.

Note

It is important to choose a right conversation system for the virtual world.

Communicating with NPC using text parsing

Text parsing conversation is a prompt box with a text input box for a player to input the sentence they want to say. After which, the NPC will parse the sentence and respond to the player with related information. It is similar to talking with a chat bot.

Text parsing interaction existed for a long time as old text game without graphic user interface. At that time, the computer was not fast ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required