Dialogs and stuff
- First you got a greeting page with a couple of categories that the user can select.
- Each category can have a number of sub-pages and each page can have a different number of answers/choices. Right now I have limited the answer space to three options (this might be expanded later on).
- Each answer the user selects can lead to:
- Another topic - it doesn't have to lead to the first page of that topic.. it can lead to any sub-page.
- Execute a script.
- Exit the dialog.
I've also implemented a way of grouping and hiding objects that are in the way of the player. This feature is common in many RPG's; the roof disappears when the player walk below it. I will only use this for smaller buildings. When entering larger areas I will load it as a different map.
Video showing the dialog box and roof hiding.
Better quality link
Thanks for reading!