00:00
00:00
Newgrounds Background Image Theme

PalmMan just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

As: Tweening Or Fbf?

1,241 Views | 10 Replies
New Topic Respond to this Topic

As: Tweening Or Fbf? 2006-03-14 11:37:38


AS:Main

The eternal question, and one which has plagued Flash Forum goers for millenia, or at least e-millenia. Well, I have finally stumbled upon a solution for anyone with this dilemma, and based on the words of Conquerer Denvish VII Himself:

At 2/3/06 03:56 PM, Denvish wrote: I really do recommend that people only write tuts that are

a) totally unique...
or
b) cover an oft-asked-in -the-Flash-forum question.

have decided that this falls quite neatly into both catergories. So, without further ado, here is the script! Post this on the last accessible frame of your movie or game.

that last sentance rhymed :)

var pn_date:Date = new Date();
var pn_timefactor:Number = pn_date.getHours() + (pn_date.getMinutes() > 30);
var pn_posfactor:Number = Math.round(_root._xmouse/200) + Math.round(_root._ymouse/150);
var pn_movfactor:Number = _root._getBytesTotal() + _root.currentFrame;
var pn_typefactor:Number = ((pn_movfactor + pn_posfactor) * pn_timefactor) % 4;
if (pn_typefactor == 0){
trace("You should use Motion Tweening")
}else if (pn_typefactor == 1){
trace("You should use Frame by Frame")
}else{
trace("You should use a combination of Frame by Frame and Motion Tweening")
}

This will tell you in quite plain English what the best style to use ofr the remainder of your movie is. The answer is unique to your particular situation and document! The script is so complex that and mind less powerful than my own will explode before comprehending it, and even the greatest Flash minds will mistake it for a basic or even, dare I say, bullshit bit of code which solves nothing. Listen not to them, my friends. They will lead us to destroy our one chance of enlightenment!

So, in conclusion, the code = good.

>:|


BBS Signature

Response to As: Tweening Or Fbf? 2006-03-14 11:59:13


Lol...

Nice tutorialish kinda thingie :P
It's strange that on some times of the day I should use FBF, and on some not :(


BBS Signature

Response to As: Tweening Or Fbf? 2006-03-14 12:10:49


Thats lovely. It even gives me advice on what method to use on a blank document. Do you think you could make an AS script where you just type: "make me a movie about a car" and it does it for you?

Response to As: Tweening Or Fbf? 2006-03-14 12:12:07


At 3/14/06 12:10 PM, Cybex wrote: Thats lovely. It even gives me advice on what method to use on a blank document. Do you think you could make an AS script where you just type: "make me a movie about a car" and it does it for you?

I think someone has already proved that\s impossible, if you know what I mean.

Response to As: Tweening Or Fbf? 2006-03-14 12:16:01


At 3/14/06 12:10 PM, Cybex wrote: Thats lovely. It even gives me advice on what method to use on a blank document. Do you think you could make an AS script where you just type: "make me a movie about a car" and it does it for you?

Qui?


BBS Signature

Response to As: Tweening Or Fbf? 2006-03-15 12:45:41


Its possible to make a script like that. But it would take forever. And it would cover everything. You would have to make a animation for everything you can think, the user of the animation would want to type.

Response to As: Tweening Or Fbf? 2006-03-15 12:53:08


At 3/15/06 12:45 PM, DarkScythes wrote: Its possible to make a script like that.

Barely. I'm not going to say it's 100% impossible, but yeah..


BBS Signature

Response to As: Tweening Or Fbf? 2006-03-15 12:54:53


At 3/15/06 12:53 PM, Claxor wrote:
At 3/15/06 12:45 PM, DarkScythes wrote: Its possible to make a script like that.
Barely. I'm not going to say it's 100% impossible, but yeah..

I imagine the file size would be quite big.

Response to As: Tweening Or Fbf? 2006-03-15 13:08:17


frame by frame

Response to As: Tweening Or Fbf? 2006-03-15 13:14:49


At 3/15/06 01:08 PM, Disarray_yarrasiD wrote: frame by frame

you just made yourself sound like an idiot =)

Response to As: Tweening Or Fbf? 2006-03-15 13:27:13


At 3/14/06 11:37 AM, _Paranoia_ wrote:
that last sentance rhymed :)

Wow that's excellent, it's so amazing. I love it.

of your movie or game... *repeats a hundred times*

BBS Signature