This is a simple test to see if it was possible to use Fuse as an animator for a class file. It is. Basically I created a simple class that draws a box. In the class there are some animations functions that load an instance of fuse as a var in the class then you can call start and stop on the class and it starts and stops the fuse instance that is moving the class. It works pretty slick and there are some advantages to this. It uncouples the fuse classes from the box class so that you don’t have to include the fuse classes every time you want to draw a box. In this simple example it is pretty useless but the idea can be really useful. I just used it to animate an image viewer the same way and it worked pretty slick (code for that coming soon).
-
« Home
-
Categories
-
Archives
Post a Comment