The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 ViewsEver wanted to make a true-to-life spring in flash? So did I. So I did.
You can see my first attempt here (use the mouse). If you have a look at it, it's kind of obvious that it's not acting too realistically. When you approach the object on the spring, the speed it moves away from you doesn't increase much - it's going very slowly, in fact. Also, it is prone to stretch a lot when you move your mouse away.
That got me thinking - how do springs work in real life? The more they are compressed or stretched, the harder it gets to compress or stretch them. As such, I made the force applied proportional to the distance from the mouse that the object is. I then chucked the whole thing in a class, and *tah dah*, you've got a fancy and Realistic Spring Effect.
So after 2 days of experimenting I've finally gotten what I wanted.
Randomini
Nice. Do you have any ideas of what you could do with it?
People who say CS4 is bad just don't understand it.
you could make a defense game with a spiked paddle ball as the weapon. =3
Response to "dumbest person you ever met" :
"Some girl I knew once forgot how to breath." -Dlxrevolution
Its buggy somehow, you might want to look into verlet integration.
At 3/14/09 10:41 PM, KnightInShiningArmor wrote: Nice. Do you have any ideas of what you could do with it?
Oh, I dunno... a little something like THIS!!!
(arrow keys to move)
(i know it sucks right now)
At 3/14/09 11:56 PM, KevnSevn wrote: You should try to add a gravity effect to it.
Yeah, gravity's the obvious next step.
Try making 5 or 6 of them all in a line, to get like a rope effect.
I did that, but it wobbles like crazy. A spring on a spring on a spring on a spring isn't the most stable of constructions :D
Make a virtual paddle ball.
At 3/14/09 11:50 PM, Randomini wrote: (i know it sucks right now)