diff --git a/assets/scripts/testComponents/TestBilliardsParent.ts b/assets/scripts/testComponents/TestBilliardsParent.ts index 4329ad9..9968e9e 100644 --- a/assets/scripts/testComponents/TestBilliardsParent.ts +++ b/assets/scripts/testComponents/TestBilliardsParent.ts @@ -8,7 +8,7 @@ export class TestBilliardsParent extends Component { for (let i = 0; i < this.node.children.length; i++) { let ball:TestBilliards = this.node.children[i].getComponent(TestBilliards); - ball.scrollSpeed = (i + 1); + ball.scrollSpeed = i % 4 + 1; let ax = i % 4; let ay = Math.floor(i / 4);