We’re having a hard time implementing the quest system designed for our game. So far, we have a basic system having widgets on-screen and it works, but we have decided to expand a bit upon it.
The quest system:
- The background is an image of an open book.
- The widget box was placed exactly above the empty page so that the text appears as if written on it.
- Since our game is open-world, we cannot predict which quest item the player may click and the quest system needs to check dynamically if there is enough space on that particular page, otherwise, it should move on to the next one.
- Every quest item found should add its quest description in the book respectively.
That means, for example:
Each page is 10 rows. If the system notices that there is not enough space for the next paragraph (each paragraph is per item), then it should write on the “next page”. The next page being simply hiding the previous text, replacing it with a new one.
Anyone has any suggestions as to how do we start programming this?
Here’s a brief idea I’ve put together just to make it clearer for you: