I’ve knocked up another little micro-game for mini Ludum Dare #27: “All Talk”. My effort is called “White Flag”. It’s just a dialogue tree with a measly 3 or 4 branch points, but I’m quite pleased with the implementation as it’s my first go at writing ActionScript within the StencylWorks Flash dev tool.
It needs a few extra bits before I could make anything worthwhile with it though – I didn’t have time to write line-wrapping code, so I had to place every line break manually. This was a nightmare, because the only way to know where the break should go was to see it ingame…a slow process even with so little text.
I need to read the text in from a file, rather than typing it into the script directly. Not sure if StencylWorks will allow that, though.
And finally, I wanted to have internal vars so that choices could accumulate over time or set flags for later in the dialogue. Ran out of time for those too.
But with those tweaks in place I’ll have a neat little dialogue engine which could easily be ported to Unity. Not bad for a couple of evenings’ tinkering!