Input() problem
-
I'm pretty sure it's a bug because the problem is simple : input() doesn't work. The square where we can write appear and disapear, and sleep() is not a solution because we can't write during a sleep. here is an exemple, I precise that I didn't hit any button of course. I believe it was already reported and it'll be fixed in the next update, but I report it anyway.
Oh, and, why are my FPS so low ? That's weird too -
I think if you put something like
sleep(1)
at the start of your program, the problem withinput
will be resolved.
Alternatively, try something like this at the start of your program:print("Welcome to the fortune teller! Press A to ask me a question.\n") loop c = controls(0) if c.a then break endif repeat
-
Okay, sleep(1) worked ! So the problem is not in the input() but in the tutorial (the code in the video is not the mine, I copied/pasted from the tutorial)
-
Nice, glad you got it working!
The
input
function isn't supposed to be behaving the way it is, so this will be fixed in an update. Thanks for the bug report, and keep 'em coming! -
Thank you RaptorJesus!
I've had a couple of emails from users with this same bug. Will certainly be fixed in an update.