is there a way of having the computer generate a random layout from a selected few,
example layouts
main menu
options
lvl 1
lvl 2
lvl 3
lvl 4
I want the computer to choose random layout from (lvl 1-lvl 4) not main menu or options
go to layout (by name) "lvl "&floor(random(4)+1)
Thank you very much, I shall try this now
Apologies, I tried but not working.
Do I have to name my layouts with just numbers no words for this to work?
Develop games in your browser. Powerful, performant & highly capable.
got it, took out the spaces
instead of (lvl 1) I changed to (lvl1) and it worked perfectly.
code I used in case anyone is having same problem
"lvl" & floor(random(1,6))
Thanks for your help yann