Ask a Question related to Macromedia Director Lingo, Design and Development.
-
mrzsbsky webforumsuser@macromedia.com #1
motion
hi. I have a problem about motion demand on time. I want to move a matter as functions of time. for istance a matter has motion according to x=5t2( square of time) which code I should use. is there a time variable in lingo. theres a variable such as"systemseconds" in authorware. thanks your suggestions
mrzsbsky webforumsuser@macromedia.com Guest
-
sub motion
hi, i have a prob. im new 2 lingo, thats the 1st prob. the 2nd is i cant understand how to use sub motions properly. im basically trying to create... -
Add simple motion
I want to add a simple motion effect that transport something from a place to another within the stage. Can someone help me please? -
can we do motion in PS css?
I'm trying to make my web site a bit more dianamic and I saw that I can do animation, rollover. My question is: it possible to do motion like, as... -
Motion Tween - need help
I have created several motion tweens in my .fla all using the same symbol. At the beginning and ending keyframes, the changes to the symbol are... -
Motion Blur
Hi, Using Firework MX. How can i do motion blur on my layers ? It is bultin filter in photoshop so i can't take it from there and add it to... -
LukeWig #2
Re: motion
On 6/8/03 2:53 AM, in article bgondh$kfa$1@forums.macromedia.com, "mrzsbsky"
<webforumsuser@macromedia.com> wrote:
> hi. I have a problem about motion demand on time. I want to move a matter as
> functions of time. for istance a matter has motion according to x=5t2( square
> of time) which code I should use. is there a time variable in lingo. theres a
> variable such as"systemseconds" in authorware. thanks your suggestions
Assuming you want to calculate the time between each 'step', then you could
do something like this:
Property myLastStep
On beginSprite (me)
MyLastStep = the milliseconds
end
On exitframe (me)
t = the milliseconds - MyLastStep
X = 5 * power(t, 2)
end
Because of the potential for overflow, Director seems to convert integers to> But I'm not sure if squaring the milliseconds will give you an overflow.
> Another math wiz will have to answer that one.
a floats before doing the calculation (ie power always returns a float).
Same as exp(), log() etc
Luke
--------------------------------
| [url]www.meccamedialight.com.au[/url] |
| [url]www.lingoworkshop.com[/url] |
--------------------------------
LukeWig Guest



Reply With Quote

