So it now works - but it has a side effect of adding three balloons at once, and not one which isn't a huge issue as it just means there is more to play with, so that turned out pretty good!
Now I am focusing on the issue of the strings. They work ok, but the further right you go, the further left the bottom of the strings go when they are cut....below is me trying to sort it out, or play with the points, but I have figured out that the problem is because the x's etc are not connected to where they are, the if else statement used means that it isn't particular on where they sit on the x axis if that makes sense, so the first few balloons when cut look ok, but as your go progressively down the line, they start adding more and more to the else statement as numbers have been used, not variables. I'm unsure whether I can just assign variables in that area and fix the issue that way, or whether it is something to do with the code overall. EK.
BUT I did get the colour array to work after days of trying so I'm still stoked, now you can do this....
If the above didn't all go off to the left it might look better!







No comments:
Post a Comment