Wednesday, 07 May 2008

A small Open Source experiment

To kick off this blog I want to tell you about an exiting new development. Projectplace has for the first time stepped into the field of open source. A really tiny step, granted, but it's still a step.

Here's the story. We're working on a .Net project. (It's so far a secret what's it about. I promise we'll tell you quite soon.) In this project we want to spiff things up a bit by using some simple animations. Adobe Flash and Flex coders might immediately tell anyone who wants to animate things smoothly to take a look at Zeh Fernando's Tweener.

But in looking for something similar for .Net I couldn't find any really serious implementations. At the ever helpful CodeProject I could find a start though. But it's more of a proof of concept and couldn't really handle what we needed it for. I used it as a start and wrote something that can handle our current needs. A C# Tweener was born. It's still lean and simple, but very, very useful.

I suggested to my managers that we open source our Tweener. It might help others who have similar animation needs in their .Net projects. My managers gave me the go. Yay! You can now find our Tweener at Google Code. Or, more specifically, here:

http://code.google.com/p/tweener-dotnet/

Yeah, someone will probably tell me there are other .Net tweeners out there. If so; Now there's another one. =) This one is quite true to the the original Flash Tweener. It lacks some bells and whistles, but still supports easy chaining of tweenings and it's also easy to register callback functions that gets called when the animations are finished.

I'll tell you more about the Tweener later. If you can't wait, just download it and start playing with it. It's fun!

By PEZ 00:10

COMMENTS

The post has 2 comments
Cool!

Is a tweener like an old Sprite handler (sub) we had on ZX Spectrum and Commodore 64 back in the 80th?
By Staffan Berger 07 May 2008 08:39
Indeed. Very similar to those sprites (good 'ol days; http://techroom-md.idg.se/bloggar/svartvitt/entry.jsp?messid=86). Think about how sprites were useful in so many ways.

Then in Windows Forms (or any similar environment) you can treat any control as a sprite. What the Tweener provides is a way to hand off the responsibility of moving those "sprites" around. And it's not constrained to just movement. You can tween rotation, or opacity or anything.
By PEZ 07 May 2008 09:06

WRITE COMMENT


 


 

User verification
Image for user verification