I decided to release the first test version of KChess to the public.
http://kde-apps.org/content/show.php/KChess?content=122046
=-=-=-=-=
Powered by Blogilo
24 Mar
I decided to release the first test version of KChess to the public.
http://kde-apps.org/content/show.php/KChess?content=122046
=-=-=-=-=
Powered by Blogilo
28 Jan
I finally completed the code reqiured for these special move rules in KChess.
Next up in line: Pawn promotions, and two-player hotseat mode.
30 Dec
Qt 4.6 release brought many improvements, most notably the Animation Framework. Though it works for any QObject and any property, I’ve only implemented it for graphics items and their position. The API is very simple: all I had to do was replace calls such as:
item->setPos(newPos);
to this:
QPropertyAnimation* animation = new QPropertyAnimation(item, "pos"); animation->setStartValue(item->pos()); animation->setEndValue(newPos); animation->start(QAbstractAnimation::DeleteWhenFinished);
Now, opponent’s moves in KChess and moving or reordering cards in CGTable feels smoother and much more natural.