Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-settings.php on line 229

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-settings.php on line 231

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-settings.php on line 232

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-settings.php on line 249

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-includes/theme.php on line 507

Deprecated: Assigning the return value of new by reference is deprecated in /home/thelabor/public_html/wp-content/plugins/codesnippet/codesnippet.php on line 248
.: the laboratory » Blog Archive » Litr now on C#!!

Litr now on C#!!

     Add to Technorati Favorites

Yo People!

During my training for my XNA work I needed some start in the C# language. So I seek for some programming training on it. But I was kinda bored of “hello world” like tutorials. In order to make something usefull and yet train some skills I decided to make a port of my Litr Class for C# and XNA (maybe it can be used with Silver Light).

Well, in around 20h I finished the port with some slightly differences between the flash version the C# one. It worked nice! As we are now treating with real applications the speed isn’t that important as the kind of operations made are real fast compared to the Flash VM. I tried to make it easy to use, considering that C# don’t have all “freedom” that Flash give to us. For example, my Litr FLash Version uses a lot the ‘[”param_name”] ‘ operator to access Object parameters by name. In C# this doesn’t exists, so I had to figure out a way to keep the easy-to-use concept of the Flash Version.

By approach was to envelope the data that will be tweened in a “BasicTweenData” Class that will be passed to a tween execution. Don’t be frightned in the GoogleCode site I put the DLL and a Demo Project to see how it’s used. For now, as I’m trying to improve the code and it’s a really early version, no source code for it… After some training and improvement in the code I’ll release it in OpeSource! Bear it for a while :)

Well! Head to the Light Transition Project and get it!!

GoogleCode Lighter Project

See ya!

Leave a Reply