Talking to NPC

Check out the example in this ancient post / the related article

There are many ways in which you can handle the lines of dialog / scripting. If you want something very simple you can just have lists of text. If you want to be able to script elements in the game then the coroutine approach can be very helpful.

GitHub - britzl/defold-richtext: Defold-RichText is a system to create styled text based on an HTML inspired markup language has functionality for easily truncating text while also being able to do special effects with your game’s text.

5 Likes