hi,
i am new to variables and especially easing with math formulas.
i cant figure out how to get an easing for jumping with a figure for example...
i found this one on a page i am not permitted to paste here (if u want the link just pm me)
// quadratic easing in - accelerating from zero velocity
Math.easeInQuad = function (t, b, c, d) {
t /= d;
return c*t*t + b;
};
</font>
it says:
t = current time
b = start value
c = change in value
d = duration
i cant figure out how to transfer this into my event sheet in C2.
i made a global variable for each letter but dont know what to put in really :(
does somebody knows how to integrate such easing in jumping beahvior?
and how to I say Construct2 to take "2 Seconds" in realtime to do an event?
for example: do rotate sprite XYZ by 1� for 2 seconds... how would i build this in C2?
I am very thankful for any help,
greets!