Samstag, 20. Juli 2013

Xtext article @AltDevBlog

As mentioned, I wrote an article showing how you can create your own textual programming languages using Xtext.
http://www.altdevblogaday.com/2013/07/19/creating-powerful-languages-with-xtext/

The article also features two screencasts, one showing the very basic version of the dialog scripting language in action, one explaining the grammar defintion file we need to define in order to get the language. I also embedded them here, but you might want to check them in combination with the article ;)


Dialog script sample + rich editor
 
Grammar definition for the dialog scripting langunge used in the article @AltDevBlog


Enjoy reading and let me know @AltDevBlog what you think about it!

Best,
Robert

Sonntag, 7. Juli 2013

Dialog Scripting Tool

Hello? Is this thing on *test* *test* ... phew, quite some time has passed.
I created a small dialog scripting language for game writers with the magnificent Xtext framework. It's still work in progress, but I think I have reached a state decent enough to share. So feel free to download the thingy here:
https://dl.dropboxusercontent.com/u/10307034/adbad/DialogScriptDSL.zip

Yep, the archive contains an exe file, so your anti-virus might complain. Right now, it's only available for PC. You need a 32 bit JRE on your machine to run it. Other versions might follow.

Here are some screenshots to get you an idea what I'm talking about:

Simple, conditional dialog

Larger example scene

Context sensitive content assist feature

The language design is heavily based on a format suggested by Steve Ince in his book Writing for Video Games. Thanks Steve, allowing me to use this format as a basis and thanks for your valuable input so far!
For now, it's more of a small practice and showcase, but maybe it will grow to become attractive for the industr, you never know...

In order to getting started, I wrote a "How-to" you will find in the archive's root. It's also WIP.
I'm also working on a more decent article that shows how such a language can be created using Xtext. So, check for updates.

As always, any feedback appreciated.