Search found 2 matches

by Blaza
Tue Sep 01, 2020 12:47 pm
Forum: Support and Development
Topic: Waiting for user input?
Replies: 5
Views: 6202

Re: Waiting for user input?

Ulhar, thank you for the code snippit. I didn't know that "if var then" would trigger when it is nill, thought it was boolean only. That is good to know, along with knowing the event callback about love.keypressed. RNavega thank you for the links, I will read up on them and go about implem...
by Blaza
Mon Aug 31, 2020 6:37 pm
Forum: Support and Development
Topic: Waiting for user input?
Replies: 5
Views: 6202

Waiting for user input?

Hello everyone, I am currently learning Love and was wondering if there was any way to wait for user input before proceeding on with the program? I was thinking of setting up a love.event.wait() until love.keypressed() ~= nill but I couldn't get it to work, presumably from syntax errors. Am I on the...