Computer Science Canada For loop question |
Author: | mike200015 [ Mon May 23, 2005 11:48 am ] |
Post subject: | For loop question |
i have a for loop in my game that goes from 1..56. I need it to change to 1..156 if a person is on level 3. Whats the best way to do that? Should i make it a variable and change depending on the level? |
Author: | Cervantes [ Mon May 23, 2005 12:33 pm ] |
Post subject: | Re: For loop question |
mike200015 wrote: Should i make it a variable and change depending on the level?
That would be the optimal method, yes. |