If you have some neat mechanics you want to share, feel free to post here. Please make sure to include the written code or blocks so people know what you are referring to.
SadiQ asked me if I could calculate spring mechanics without using physics blocks. Here is what I came up with:
u = current velocity
v = new velocity
s = stretch of the spring (distance from the center position)
t2 = the time squared, although I just put in my own value
200 is the center
300 is the y starting position of the actor
It is set up like that because I wanted to pull apart the equation to make sure it was written correctly.
The original equation is F = m * (v-u)/t^2 = k * s
*note - there is a linear dampening factor in there (the 0.99999).http://static.stencyl.com/games/34042-0.swf