Can anybody help in telling me the difference between these two commands ?
ballDx = math.random(2) == 1 and 100 or -100
why its equal to 1 ?
ballDy = math.random(-50, 50)
and here it's just two numbers.
Help will be appreciated. Thanks
Search found 1 match
- Wed May 16, 2018 9:11 am
- Forum: Support and Development
- Topic: need help !
- Replies: 15
- Views: 10276