123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|719|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> icon 'flinging' ?

Sat, 08 Aug 2009, 15:42
spinal
OK, i have a simple menu, where using the cursor keys you can scroll left and right. I want to add the ability to fling the icons (left and right still) with the mouse. I know this is done with simple physics, like

speed = abs(mouse_start - mouse_release)
speed = speed - decay_rate
icon = icon + speed

But i couldn't get the two methods to play nice with each other. Can anyone offer any assistance?



-=-=-
Check out my excellent homepage!
Sat, 08 Aug 2009, 16:03
Phoenix


Is this what you mean?
Sat, 08 Aug 2009, 16:40
Phoenix


Misread your post. Perhaps this is better.
Sun, 09 Aug 2009, 09:19
spinal
Thats about it!

I redone it in C and added it to my project. Now just a couple more animations to do, then i release it

-=-=-
Check out my excellent homepage!