newsAKFAvatar - News

 
 

AKFAvatar 0.19.0

Item posted by Andreas K. Förster <akf> on Fri 22 Oct 2010 03:07:51 PM UTC.

AKFAvatar 0.19.0

The most important improvement this version brings is support for the Lua programming language.  Lua was chosen, because it is very, very small and can be bundled with the binary packages.  Lua is also very easy to learn.  Although the documentation of it is admittedly not very good for beginners, yet.  There is a complete reference of the AKFAvatar-specific functions, but no tutorial.  However, users who know another programming language already should not have any problems to learn Lua-AKFAvatar.

But the Lua-support is not only interesting for programmers.  There are already quite some ready to use Lua programs and modules.  Look for example at the script "fs-quiz-en.lua".  There are some lines of code at the beginning, but most of that file is text-data.  Every non-programmer should be able to make his own quizzes from this example.  Some other files are easy to understand, too.  But not all.

For Windows users the support for character-encodings was improved.  Now at last they can use their native Windows encodings like "Windows-1252" also known as "MS-ANSI".  And yes, they are also supported on GNU/Linux.

The program "avatarsay" is still included in this package, but it is about to be phased out.  Most features of "avatarsay" are already rewritten with Lua.  Well, the terminal emulation won't be rewritten in Lua, but it will most probably become a separate application in one of the next versions.

Short overview of the changes


API changes:


Back to the top

Powered by Savane 3.14-8aba.
Corresponding source code