Alaric Mustoe wrote:so
if(boolean is set to true)...
No, you're still trying to program it.
Describe the
problem to us; don't tell us how you want to
solve it - because that clearly isn't working.
Something along the lines that you did earlier: "Can you help me to move these 2 lines of enemies over to the right 10 down 10 then over to the left 10 and then down 10".
But we need to know ALL the rules before we can help you much.
If you already have a formal explanation of the game written out, show it to us - and if not, I suggest you start on it before you write
one more line of code.
Also, a few questions:
1. If your battlefield is restricted, what do you want to happen if the
rightmost enemy in the line
can't move right 10?
2. You also appear to have some obstacles. How to they affect your line movement?
Winston