user pedrokost
pedrokost (5)

Multiple Target Spring

Drag the Blue Circles.
1221 downloads, 19382 views

spring circles elastic


Download (8.20 KB)

Comments

You need to login to post a comment.

user bhavesh_bhanshe
bhavesh_bhanshe 3 years ago

nice

user jstudio99
jstudio99 10 years ago

Wow!! in my time this would take a month of caculus to program

user nanoffiles
nanoffiles 10 years ago

fernando, azballe and ikiyanay.... The autor provide you the first tool (this great file) and you can developed de rest.. Put you imagiunation to work, maybe you can see the point...

Congratulations, Pedrokost... Good job

user pedrokost
the listing author pedrokost 10 years ago

Actually it is just an experiment with "springing", but it can be used in different occasions.
Take for example a game so that the red ball is a human and the blue dots are horses pulling him apart (like in circuses in ancient Rome)
You can also remove one blue dot and create a game with the aim to balance the red dot in the center or you loose (you need to add something like wind to make the red ball move away from the center...)
Why do you mean what variable i am using?
private var spring:Number = 0.1; //change the amount of elasticity
private var friction:Number = 0.9; //affects the time to come to rest
private var numHandles:Number = 3; //you can simply add any number of blue dots by changing this number. If you need it you can create 500 handlers :P

user ikiyamay
ikiyamay 10 years ago

Amazing~

show all 7 comments