[Tweener] Tweening a variable in a Bell curve...
Daniel Rodríguez
dornad at gmail.com
Wed Nov 19 09:41:27 PST 2008
k, thanks...
I'm trying to look into that, but now I'm getting the following error
message:
Property fps not found on etc.patexp.game.VideoExperience and there is no
default value.
at
caurina.transitions::Tweener$/addTween()[C:\Tweener\as3\caurina\transitions\Tweener.as:156]
Which is a weird error message, cause the VideoExperience class does have a
fps property:
Here is the relevant code:
============ START AS3 CODE ==================
public class VideoExperience extends BaseExperience
{
private var fps:Number = 10;
/**
* Advances the game.
* @param param
*/
override public function advanceGame(param:String = null):void
{
Tweener.addTween(this, { fps:currentFPS, time:5,
transition:myTransition,onComplete:onCompleteTween } );
}
..
..
..
}
============ END AS3 CODE ==================
What I'm I doing wrong here ?
Thanks,
On Wed, Nov 19, 2008 at 12:23 PM, Makc <makc.the.great at gmail.com> wrote:
> check out this old post http://makc.coverthesky.com/FlashFX/ffx.php?id=17
>
> On Wed, Nov 19, 2008 at 7:12 PM, Daniel Rodríguez <dornad at gmail.com>
> wrote:
> > Hello everyone,
> >
> > I need to tween a variable, according to a bell curve or gaussian
> > distribution (i.e. starts at a initial value, raises to a max. value and
> > then, goes back to the original value).
> >
> > I don't know if this is possible in Tweener.
> >
> > I suppose it can be done with a transition function but I'm not good
> with
> > my Math... can anyone help me with that function ?
> >
> > Thanks.
> >
> >
> >
> > --
> > __________________
> > Daniel R. Rodríguez C.
> > Graduate Student
> > Carnegie Mellon University
> > Entertainment Technology Center
> >
> > _______________________________________________
> > Tweener mailing list
> > Tweener at lists.caurinauebi.com
> > http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
> >
> >
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
--
__________________
Daniel R. Rodríguez C.
Graduate Student
Carnegie Mellon University
Entertainment Technology Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20081119/a58d43df/attachment.htm>
More information about the Tweener
mailing list