Navigation

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

    My Text Adventure

    Work In Progress
    13
    50
    3386
    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.
    • Jongjungbu
      Jongjungbu F last edited by Jongjungbu

      This post is deleted!
      1 Reply Last reply Reply Quote 11
      • lawyerlounge
        lawyerlounge last edited by

        How are you doing input without the big box that pops up?

        pianofire Jongjungbu 2 Replies Last reply Reply Quote 0
        • pianofire
          pianofire Fuze Team @lawyerlounge last edited by

          @lawyerlounge I expect they are using this: https://fuzearena.com/help/view/getKeyboardBuffer

          1 Reply Last reply Reply Quote 0
          • Jongjungbu
            Jongjungbu F @lawyerlounge last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 3
            • Jongjungbu
              Jongjungbu F last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • lawyerlounge
                lawyerlounge last edited by

                so you check for each example with "if == "'s and "elseif =="'s?

                1 Reply Last reply Reply Quote 0
                • lawyerlounge
                  lawyerlounge last edited by

                  also in the video on line 25 "createRooms(). is that a function? and does it pretty much act like a gosub, and find that function - wherever in the code, run the lines, then return to line 25?

                  M Jongjungbu 2 Replies Last reply Reply Quote 0
                  • M
                    MikeDX @lawyerlounge last edited by

                    @lawyerlounge said in My Text Adenture:

                    also in the video on line 25 "createRooms(). is that a function? and does it pretty much act like a gosub, and find that function - wherever in the code, run the lines, then return to line 25?

                    That's exactly how functions work, but you can pass and return values to them

                    A gosub is a function with no arguments and no return value like this:

                    function something()
                     /// my gosub lines are here!
                    return void
                    
                    1 Reply Last reply Reply Quote 0
                    • Jongjungbu
                      Jongjungbu F @lawyerlounge last edited by Jongjungbu

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • lawyerlounge
                        lawyerlounge last edited by

                        x = 0
                        something()

                        function something()
                        while x < 2 loop
                        clear(black)
                        print( "hello world" )
                        update()
                        x += 1
                        sleep(1)
                        repeat
                        return void

                        So that code would display "hello world" wait 1 sec, clear to black, display "hello world" again, wait 1 sec, then end?

                        Also how do you display code in the comments on here like you did, and when would be a scenario when you would return a value after a function? like "return x"?

                        Jongjungbu 1 Reply Last reply Reply Quote 0
                        • M
                          MikeDX last edited by

                          If you add backticks (3 of these `) around your code it will

                          appear like this! :)
                          
                          1 Reply Last reply Reply Quote 1
                          • Jongjungbu
                            Jongjungbu F @lawyerlounge last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • Jongjungbu
                              Jongjungbu F last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 1
                              • Jongjungbu
                                Jongjungbu F last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 6
                                • Jaywalker
                                  Jaywalker Donator last edited by

                                  Awesome work man!

                                  1 Reply Last reply Reply Quote 1
                                  • RiskyCrimson
                                    RiskyCrimson F last edited by

                                    Sick I love the sounds it adds to the gameplay.

                                    Jongjungbu 1 Reply Last reply Reply Quote 2
                                    • Jongjungbu
                                      Jongjungbu F @RiskyCrimson last edited by

                                      This post is deleted!
                                      jetrocker7 1 Reply Last reply Reply Quote 0
                                      • jetrocker7
                                        jetrocker7 @Jongjungbu last edited by

                                        @Jongjungbu how do i get the demo?

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

                                          @jetrocker7 Add @Jongjungbu as a friend on your switch (the friend code is in their post) and then go to "Friends" within the Fuze app, select Jongjungbu and you will see their shared content. Basically the same way you see anyone's shared content in Fuze

                                          jetrocker7 1 Reply Last reply Reply Quote 2
                                          • jetrocker7
                                            jetrocker7 @Martin last edited by

                                            @Martin ohhh ok thx, i feel dumb. ;^w^

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