Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 25, 2013 11:10 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Jan 25, 2008 4:09 am 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1469
WARNING:
This is an old project that is no longer developed.

--

I wrote a small animation framework today (56kb signed). It uses Robert Penner's easing equations for the tweens.

Image

Project Home
http://code.google.com/p/slickfx/

SVN
http://slickfx.googlecode.com/svn/trunk/slickfx/src/

JavaDoc
http://slickfx.googlecode.com/svn/trunk ... 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.
Image

Webstart: Test Fx
Tests the "Fx" helpers (for fading, resizing, moving, etc).
Image

Webstart: Test Easing
Tests the raw easing equations independent of the Fx/Timeline classes.
Image

Webstart: Test CompoundFx
Tests a CompoundFx, which allows you to merge two (or more) Fx into a single animation.
Image

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.


Last edited by davedes on Mon Aug 15, 2011 1:41 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 21, 2008 5:22 pm 
Offline

Joined: Sat Dec 20, 2008 9:35 am
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 21, 2008 6:19 pm 
Offline
Regular

Joined: Tue Jun 19, 2007 7:35 am
Posts: 233
Location: Germany
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

_________________
Embero Games | Astroiz | ConK | From Outa Space


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 25, 2008 9:26 pm 
Offline

Joined: Mon Feb 19, 2007 9:37 am
Posts: 5
can't run the webstart examples ... :(


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 28, 2008 8:13 pm 
Offline

Joined: Sun Jun 03, 2007 2:51 am
Posts: 80
zielarz wrote:
can't run the webstart examples ... :(


Ditto. :( I'd like to see this too.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 28, 2008 8:52 pm 
Offline
Regular

Joined: Tue Jun 19, 2007 7:35 am
Posts: 233
Location: Germany
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.

_________________
Embero Games | Astroiz | ConK | From Outa Space


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 09, 2009 3:55 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1315
Location: Italy
JoshuaD wrote:
zielarz wrote:
can't run the webstart examples ... :(


Ditto. :( 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 ... index.html

as url, google code point you to html page source!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group