while and repeat loops still cause errors
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Party member
- Posts: 563
- Joined: Wed Oct 05, 2016 11:53 am
Re: while and repeat loops still cause errors
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.
-
- Prole
- Posts: 1
- Joined: Thu Mar 11, 2021 3:02 am
Re: while and repeat loops still cause errors
We need more people like you, Thanks!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests