Flint Particle System Forum - Flint scrolling in time.2010-11-17T10:07:22+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Flint scrolling in time.http://flintparticles.org/forum/comments.php?DiscussionID=43&Focus=225#Comment_2252008-07-09T13:28:57+01:002010-11-17T10:07:22+00:00Flashingbackhttp://flintparticles.org/forum/account.php?u=38
Hello,
I have question i made some firework effects for an app I am making with flint. The meening of the app is to let the user add the fireworks on a timeline so you can scroll to specific times ...
I have question i made some firework effects for an app I am making with flint. The meening of the app is to let the user add the fireworks on a timeline so you can scroll to specific times and view the effect on the chosen time. You can look at the timeline I am making here http://www.flashingback.be/zenacity. Examples of the fireworks are here http://www.flashingback.be/fireworks.
count++ } } } you can see i added a gotoStop function at the emmiter class but that didn't work out verry wel this is how te function looks like this:
public function gotoStop(time:Number){ this.pause(); this.start() this.pause(); for (var i:Number=0; i<=time ; i++){ this.resume () this.frameUpdate(i); this.pause() }
}
With this function it does get to the specific place in time but it doesn't show it verrywel the effect is smaller and the blur isn't good to.
I hope there is a solution for this.]]>
Flint scrolling in time.http://flintparticles.org/forum/comments.php?DiscussionID=43&Focus=226#Comment_2262008-07-09T14:01:25+01:002008-07-09T14:02:33+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi
One of the likely causes is the frame rate of your gotoStop method. Your method is drawing one frame for each second of the goto, so you'll get much less blur than if you were drawing thirty ...
One of the likely causes is the frame rate of your gotoStop method. Your method is drawing one frame for each second of the goto, so you'll get much less blur than if you were drawing thirty frames for each second of the goto. If you want the image you jump to to look like the image you'll see if you watch from the beginning, you need your goto to use the same frame rate as the movie.
Fortunately, the emitter already has a method, called runAhead, that does the same as your gotoStop but which lets you set the frame rate. Try this instead of your gotoStop -
Just doing accurate drawing for the last second before displaying the image.
I expect this to solve some of the problems. Whether it solves everything is another matter. Let us know how it goes.]]>
Flint scrolling in time.http://flintparticles.org/forum/comments.php?DiscussionID=43&Focus=227#Comment_2272008-07-09T15:07:31+01:002010-11-17T10:07:22+00:00Flashingbackhttp://flintparticles.org/forum/account.php?u=38
Thanks, I think this wil be a good solution. Thanks for your fast reply