Mystery Project Devlog

This project is a joint effort between me and my pal MrRedPants. It's a 2d puzzle / exploration game.

July 29, 2015

Well I guess I learned something from my last project, 'cause it took me less than three days to get Scene2d working. Started the overhaul of input management, and things are progressing along nicely. The groundwork for inventory, dialog, and any other menus is in - shouldn't be long before it's just a matter of making it look presentable. Which, knowing me, could take a while.

July 28, 2015

So one of the cooler things that got done on this project so far was the way the game handles dialog. Huge thanks to et1337 for the wonderful Dialogger tool. What gets done is, the JSON that Dialogger generates is parsed into Nodes of various types with all the info they contain, and then those nodes get linked to one another to build the resulting dialog tree. Any variable names that are referenced get passed through a variables manager that takes care of figuring out what exactly we meant when we used its name in Dialogger, and it finds the resulting variable in the game code. The last piece of this was building a small helper class that would parse part of certain strings and allow for comparators to be used directly in dialogger.
End result: Entirely data driven dialog trees!
All the dialog stuff is incredibly decoupled from the rest of the game, and any future Java-based projects of mine are definitely going to be using it.