Re: Fast Loops - What, When And Why?
You can start a loop for -1 times. It will then go on and on. It *will* eventually stop, but you can easily see it as being nearly infinite.
dmcclure:
All 'false events' (ones that aren't triggered) can be seen as a single fastloop that runs 50 times pr second - after each loop it redraws the screen. So in a way the game already does this in a fastloop-style way, but manual fastloops are your option to do some more complex stuff than what already happens automatically for you :)
Re: Fast Loops - What, When And Why?
@Dynasoft: Sorry, that was a bad example. ^_^' I guess I should have clarified that if you want to fire any kind of bullet spread, fastloops are the way to go. Firing a single bullet doesn't need them. I tend to overuse fastloops because I ALWAYS come to a point in making my games where I need them. So working them into my code structure early often helps me. But I digress...
Mobichan