| View previous topic :: View next topic |
| Author |
Message |
davedes Oldbie
Joined: 27 Jan 2007 Posts: 400
|
Posted: Fri Jan 25, 2008 4:09 am Post subject: SlickFx - Animation Framework |
|
|
I wrote a small animation framework today (56kb signed). It uses Robert Penner's easing equations for the tweens.
Project Home
http://code.google.com/p/slickfx/
SVN
http://slickfx.googlecode.com/svn/trunk/slickfx/src/
JavaDoc
http://slickfx.googlecode.com/svn/trunk/slickfx/javadoc/index.html
Download
Contains source, slickfx.jar, slickfx-test.jar and javadoc.
http://code.google.com/p/slickfx/downloads/list
How do I use it?
- Define your "entity" (such as a button widget) by implementing the desired FxEntity interfaces, or all of them for full compatibility.
- Set up a timeline (or multiple timelines) for your entity and add some "Fx" for animation. So far you can use: SizeFx, LocationFx, AlphaFx, EmptyFx (delay) and CompoundFx -- or you can make your own Fx. Don't forget to update the timeline!
- Start the timeline with setActive(true). Sit back and watch as it animates gracefully through the set of Fx's you've added!
See documentation and tests for details.
Webstart: Test Smooth UI
A main menu mockup with some neato animations. Design influenced by Turborilla.
Webstart: Test Fx
Tests the "Fx" helpers (for fading, resizing, moving, etc).
Webstart: Test Easing
Tests the raw easing equations independent of the Fx/Timeline classes.
Webstart: Test CompoundFx
Tests a CompoundFx, which allows you to merge two (or more) Fx into a single animation.
Stripping it Down
SlickFx is pretty small right now, but it can get a bit smaller. You can remove the "mdes.slick.animation.entity.renderable" package if you don't need that functionality (used for fading Slick Images/Animations). You can also pick and choose which entity/Fx helpers you need for your project.
The bulk of the code is contained in the Easing class. Most applications only need a few specific Easings that are repeated throughout. Once you find the Easings that suit your needs, you can strip out the rest.
Planned Fx:
ColorFx (one color to another)
GrowFx (like Rectangle.grow)
Issues:
- Current version uses "ticks" instead of an accurate timer.
- Timeline.fastForward is bugged and has been left out of the current version.
- Needs some more documentation and guides for using the Fx classes. |
|
| Back to top |
|
 |
carmen
Joined: 20 Dec 2008 Posts: 1
|
Posted: Sun Dec 21, 2008 5:22 pm Post subject: |
|
|
How can I search animation in 3DS max that, animation that a object change as another object smoothly? I'm a beginner of 3Ds max. I want to do a animation that a object change as another object smoothly. Like, earth change as moon, or dog change as cat. How can I search in web/ How can I do it? _________________ Keyword Elite |
|
| Back to top |
|
 |
TheMatrix154 Regular
Joined: 19 Jun 2007 Posts: 179 Location: Germany
|
Posted: Sun Dec 21, 2008 6:19 pm Post subject: |
|
|
hi,
i think you are searching for "vertex animation" or "morphing objects". SlickFX is a simple easing framework to calculate smooth movement, scaling (only value based, no vertex transformation) and so on.
edit:
for "3ds file format" just try to google it, there are some sites which explains the file format _________________ Blog | Astroiz | ConK |
|
| Back to top |
|
 |
zielarz
Joined: 19 Feb 2007 Posts: 5
|
Posted: Thu Dec 25, 2008 9:26 pm Post subject: |
|
|
can't run the webstart examples ...  |
|
| Back to top |
|
 |
JoshuaD
Joined: 03 Jun 2007 Posts: 66
|
Posted: Sun Dec 28, 2008 8:13 pm Post subject: |
|
|
| zielarz wrote: | can't run the webstart examples ...  |
Ditto. I'd like to see this too. |
|
| Back to top |
|
 |
TheMatrix154 Regular
Joined: 19 Jun 2007 Posts: 179 Location: Germany
|
Posted: Sun Dec 28, 2008 8:52 pm Post subject: |
|
|
have you tried http://code.google.com/p/slickfx/? There is a folder for jnlp (webstart) in the source browser. Just download those files and double click them, this should work. _________________ Blog | Astroiz | ConK |
|
| Back to top |
|
 |
Gornova81 Oldbie
Joined: 02 Apr 2008 Posts: 498 Location: Italy
|
|
| Back to top |
|
 |
|