Page 2 of 2

Re: while and repeat loops still cause errors

Posted: Tue Mar 02, 2021 5:36 pm
by MrFariator
I don't think that's exactly a good use case for repeat-until loops. You'd rather just have some basic control flow (or callbacks, whatever suits the situation) so the entire game doesn't come to a screeching halt just to process a key stroke. Remember, if you have an infinite loop in love.update, you're not yielding control back to the rest of the application, which can make the whole thing seem unresponsive if not outright crash.

Re: while and repeat loops still cause errors

Posted: Thu Mar 11, 2021 3:07 am
by friendpicksd
We need more people like you, Thanks! :awesome: