Semplicemente scrivi così:
questo farà sì che endZc1P1 sia compreso tra startZc1P1 e (startZc1P1 + 200).codice:on (release) { startZc1P1 = Math.floor(Math.random()*200)+1; endZc1P1 = Math.floor(Math.random()*200)+startZc1P1; }
Semplicemente scrivi così:
questo farà sì che endZc1P1 sia compreso tra startZc1P1 e (startZc1P1 + 200).codice:on (release) { startZc1P1 = Math.floor(Math.random()*200)+1; endZc1P1 = Math.floor(Math.random()*200)+startZc1P1; }