in my opinion, one of the coolest codes i've ever manipulated would have to be the elasticity code, such as the one in: http://www.newgrounds.com/bbs/topic/2994 38
now, ive played around with the code a LOT, its actually been the code i've used most in experimenting and learning function effects, duped clips, etcetera, as well as code compaction, manipulating the code so it;s smaller and less confusing. it;s a given that ive fucked around with the code so many times i've lost track which of my files have which codes in anymore.
for a long time now, i've been endeavoring to create an Orbital or "reverse elasticity" effect, in which clips will speed up the closer they are to the mouse, instead of speeding up when they are far away. i assumed, logically, that such a code could be created by inverting the elasticity code's formulas. surprise surprise... it didnt work, the MC just sped away from the mouse, right off the screen...
ive tried everything, ive messed with the speed and inertia variables, ive changed the signs, changed the code completely, nothing seems to work, and i have no idea how to get my desired effect...
if anyone could see what im doing wrong, or help in any way, i will be extremely greatful, thanks :D