On Wandersing. You have the cool looking plants. I know how you make them move. BUT HOW YOU ADD THE CUTE LITTLE LEAF ON THE SIDE
That code's actually pretty junky and bs'ed. As it loops through the list of points travelled through to draw the vine, I do some really abstract calculations on the size of the list plus some magic numbers to arrive at a number between 0 and 1 that describes the animation for a leaf to sprout at the given spot.
Sorry, that's like... the best explanation I can give. I was going to paste the actual code but I looked at it again and it's so full of nonsense I think that would make matters worse, haha
Sorry, that's like... the best explanation I can give. I was going to paste the actual code but I looked at it again and it's so full of nonsense I think that would make matters worse, haha
