View on GitHub

Tech, Games and Whisky

The Sebr's Blog

Tech toolbox for Programmers

|

Each Tuesday at lunch time, our team watch a tech presentation. Recently, we watched a great GDC talk on youtube: Tech toolbox for game programmers. Since I work full time on a game editor, each time I can learn about new tricks, new techs or good experiences involving tools programming I am all ears. This presentation was segmented into 5 smaller 10 min talks.

Dialogger

The first segment was particularly interesting as it covers how to create a dialog builder tool based on a Node Graph. Evan Todd explained how he used the jointjs library to create his node editor. He used NW.js to make a desktop app out of its dialoger web app.

I tried dialogger and it works great and can output its result in JSON:

dialogger

Puzzle Script

There was a small segment on puzzle script a game engine to create puzzle game. And it comes with a built in editor. Puzzle script uses a “rule based” scripting language that is super expressive.

An example from the documentation:

Sokoban has one rule: If a player is trying to walk into a crate, try to push that crate. >is a directional arrow. The four arrows are <, >, ^, and v.

The code to moving the crate if a player is in contact with that crate would be:

[ > Player | Crate ] -> [ > Player | > Crate ]

puzzle script

This seems like a nice prototyping environment or even a nice challenge for a Ludum Dare or Gamejam.

IMGUI (yet again)

The last One presenter was Omar Cornut of dear imgui fame. I already talked about IMGUI recently. The gist of his presentation was that if you integrate the tools INSIDE your game (using dear imgui or any other libs) you make your tools ALWAYS available to anybody having access to your game: QA, designers, developers, modders. You are closer to the game state (you are in the game after all) so it really helps understanding problems and performance.

imgui