How to make construct pick random number between 1 and 2? It's random(2), right? But it looks that it also pick 0, does it?
Develop games in your browser. Powerful, performant & highly capable.
random() is 0-based, so yes. 1+random(2) will give 1 or 2.