question about animation - Non frame based

xandramas

  • Posts: 411
Is there any way to create a smooth animation or import one already done that arent frame by frame?

Like this link http://vimeo.com/8523789

How things are moving around but not in frame format.

What I want to do is for instance have a dot

go from a .

Then stretch up into a plant without it being choppy.
Check my profile to test my games in development.
Asterite Saga: http://www.facebook.com/XGameLabs
Next Game in development.

Hectate

  • *
  • Posts: 4645
The type of animation you are asking about is usually called Keyframe Animation. Unfortunately programs that use keyframe animation are usually vector based (or 3D) such as Adobe Flash. They can do this because vector images are based on drawing a shape out of a series of vertices (plus fill color, etc) which can be moved around. In your example, if all the vertices of a "flower" image were relocated to a single point on an initial keyframe, they would then slide to their "normal" position over the length of the animation - thus causing it to appear to grow.

Stencyl uses "raster" (bitmap images) instead which are generally not as attractive when stretched and skewed extensively, and nor do they have vertices to move around (with the exception of the four corners, of course). As a result, it's really not feasible to perform what you're asking at this point.

That said, Haxe (which is the new engine for 3.0) apparently now supports vector graphics (and the Flash Player engine always has as well) but there has - at this point - been no work on integrating that into Stencyl specifically as an alternative to the current bitmap-based image model.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

vikingpotato

  • Posts: 853
keyframe animation support can double the quality of stencyl games!

xandramas

  • Posts: 411
Well thats really unfortunate. Hope haxe makes the animation quality better because as just recently mentioned. Keyframe animation is pretty important in decent quality flash games.
Check my profile to test my games in development.
Asterite Saga: http://www.facebook.com/XGameLabs
Next Game in development.

Anacry

  • Posts: 9
Couldn't you just do the animation in flash, and then import it as a .gif?

vikingpotato

  • Posts: 853
That beats the whole point of having keyframes. You will end up with many many sprite sheets with animation frames, made from parts which could have fit in only one sprite sheet if keyframe animations were used.