Slick Forums Forum Index Slick Forums
Discuss the Slick 2D Library
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SlickFx - Animation Framework

 
Post new topic   Reply to topic    Slick Forums Forum Index -> Extensions
View previous topic :: View next topic  
Author Message
davedes
Oldbie


Joined: 27 Jan 2007
Posts: 400

PostPosted: Fri Jan 25, 2008 4:09 am    Post subject: SlickFx - Animation Framework Reply with quote

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?
  1. Define your "entity" (such as a button widget) by implementing the desired FxEntity interfaces, or all of them for full compatibility.
  2. 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!
  3. 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
View user's profile Send private message
carmen



Joined: 20 Dec 2008
Posts: 1

PostPosted: Sun Dec 21, 2008 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheMatrix154
Regular


Joined: 19 Jun 2007
Posts: 179
Location: Germany

PostPosted: Sun Dec 21, 2008 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
zielarz



Joined: 19 Feb 2007
Posts: 5

PostPosted: Thu Dec 25, 2008 9:26 pm    Post subject: Reply with quote

can't run the webstart examples ... Sad
Back to top
View user's profile Send private message
JoshuaD



Joined: 03 Jun 2007
Posts: 66

PostPosted: Sun Dec 28, 2008 8:13 pm    Post subject: Reply with quote

zielarz wrote:
can't run the webstart examples ... Sad


Ditto. Sad I'd like to see this too.
Back to top
View user's profile Send private message AIM Address
TheMatrix154
Regular


Joined: 19 Jun 2007
Posts: 179
Location: Germany

PostPosted: Sun Dec 28, 2008 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Gornova81
Oldbie


Joined: 02 Apr 2008
Posts: 498
Location: Italy

PostPosted: Fri Jan 09, 2009 3:55 pm    Post subject: Reply with quote

JoshuaD wrote:
zielarz wrote:
can't run the webstart examples ... Sad


Ditto. Sad I'd like to see this too.


it's http://myjavaserver.com/ .. it's down!

javadoc is not usable.. if you use:

http://slickfx.googlecode.com/svn/trunk/slickfx/javadoc/index.html

as url, google code point you to html page source!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Slick Forums Forum Index -> Extensions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group