Tuesday, July 31, 2007
Thursday, July 19, 2007
To learn Silverligt and have some fun I reused idea of Ant Attack. I was completely new to both SL and XAML and managed to learn basics during few nights. I implemented 3d view using transparent .png of cube. I know this is not rocket science, but it works. I have lot of ideas where to improve it, but most funny task would be add ants and implement their AI in Python, so you will be able to change AI script as an user. Anyone interested ?
- SL 1.1alpha supports transparency only in 24bit color + 8 bit alpha format. It could be converted in Blend
- ZIndex is slooow, use Remove() and Insert() methods on Children collection instead
- DoubleAnimation will stop animation on some non-integer number, so my pixelized cubes will be blured by antialiasing. Not nice.