I often take a deeper look into the java4k games in common, as well as in yours in general. Mainly to get rid of the space monster, but also to simplify the controls (more mouse interactions).
Anyway i got stuck in a common problem i always have and somehow unable to understand.
You use a lot of continue instructions and they are all something like this
while/for loop {
..
instruction
continue;
instruction
..
} //while/for loop
I know how to deal with break/continue commands, but i have no idea what should happen if you add a continue in a loop with no statement limiting the continue execution.
From what i know is that continue breaks the instruction chain and moves back to the loop, while break breaks out of the loop.
But what is if you add a continue like the way you did?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| while (i2 < i / 30) { if (i21 < 255) { arrayOfInt6[i21] = 4; arrayOfFloat1[i21] = ((i2 + 1) * 10 * 3); arrayOfFloat2[i21] = (i13 + 20); arrayOfFloat3[i21] = 0.0F; arrayOfFloat4[i21] = (128.0F * i1 * 0.85F); arrayOfFloat6[(i21++)] = 1.0F; } i2++; continue; i1 = 0; while (i1 < 2) |