Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Input() problem

    Bug Reporting (FUZE 4 Nintendo Switch)
    3
    5
    254
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RaptorJésus
      RaptorJésus last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Willpowered
        Willpowered Fuze Team last edited by

        I think if you put something like sleep(1) at the start of your program, the problem with input 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
        
        1 Reply Last reply Reply Quote 0
        • RaptorJésus
          RaptorJésus last edited by RaptorJésus

          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)

          1 Reply Last reply Reply Quote 0
          • Willpowered
            Willpowered Fuze Team last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • Dave
              Dave Fuze Team last edited by

              Thank you RaptorJesus!

              I've had a couple of emails from users with this same bug. Will certainly be fixed in an update.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post