i dont understand lerp(here.x,there.x,1-0.5^timedelta)

For questions about using Classic.

Post » Tue Apr 12, 2011 1:31 pm

nah
I just forgot honestly. what does a fractional exponent do?
isn't it something weird like 6 to the 1/5 power is like taking the 5th root of 6 or something?
if that's the case then it still doesn't make sense why it'd be equivalent...
wait wait
found it
http://www.mathsisfun.com/algebra/expon ... ional.html

yeah, I guess the confusion was thinking timedelta was an exact science. there's no way taking the nth root of something can give truly similar results to multiplying by some other random a/b.
so basically what you guys are saying is that they really won't run at exactly the same speeds when moving at two different framerates, even in a perfect world where you had a perfectly exact timedelta. so just come up with some random equation that seems to work, or use one you saw someone else use somewhere?
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Tue Apr 12, 2011 4:21 pm

Pretty much. I mean when you get into to values that small, its about as "constant" as you would need.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Wed Apr 13, 2011 2:25 am

yea it gives the the n'th root depending on the denominator ("n" in this case) raised to the power of the numerator.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests