Ahh, Now theres something new learned. I've modified the code and it works. Thanks. :)
One quick question.
I've modified the generateballs function to create more balls. I want the balls to be created in a circle according to the position set for the angle in sin/cos. Am I on the right track because it doesn't appear to be working. Code below:
Imagine a ring of balls. Thats what I'm trying to create for a weopan.
One quick question.
I've modified the generateballs function to create more balls. I want the balls to be created in a circle according to the position set for the angle in sin/cos. Am I on the right track because it doesn't appear to be working. Code below:
Function generateBalls() dist = 100 tempAngle = 0 For Local iter:Int = 0 To 3 Local b:ball = New ball b.x = BXpos+Sin(tempAngle)*dist b.y = BYpos+Cos(tempAngle)*dist tempAngle:+32 ListAddLast ballList,(b) Next End Function
Imagine a ring of balls. Thats what I'm trying to create for a weopan.