Monday, 6 May 2013

New dialog system up and running

The new dialogue system is up and running. It required a lot of debugging, but since then I've found adding new dialogue to be very easy. There is only one bug remaining, which technically shouldn't appear unless I create a dead end in a conversation tree (which is a bug in its own right), but if it does appear then it breaks the game with an infinite loop. I'm still working on a solution for it, but since it shouldn't occur if I do my job right in other places I don't think it's enough to scrap my new system.

There's not much more to report on right now. I need to focus on the written content for the game otherwise it'll never get finished. This is the period where the chances of the whole project collapsing is at its highest, so I'm going to limit myself to just a couple of hours each day. I'm hoping that I'll get two benefits from this approach: prevent myself from reaching burnout and work a lot more efficiently. I can't even begin to tell you how many times I've set aside a day to work on a game and achieved practically nothing because I don't focus.

Edit: And in a moment of inspiration the fatal bug is fixed! Now, instead of a loop, if the conversation tree adds no options for the player to select a new option is added: [End Conversation]. That part seems obvious, and it was, but the inspiration was in how to execute it within RAGs. I'm very happy right now.