Ok I have worked it out.
I have structured my code like this
for a = 1 to 6 step 1
make object cube a,8
position object a,boxx,10,boxy
boxx=boxx+20
if boxx=580 then boxx=boxx-20
next a
I have done that six times round to fill my pitch with blocks.
Now my only problem is with collisions.
I have collisions with the outside walls of the pitch but how am I going to do the same for the blocks using the
and the
if object collision(?,?) then...
doesn't seem to work.
Any help would be good.
Our aim is to keep the loo's clean, your aim can help.