Here I come:http://dl.dropbox.com/u/26932498/electric.cap
I used r0j0hounds ribbon example as a base. I could use lines instead of, but for now, this is what I've got. The sprite is from the electric demo on the site as you maybe already recognized^^
What I still need to do is:
1) If I drag the last box, I need to rearrange the other ones relative to the first+last so it's again "one line".
2) I want the y position of each point, beeing max distance to the next one = $variable(for example 50), so if the first one is on self.y + 45, the next one couldn't be self.y - 10 or lower. Because the max different is 50 and 45 - 50 = -5.
If that works, it looks much better and not that...(insert adjective here)
I hope my explanation was good enough, since I still need to improve my english ><
edit: Just talked with tulamide and he says, it's possible with his splines: http://www.scirra.com/forum/advanced-interpolation-splines_topic49366.html
. Since this math is a bit too high for me, maybe someone else knows?
Normally I don't let the work do by other :/ really, but this is just too heavy^^.zyblade2012-05-27 18:41:22