Monday, July 23, 2007

Animating Discobunny

Tried the Flash actionscript today, that does the left/right character movements. Hacked it for Discobunny and eventually got it to work. Sussed out the "box_mc" movie clip with the "box", "left", and"right" frames. It didn't work for me until I added a label for the main time line movie clip, but once I did that it all clicked into place. Will need to remember that in future.


Then started doing the walk cycles for DiscoBunny. The right and left moves are different, so started doing the right move first. Managed to get 3 key frames done, but it is a bit jerky. I need to add some motion tweens, so will do that next time. It'll be interesting to see how it turns out - as Discobunny is doing dance moves the transitions need to be quite fluid and smooth. Have about 7 to do all up (each way), and they are quite time-consuming. We shall see how we go.


Also noticed a few oddities. I had imported bitmaps into flash for reference during character construction, and they kept showing up in the movie even when the associated time line was hidden/invisible. Quite annoying. Eventually, someone told me that you could move the bitmaps off-stage and they wouldn't show up in the movie.


Also if you import a flash file with a bitmap in it, it always imports as a BMP type (not a movie clip), even if there is stuff/animation on other time lines. You have to remove that time line/BMP for it to import correctly. (It might have been because I only had one key frame - will have to check next time).


Another thing, the published shockwave files (swf), when you launch them from Finder, they don't work, and come up with static backgrounds. Not sure what you need to do to fix that, so I shall have a few things to go through in Studio.

No comments: